-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(raster): add option to extrapolate using
nearest
method (#1159)
Added `extrapolate_edges` option to `resample_to_grid` method to use `nearest` interpolation method to fill cells outside data bounds. This option results in an array that is completely filled with data (no nans).
- Loading branch information
1 parent
86910ed
commit 3ffedb4
Showing
3 changed files
with
1,303 additions
and
1,119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1359,3 +1359,6 @@ def test_rasters(): | |
raise AssertionError | ||
|
||
del rio | ||
|
||
if __name__ == "__main__": | ||
test_rasters() |
2,355 changes: 1,241 additions & 1,114 deletions
2,355
examples/Notebooks/flopy3_raster_intersection.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
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