This file contains hidden or 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
snap --modules --list --refresh --nogui --nosplash | |
/usr/local/snap/bin/../platform/lib/nbexec: WARNING: environment variable DISPLAY is not set | |
Refreshing SNAP Supported Plugins | |
Refreshing SNAP Core | |
Refreshing SNAP Toolboxes | |
Code Name Version State | |
-------------------------------------------------- -------- ---------------- | |
org.csa.rstb.rstb.op.polarimetric.tools 8.0.3 Enabled | |
org.esa.s2tbx.s2tbx.s2msi.reader 8.0.1 Upgrade to 8.0.2 | |
org.esa.snap.snap.temporal.percentile 8.0.3 Enabled |
This file contains hidden or 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 requests | |
from pathlib import Path | |
from datetime import date, timedelta | |
from requests.auth import HTTPBasicAuth | |
import xml.etree.ElementTree as ET | |
import os | |
def save_all_orbits(date_str, platformnumber, producttype, result_path, session): | |
base_url = f"https://scihub.copernicus.eu/gnss/search?q=platformname:Sentinel-1 AND platformnumber:{platformnumber} AND producttype:{producttype} AND beginposition:[{date_str}T00:00:000Z TO {date_str}T24:00:000Z]" |
This file contains hidden or 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
<graph id="Graph"> | |
<version>1.0</version> | |
<node id="Read"> | |
<operator>Read</operator> | |
<sources/> | |
<parameters class="com.bc.ceres.binding.dom.XppDomElement"> | |
<file>PATH_TO_INPUT/S1A_IW_GRDH_1SDV_20210608T175808_20210608T175833_038252_04839C_339D/manifest.safe</file> | |
</parameters> | |
</node> | |
<node id="Apply-Orbit-File"> |
OlderNewer