From 294a6599797699f758eed0ca67f83b2b70420020 Mon Sep 17 00:00:00 2001 From: zmoon Date: Thu, 19 Sep 2024 16:18:48 -0500 Subject: [PATCH] 'zstag' loads with name 'height' same as normal 'height' --- monetio/models/_wrfchem_mm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monetio/models/_wrfchem_mm.py b/monetio/models/_wrfchem_mm.py index 5ff5be06..4b583719 100644 --- a/monetio/models/_wrfchem_mm.py +++ b/monetio/models/_wrfchem_mm.py @@ -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)