Skip to content

Commit

Permalink
'zstag' loads with name 'height'
Browse files Browse the repository at this point in the history
same as normal 'height'
  • Loading branch information
zmoon committed Sep 19, 2024
1 parent 8f981eb commit 294a659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monetio/models/_wrfchem_mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def open_mfdataset(
var_wrf = getvar(
wrflist, var, timeidx=ALL_TIMES, method="cat", squeeze=False, units="m"
)
if var == "zstag":
var_wrf = var_wrf.rename("zstag")
else:
var_wrf = getvar(wrflist, var, timeidx=ALL_TIMES, method="cat", squeeze=False)
var_wrf_list.append(var_wrf)
Expand Down

0 comments on commit 294a659

Please sign in to comment.