Skip to content

Commit a4a2466

Browse files
ENH: list NOAA atmosphere datasets and fetch latest (#660)
1 parent 60ae36d commit a4a2466

3 files changed

Lines changed: 589 additions & 0 deletions

File tree

‎rocketpy/environment/fetchers/__init__.py‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,19 @@
3232
fetch_open_meteo_ensemble,
3333
fetch_open_meteo_forecast,
3434
)
35+
from rocketpy.environment.fetchers.noaa_catalog import (
36+
FORECAST_MODELS_CATALOG_URL,
37+
NOAA_MODEL_COLLECTIONS,
38+
THREDDS_OPENDAP_ROOT,
39+
build_noaa_opendap_url,
40+
collection_catalog_url,
41+
fetch_latest_noaa_dataset,
42+
get_latest_noaa_dataset_identifier,
43+
get_latest_noaa_opendap_url,
44+
list_noaa_atmosphere_datasets,
45+
list_noaa_dataset_identifiers,
46+
resolve_noaa_collection_path,
47+
)
3548
from rocketpy.environment.fetchers.opendap_fetchers import (
3649
fetch_aigfs_file_return_dataset,
3750
fetch_cmc_ensemble,
@@ -51,18 +64,23 @@
5164

5265
__all__ = [
5366
"MAX_RETRY_DELAY_SECONDS",
67+
"FORECAST_MODELS_CATALOG_URL",
5468
"METEOMATICS_BASE_URL",
5569
"METEOMATICS_LOGIN_URL",
5670
"METEOMATICS_TIMEOUT_SECONDS",
71+
"NOAA_MODEL_COLLECTIONS",
5772
"OPEN_METEO_ENSEMBLE_MODELS",
5873
"OPEN_METEO_ENSEMBLE_URL",
5974
"OPEN_METEO_FORECAST_URL",
6075
"OPEN_METEO_HISTORICAL_START_DATE",
6176
"OPEN_METEO_HISTORICAL_URL",
6277
"OPEN_METEO_PRESSURE_LEVELS",
6378
"OPEN_METEO_TIMEOUT_SECONDS",
79+
"THREDDS_OPENDAP_ROOT",
6480
"MeteomaticsFetcher",
6581
"build_hourly_variables",
82+
"build_noaa_opendap_url",
83+
"collection_catalog_url",
6684
"fetch_aigfs_file_return_dataset",
6785
"fetch_atmospheric_data_from_meteomatics",
6886
"fetch_atmospheric_data_from_windy",
@@ -71,15 +89,21 @@
7189
"fetch_gfs_file_return_dataset",
7290
"fetch_hiresw_file_return_dataset",
7391
"fetch_hrrr_file_return_dataset",
92+
"fetch_latest_noaa_dataset",
7493
"fetch_meteomatics_token",
7594
"fetch_nam_file_return_dataset",
7695
"fetch_open_elevation",
7796
"fetch_open_meteo_ensemble",
7897
"fetch_open_meteo_forecast",
7998
"fetch_rap_file_return_dataset",
8099
"fetch_wyoming_sounding",
100+
"get_latest_noaa_dataset_identifier",
101+
"get_latest_noaa_opendap_url",
102+
"list_noaa_atmosphere_datasets",
103+
"list_noaa_dataset_identifiers",
81104
"logger",
82105
"netCDF4",
83106
"requests",
107+
"resolve_noaa_collection_path",
84108
"time",
85109
]

0 commit comments

Comments
 (0)