nakas Claude commited on
Commit
48e63c4
·
1 Parent(s): 8d7a914

Upgrade to Python 3.11 and restore all datasets

Browse files

- Set python_version: 3.11 in README metadata
- Restore NOAA HRRR dataset with zarr v3 support
- Update xarray and zarr to required versions
- Now supports all 5 datasets from Dynamical catalog

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (3) hide show
  1. README.md +1 -0
  2. app.py +5 -4
  3. requirements.txt +2 -2
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
  sdk_version: 5.47.2
 
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
5
  colorTo: gray
6
  sdk: gradio
7
  sdk_version: 5.47.2
8
+ python_version: 3.11
9
  app_file: app.py
10
  pinned: false
11
  license: mit
app.py CHANGED
@@ -12,25 +12,26 @@ CATALOG = {
12
  "NOAA GFS Analysis (Hourly)": {
13
  "url": "https://data.dynamical.org/noaa/gfs/analysis-hourly/[email]",
14
  "type": "analysis",
15
- "zarr_version": 2,
16
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m", "mean_sea_level_pressure"]
17
  },
18
  "NOAA GFS Forecast": {
19
  "url": "https://data.dynamical.org/noaa/gfs/forecast/",
20
  "type": "forecast",
21
- "zarr_version": 2,
22
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m", "mean_sea_level_pressure"]
23
  },
24
  "NOAA GEFS Analysis": {
25
  "url": "https://data.dynamical.org/noaa/gefs/analysis/[email]",
26
  "type": "analysis",
27
- "zarr_version": 2,
28
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m"]
29
  },
30
  "NOAA GEFS Forecast (35-day)": {
31
  "url": "https://data.dynamical.org/noaa/gefs/forecast-35-day/[email protected]",
32
  "type": "forecast",
33
- "zarr_version": 2,
 
 
 
 
34
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m"]
35
  }
36
  }
 
12
  "NOAA GFS Analysis (Hourly)": {
13
  "url": "https://data.dynamical.org/noaa/gfs/analysis-hourly/[email]",
14
  "type": "analysis",
 
15
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m", "mean_sea_level_pressure"]
16
  },
17
  "NOAA GFS Forecast": {
18
  "url": "https://data.dynamical.org/noaa/gfs/forecast/",
19
  "type": "forecast",
 
20
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m", "mean_sea_level_pressure"]
21
  },
22
  "NOAA GEFS Analysis": {
23
  "url": "https://data.dynamical.org/noaa/gefs/analysis/[email]",
24
  "type": "analysis",
 
25
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m"]
26
  },
27
  "NOAA GEFS Forecast (35-day)": {
28
  "url": "https://data.dynamical.org/noaa/gefs/forecast-35-day/[email protected]",
29
  "type": "forecast",
30
+ "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m"]
31
+ },
32
+ "NOAA HRRR Forecast (48-hour)": {
33
+ "url": "https://data.dynamical.org/noaa/hrrr/forecast-48-hour/[email protected]",
34
+ "type": "forecast",
35
  "variables": ["temperature_2m", "precipitation", "wind_u_10m", "wind_v_10m"]
36
  }
37
  }
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  gradio==5.47.2
2
- xarray
3
- zarr
4
  fsspec
5
  aiohttp
6
  s3fs
 
1
  gradio==5.47.2
2
+ xarray>=2025.1.2
3
+ zarr>=3.0.8
4
  fsspec
5
  aiohttp
6
  s3fs