-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #388 from gwmod/bathymetry
add RWS bathymetry to nlmod.read.rws
- Loading branch information
Showing
4 changed files
with
165 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pytest | ||
import nlmod | ||
|
||
|
||
@pytest.mark.parametrize("resolution", [1, 20]) | ||
def test_bathymetry(resolution): | ||
xmin = 25_000.0 | ||
ymin = 410_000.0 | ||
xmax = xmin + 2 * resolution | ||
ymax = ymin + 2 * resolution | ||
extent = [xmin, xmax, ymin, ymax] | ||
nlmod.read.rws.get_bathymetry(extent, resolution=f"{resolution}m") | ||
|