ost.helpers.asf_wget¶
This module provides functions for connecting and downloading from Alaska satellite Faciltity’s Vertex server
Functions
A helper function to check if a connection can be established |
|
This function will download S1 products from ASF mirror. |
Classes
A class that helps connect to NASA's Earthdata |
- ost.helpers.asf_wget.batch_download(inventory_df, download_dir, uname, pword, concurrent=10)[source]¶
- ost.helpers.asf_wget.check_connection(uname, pword)[source]¶
A helper function to check if a connection can be established
- Args:
uname: username of ASF Vertex server pword: password of ASF Vertex server
- Returns
int: status code of the get request
- ost.helpers.asf_wget.s1_download(argument_list)[source]¶
This function will download S1 products from ASF mirror.
- Parameters
url – the url to the file you want to download
filename – the absolute path to where the downloaded file should be written to
uname – ESA’s scihub username
pword – ESA’s scihub password
- Returns