Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 4f0899b

Browse files
authored
fix type hint ecmwf.py
1 parent 9b9a3e9 commit 4f0899b

File tree

1 file changed

+1
-1
lines changed
  • ocf_datapipes/load/nwp/providers

1 file changed

+1
-1
lines changed

ocf_datapipes/load/nwp/providers/ecmwf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def open_ifs(zarr_path) -> xr.DataArray:
2222
raise Exception("Too many TLDVs")
2323
else:
2424
dataVar = dataVars[0]
25-
ifs: xr.Dataset = nwp[dataVar]
25+
ifs: xr.DataArray = nwp[dataVar]
2626
del nwp
2727
ifs = ifs.transpose("init_time", "step", "variable", "latitude", "longitude")
2828
ifs = ifs.rename(

0 commit comments

Comments
 (0)