Skip to content

Commit

Permalink
black reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ashjbarnes committed Sep 20, 2023
1 parent 4c9e8ea commit 1e86b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,9 @@ def bathymetry(
bathy = xr.open_dataset(bathy_path, chunks=chunks)[varnames["elevation"]]

bathy = bathy.sel(
{varnames["yh"]: slice(self.yextent[0] - 1, self.yextent[1] + 1)} #! Hardcoded 1 degree buffer around bathymetry selection. Should automatically select buffer in future
{
varnames["yh"]: slice(self.yextent[0] - 1, self.yextent[1] + 1)
} #! Hardcoded 1 degree buffer around bathymetry selection. Should automatically select buffer in future
).astype("float")

## Here need to make a decision as to whether to slice 'normally' or with nicer slicer for 360 degree domain.
Expand Down
2 changes: 0 additions & 2 deletions tests/test_expt_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def test_bathymetry(
import xarray as xr



@pytest.mark.parametrize(
(
"xextent",
Expand Down Expand Up @@ -211,7 +210,6 @@ def test_ocean_forcing(
}
)


# Generate boundary forcing

eastern_boundary = xr.Dataset(
Expand Down

0 comments on commit 1e86b7d

Please sign in to comment.