LAADS DAAC¶
pansat.download.providers.laads_daac¶
This module provides a data provider for files from the The Level-1 and Atmosphere Archive & Distribution System (LAADS) Distributed Active Archive Center (DAAC).
Reference¶
- class pansat.download.providers.laads_daac.LAADSDAACProvider(product)¶
Dataprovider class for for products available from the gpm1.gesdisc.eosdis.nasa.gov domain.
- __init__(product)¶
Create new GesDisc provider.
- Parameters:
product – The product to download.
- property _request_string¶
The URL containing the data files for the given product.
- download_file(filename, destination)¶
Download file from data provider.
- Parameters:
filename (
str) – The name of the file to download.destination (
strorpathlib.Path) – path to directory where the downloaded files should be stored.
- classmethod get_available_products()¶
Return the names of products available from this data provider.
- Returns:
A list of strings containing the names of the products that can be downloaded from this data provider.
- get_files_by_day(year, day)¶
Return list of available files for a given day of a year.
- Parameters:
year (
int) – The year for which to look up the files.day (
int) – The Julian day for which to look up the files.
- Returns:
A list of strings containing the filename that are available for the given day.