Skip to content

Commit

Permalink
Fix v dimension ordering in roms extension (#39)
Browse files Browse the repository at this point in the history
* Fix v dimension ordering in roms extension

* Cleanup
  • Loading branch information
mpiannucci authored Jun 11, 2024
1 parent 664b3ed commit cc0b2ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xreds/extensions/roms.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def transform_dataset(self, ds: xr.Dataset, config: dict) -> xr.Dataset:
coords="minimal",
compat="override",
)
v_rho = v_rho.transpose(..., "eta_rho", "xi_rho")
v_rho["lat_rho"] = ds.lat_rho
v_rho["lon_rho"] = ds.lon_rho

Expand Down

0 comments on commit cc0b2ed

Please sign in to comment.