Skip to content

Commit 0c24234

Browse files
committed
fix(jra): switch to h5netcdf as netcdf engine
1 parent a2661be commit 0c24234

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ dependencies = [
4343
"pyhdf~=0.11.6", #only for modis_downloader
4444
"cdsapi~=0.7.7", #only for cds_downloader
4545
"ecmwf-opendata~=0.3.24", #only for ecmwf_opendata_downloader
46+
"aiohttp~=3.13.3",
47+
"pydap~=3.5.9",
4648
"paramiko~=4.0.0",
4749
"dask~=2025.11.0"
4850
]

src/door/data_sources/jra/jra_downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _get_data_ts(self,
158158

159159
# open the monthly file
160160
url = self.format_url(**tags)
161-
raw_data = xr.open_dataset(url, engine = 'netcdf4')
161+
raw_data = xr.open_dataset(url, engine = 'pydap')
162162
self.cached_data = {this_month: raw_data}
163163

164164
# select the variable

0 commit comments

Comments
 (0)