Skip to content

Commit 7e21449

Browse files
committed
New Black
1 parent 7507c5c commit 7e21449

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

regional_mom6/regional_mom6.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def convert_to_tpxo_tidal_constituents(tidal_constituents):
8989
## Auxiliary functions
9090

9191

92-
9392
def get_glorys_data(
9493
longitude_extent,
9594
latitude_extent,
@@ -587,7 +586,7 @@ def _make_hgrid(self):
587586
leny=self.latitude_extent[1]
588587
- self.latitude_extent[0], # latitude extent in degrees
589588
name=self.expt_name,
590-
type="rectilinear_cartesian", # m6b name for even_spacing
589+
type="rectilinear_cartesian", # m6b name for even_spacing
591590
)
592591

593592
return self.grid.write_supergrid(self.mom_input_dir / "hgrid.nc")
@@ -1402,7 +1401,7 @@ def tidy_bathymetry(
14021401
self.mom_input_dir / "bathymetry.nc",
14031402
)
14041403
return self.topo.gen_topo_ds()
1405-
1404+
14061405
def run_FRE_tools(self, layout=None):
14071406
"""A wrapper for FRE Tools ``check_mask``, ``make_solo_mosaic``, and ``make_quick_mosaic``.
14081407
User provides processor ``layout`` tuple of processing units.

regional_mom6/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def try_pint_convert(da, target_units, var_name=None, debug=False):
9696
# Return the original DataArray if quantification or conversion failed
9797
return da
9898

99+
99100
def ap2ep(uc, vc):
100101
"""Convert complex tidal u and v to tidal ellipse.
101102

0 commit comments

Comments
 (0)