ost.s1.download¶
Module for batch download of Sentinel-1 based on OST inventory
This module handles the download of Sentinel-1, offering download capabilities from different servers such as Copernicus Scihub, Alaska Satellite Facility’s vertex as well as PEPS from CNES.
Functions
Function to download Sentinel-1 with choice of data repository |
|
Create the OST download directory structure from downloaded files |
- ost.s1.download.download_sentinel1(inventory_df, download_dir, mirror=None, concurrent=2, uname=None, pword=None)[source]¶
Function to download Sentinel-1 with choice of data repository
- Parameters
inventory_df (GeoDataFrame) – OST inventory dataframe
download_dir (Path) – high-level download directory
mirror (int) –
number of data repository
1 - Scihub
2 - ASF
3 - PEPS
4 - ONDA
concurrent (int) – number of parallel downloads
uname (str) – username for respective data repository
pword (str) – password for respective data repository
- ost.s1.download.restore_download_dir(input_directory, download_dir)[source]¶
Create the OST download directory structure from downloaded files
In case data is already downloaded to a single folder, this function can be used to create a OST compliant structure of the download directory.
- Parameters
input_directory (str/Path) – the directory, where the downloaded files are located
download_dir (str/Path) – the high-level directory compliant with OST