earth2studio.data.PlanetaryComputerSentinel3AOD#
- class earth2studio.data.PlanetaryComputerSentinel3AOD(cache=True, verbose=True, max_workers=24, request_timeout=60, max_retries=4, async_timeout=600)[source]#
Sentinel-3 SYNERGY Level-2 aerosol optical depth and surface reflectance.
- Parameters:
cache (bool, optional) – Cache data source on local memory, by default True
verbose (bool, optional) – Whether to print progress information, by default True
max_workers (int, optional) – Upper bound on concurrent download and processing tasks, by default 24
request_timeout (int, optional) – Timeout (seconds) applied to individual HTTP requests, by default 60
max_retries (int, optional) – Maximum retry attempts for transient network failures, by default 4
async_timeout (int, optional) – Time in sec after which download will be cancelled if not finished successfully, by default 600
Note
Additional information on the data repository can be referenced here:
- __call__(time, variable)#
Function to get data
- Parameters:
time (datetime | list[datetime] | TimeArray) – Timestamps to return data for (UTC).
variable (str | list[str] | VariableArray) – String, list of strings or array of strings that refer to variables to return. Must be in the ARCO lexicon.
- Returns:
Data array from planetary computer
- Return type:
xr.DataArray
- async fetch(time, variable)#
Async function to get data
- Parameters:
time (datetime | list[datetime] | TimeArray) – Timestamps to return data for (UTC).
variable (str | list[str] | VariableArray) – String, list of strings or array of strings that refer to variables to return. Must be in the data source’s lexicon.
- Returns:
Plantary computer data array
- Return type:
xr.DataArray