### Install sentineleof using pip Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Install the sentineleof package using pip. This command makes the `eof` executable available on your system's PATH. ```bash pip install sentineleof ``` -------------------------------- ### Install sentineleof using conda Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Install the sentineleof package from conda-forge. This command makes the `eof` executable available on your system's PATH. ```bash conda install -c conda-forge sentineleof ``` -------------------------------- ### Sentinelleof CLI Help Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Displays all available options and usage instructions for the Sentinelleof command-line tool. Use this to understand the full range of parameters for downloading orbit files. ```bash $ eof --help Usage: eof [OPTIONS] Download Sentinel precise orbit files. Saves files to `save-dir` (default = current directory) Download EOFs for specific date, or searches for Sentinel files in --path. Will find both ".SAFE" and ".zip" files matching Sentinel-1 naming convention. With no arguments, searches current directory for Sentinel 1 products Options: -p, --search-path DIRECTORY Path of interest for finding Sentinel products. [default: .] --save-dir DIRECTORY Directory to save output .EOF files into [default: .] --sentinel-file PATH Specify path to download only 1 .EOF for a Sentinel-1 file/folder -d, --date TEXT Alternative to specifying Sentinel products: choose date to download for. -m, --mission [S1A|S1B|S1C] If using `--date`, optionally specify Sentinel satellite to download (default: gets S1A, S1B, and S1C) --orbit-type [precise|restituted] Optionally specify the type of orbit file to get (default: precise (POEORB), but fallback to restituted (RESORB)) --force-asf Force the downloader to search ASF instead of ESA. --debug Set logging level to DEBUG --cdse-access-token TEXT Copernicus Data Space Ecosystem access- token. The access token can be generated beforehand. See https://documentation.datasp ace.copernicus.eu/APIs/Token.html --cdse-user TEXT Copernicus Data Space Ecosystem username. If not provided the program asks for it --cdse-password TEXT Copernicus Data Space Ecosystem password. If not provided the program asks for it --cdse-2fa-token TEXT Copernicus Data Space Ecosystem Two-Factor Token. Optional, unless 2FA Authentification has been enabled in user profile. --ask-password ask for passwords interactively if needed --update-netrc save credentials provided interactively in the ~/.netrc file if necessary --netrc-file TEXT Path to .netrc file. Default: ~/.netrc --max-workers INTEGER Number of parallel downloads to run. Note that CDSE has a limit of 4 --help Show this message and exit. ``` -------------------------------- ### Run sentineleof with custom paths Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Use the `eof` command with `--search-path` to specify a directory containing Sentinel-1 scenes and `--save-dir` to define where the orbit files should be saved. The save directory will be created if it doesn't exist. ```bash eof --search-path /path/to/safe_files/ --save-dir ./orbits/ ``` -------------------------------- ### Download EOFs using Python API Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Demonstrates how to use the `download_eofs` function from the `eof.download` module. Supports passing dates as datetime objects or strings, and optionally specifying the Sentinel mission. ```python from eof.download import download_eofs download_eofs([datetime.datetime(2018, 5, 3, 0, 0, 0)]) ``` ```python download_eofs(['20180503', '20180507'], ['S1A', 'S1B', 'S1C']) ``` -------------------------------- ### Run sentineleof to download orbit files Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Execute the `eof` command to download precise or restituted orbit files. If POEORB files are not available, it will automatically download RESORB files. Ensure your `~/.netrc` is configured for CDSE authentication. ```bash eof ``` -------------------------------- ### Configure .netrc for CDSE Authentication Source: https://github.com/scottstanie/sentineleof/blob/master/README.md Store your Copernicus Data Space Ecosystem username and password in a `~/.netrc` file for authentication. This is required for using CDSE-provided orbits. ```shell machine dataspace.copernicus.eu login MYUSERNAME password MYPASSWORD ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.