Providers¶
pansat.download.providers¶
The providers module provides classes to access online services that allow
downloading data. Objects of these data provider classes provide download access
for specific data products. For this, an object of the data provider class
must be instantiated with a given product object. If the product is available
from the data provider class, the resulting data provider instance can be used
to download files of the data product.
Example
from datetime import datetime
from pansat.download.provider.icare import IcareProvider
from pansat.products.satellite.cloud_sat import l1b_cpr
provider = IcareProvider(l1b_cpr)
t_0 = datetime(2016, 11, 21, 10)
t_1 = datetime(2016, 11, 21, 12)
files = provider.download(t_0, t_1)
- pansat.download.providers.ALL_PROVIDERS¶
List containing all available data provider classes. This list should be used by products to determine a data provider to use to download files.
Sub-Modules