Skip to content

Commit

Permalink
maxdt
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed Oct 23, 2023
1 parent 1cc3ff1 commit 150031e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smoderp2d/providers/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def _load_roff(self):
except TypeError:
raise ProviderError('Invalid rainfall file')

data['maxdt'] = self._config.getfloat('time', 'maxdt')

# ensure that dx and dy are defined
data['dx'] = data['dy'] = math.sqrt(data['pixel_area'])
Expand Down

0 comments on commit 150031e

Please sign in to comment.