Skip to content

Commit

Permalink
format black
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Feb 16, 2024
1 parent c8f5f87 commit a9366ef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,9 +1128,9 @@ def bathymetry(
} #! Hardcoded 1 degree buffer around bathymetry selection. TODO: automatically select buffer
)

bathy.attrs[
"missing_value"
] = -1e20 # This is what FRE tools expects I guess?
bathy.attrs["missing_value"] = (
-1e20
) # This is what FRE tools expects I guess?
bathyout = xr.Dataset({"elevation": bathy})
bathy.close()

Expand All @@ -1139,9 +1139,9 @@ def bathymetry(
bathyout.lat.attrs["units"] = "degrees_north"
bathyout.elevation.attrs["_FillValue"] = -1e20
bathyout.elevation.attrs["units"] = "m"
bathyout.elevation.attrs[
"standard_name"
] = "height_above_reference_ellipsoid"
bathyout.elevation.attrs["standard_name"] = (
"height_above_reference_ellipsoid"
)
bathyout.elevation.attrs["long_name"] = "Elevation relative to sea level"
bathyout.elevation.attrs["coordinates"] = "lon lat"
bathyout.to_netcdf(
Expand Down

0 comments on commit a9366ef

Please sign in to comment.