Skip to content

Commit

Permalink
Update RRFS-CMAQ reader for latest xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Dec 15, 2022
1 parent 0dc142b commit 1a78435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monetio/models/_rrfs_cmaq_mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def open_mfdataset(
dset["alt_msl_m_full"] = _calc_hgt(dset)

# Set coordinates
dset = dset.reset_index(
dset = dset.reset_coords(
["x", "y", "z", "z_i"], drop=True
) # For now drop z_i no variables use it.
dset["latitude"] = dset["latitude"].isel(time=0)
Expand Down

0 comments on commit 1a78435

Please sign in to comment.