pycontrails.datalib.dwd.ods¶
DWD Open Data Server utilities.
Functions
|
Get data file from Open Data Server. |
|
Get path to remote latitude file for global icosahedral grid. |
|
Get path to remote longitude file for global icosahedral grid. |
|
List forecast steps available for a given forecast cycle. |
|
List available forecast cycles. |
|
Get URL remote data file. |
- pycontrails.datalib.dwd.ods.get(rpath, lpath)¶
Get data file from Open Data Server.
- pycontrails.datalib.dwd.ods.global_latitude_rpath(forecast)¶
Get path to remote latitude file for global icosahedral grid.
- Parameters:
forecast (
datetime) – Start time of forecast cycle.- Returns:
str– URL of grib file with cell-center latitudes
- pycontrails.datalib.dwd.ods.global_longitude_rpath(forecast)¶
Get path to remote longitude file for global icosahedral grid.
- Parameters:
forecast (
datetime) – Start time of forecast cycle.- Returns:
str– URL of grib file with cell-center longitudes
- pycontrails.datalib.dwd.ods.list_forecast_steps(domain, forecast)¶
List forecast steps available for a given forecast cycle.
- Parameters:
domain (
str) – ICON domain. Must be one of “global”, “europe”, or “germany”.forecast (
datetime) – Start time of forecast cycle.
- Returns:
list[datetime]– Times of available forecast steps. If no data is available for the specified forecast cycle a warning is issued and an empty list is returned.
- pycontrails.datalib.dwd.ods.list_forecasts(domain)¶
List available forecast cycles.
- Parameters:
domain (
str) – ICON domain. Must be one of “global”, “europe”, or “germany”.- Returns:
list[datetime]– Start time of available forecast cycles