Skip to content

Commit

Permalink
Update wrfchem reader for latest xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwant authored and zmoon committed Dec 15, 2022
1 parent 683e847 commit 0dc142b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monetio/models/_wrfchem_mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def open_mfdataset(
if "pm25_om" in list_calc_sum:
dset = add_lazy_om_pm25(dset, dict_sum)

dset = dset.reset_index(["XTIME", "datetime"], drop=True)
dset = dset.reset_coords(["XTIME", "datetime"], drop=True)
if not surf_only_nc:
# Reset more variables
dset = dset.rename(
Expand Down

0 comments on commit 0dc142b

Please sign in to comment.