Skip to content

Commit

Permalink
Merge pull request #195 from zmoon/hgt
Browse files Browse the repository at this point in the history
Fix staggered height var name
  • Loading branch information
zmoon authored Sep 19, 2024
2 parents 8f981eb + 294a659 commit 8c7af1c
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 8c7af1c

Please sign in to comment.