Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Nov 14, 2023
1 parent f53c1e6 commit 39bb631
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,9 +1021,7 @@ def bathymetry(
topog = xr.open_dataset(self.mom_input_dir / "topog_raw.nc", engine="netcdf4")

## Ensure correct encoding
topog = xr.Dataset(
{"depth": (["ny", "nx"], topog["elevation"].values)}
)
topog = xr.Dataset({"depth": (["ny", "nx"], topog["elevation"].values)})
topog.attrs["depth"] = "meters"
topog.attrs["standard_name"] = "topographic depth at T-cell centers"
topog.attrs["coordinates"] = "zi"
Expand Down

0 comments on commit 39bb631

Please sign in to comment.