Skip to content

Commit

Permalink
fix: remove default bounds being None for #356
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutterley committed Oct 30, 2024
1 parent 2276154 commit ae7b866
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyTMD/io/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,6 @@ def extract_constants(self,
kwargs.setdefault('type', self.type)
kwargs.setdefault('append_node', False)
kwargs.setdefault('crop', False)
kwargs.setdefault('bounds', None)
kwargs.setdefault('method', 'spline')
kwargs.setdefault('extrapolate', False)
kwargs.setdefault('cutoff', None)
Expand Down Expand Up @@ -1074,7 +1073,6 @@ def read_constants(self, **kwargs):
kwargs.setdefault('type', self.type)
kwargs.setdefault('append_node', False)
kwargs.setdefault('crop', False)
kwargs.setdefault('bounds', None)
kwargs.setdefault('apply_flexure', False)
# read tidal constants
if self.format in ('OTIS','ATLAS-compact','TMD3'):
Expand Down Expand Up @@ -1273,7 +1271,6 @@ def extract_constants(lon: np.ndarray, lat: np.ndarray, m, **kwargs):
# set default keyword arguments
kwargs.setdefault('type', m.type)
kwargs.setdefault('crop', False)
kwargs.setdefault('bounds', None)
kwargs.setdefault('method', 'spline')
kwargs.setdefault('extrapolate', False)
kwargs.setdefault('cutoff', None)
Expand Down Expand Up @@ -1304,7 +1301,6 @@ def read_constants(m, **kwargs):
# set default keyword arguments
kwargs.setdefault('type', m.type)
kwargs.setdefault('crop', False)
kwargs.setdefault('bounds', None)
kwargs.setdefault('apply_flexure', False)
# read tidal constants
m.read_constants(**kwargs)
Expand Down

0 comments on commit ae7b866

Please sign in to comment.