Product¶
pansat.products.product¶
This module provides the Product abstract base class which defines the general interface for objects representing data products.
-
class
pansat.products.product.Product¶ The abstract interface for satellite and reanalysis data products.
-
abstract
__str__()¶ Should return a string representation of the product name.
-
__weakref__¶ list of weak references to the object (if defined)
-
abstract property
default_destination¶ Default folder structure used to store results.
-
abstract
download(start_time, end_time, destination=None, provider=None)¶ Download data product for given time range.
- Parameters
start_time (
datetime) –datetimeobject defining the start date of the time range.end_time (
datetime) –datetimeobject defining the end date of the of the time range.destination (
strorpathlib.Path) – The destination where to store the output data.
-
abstract
filename_to_date(filename)¶ Extract data from filename.
- Parameters
filename (
str) – The filename.- Returns
datetimeobject corresponding to the date encoded in the filename.
-
abstract