Skip to content

Commit

Permalink
Change tidal constituent param default to None
Browse files Browse the repository at this point in the history
  • Loading branch information
manishvenu committed Jan 17, 2025
1 parent cf7b13e commit c65ee62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regional_mom6/regional_mom6.py
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@ def setup_boundary_tides(
raise ValueError(
"Only rectangular or curvilinear boundaries are supported by this method."
)
if tidal_constituents is None:
if tidal_constituents is not None:
self.tidal_constituents = tidal_constituents
tpxo_h = (
xr.open_dataset(Path(tpxo_elevation_filepath))
Expand Down

0 comments on commit c65ee62

Please sign in to comment.