Downloads Sentinel-1 orbit files from the Copernicus Sentinels POD Data Hub. The software can automatically detect Sentinel-1 files (zipped or unzipped) that conform to the Sentinel-1 naming convention. Alternatively the user can choose to download all orbit files for a given date range or download the full archive.
s1eof.py- main script to be run with Pythonutils/- download functionstests/- basic test routines
The first step is to clone the s1eof repository and check out the s1eof directory.
$ git clone https://github.com/njwag/s1eof.git
$ cd s1eofRun the following command to install dependencies from requirements.txt:
$ pip install -r path\to\requirements.txtUsing conda:
$ conda create --name s1eof
$ conda activate s1eof
$ pip install -r path\to\requirements.txtAlternatively, using conda you can install all required dependencies in a new environment called s1eof using the environment.yml file:
$ conda env create -f path\to\environment.ymlRun s1eof.py in the command line. You can either pass a start and end date using the -s and -e flags respectively. Alternatively, you can pass a Sentinel-1 directory using the -d flag containing Sentinel-1 files (zipped or unzipped) that follow the Sentinel-1 naming convention. Fitting orbit files will be identified and downloaded automatically.
The orbit directory (-o flag) is mandatory. This is where the downloaded orbit files will be stored.
$ s1eof.py [-h] [-d SENTINEL1 DIRECTORY] [-s START DATE] [-e END DATE] [-o] Orbit Directory$ python s1eof.py -h
usage: s1eof.py [-h] [-d SENTINEL1 DIRECTORY] [-s START DATE] [-e END DATE] [-o] Orbit Directory
Download Sentinel-1 orbit files
positional arguments:
Orbit Directory Location where orbit files will be stored
optional arguments:
-h, --help show this help message and exit
-d SENTINEL1 DIRECTORY, --Sentinel1 Directory SENTINEL1 DIRECTORY
Directory where S1 files are stored
-s START DATE, --Start date START DATE
Start date for orbit file search "YYYY-MM-DD"
-e END DATE, --End date END DATE
End date for orbit file search "YYYY-MM-DD"
-o, --overwrite Overwrite output file (if present). Default is False.Note: I do not control, guarantee, approve, or endorse the information or products available on the sites linked.