This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import * | |
from ctypes import util | |
from platform import mac_ver | |
import uuid | |
iokit = cdll.LoadLibrary(util.find_library('IOKit')) | |
cf = cdll.LoadLibrary(util.find_library('CoreFoundation')) | |
cf.CFStringCreateWithCString.argtypes = [c_void_p, c_char_p, c_int32] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import socket | |
import fcntl | |
import struct | |
import sys | |
SIOCSKEVFILT = 0x800c6502 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//VERSION=3 | |
// Ship detection with S1 and S2 | |
// Original source: https://custom-scripts.sentinel-hub.com/custom-scripts/data-fusion/ship_detection_s1_s2/script.js | |
// Original author: Monja B. Šebela | |
// Fork author: Pontus J. Karlsson | |
function setup() { | |
return { | |
input: [ | |
{datasource: "S2L1C", bands:["B02", "B03", "B04", "B08"], mosaicking: "ORBIT"}, |
OlderNewer