-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add masking functionality; fix mask issue upon saving (#271)
* Add a set_mask method to Raster * dd associated tests * Improve tests * Update version of black and fix linting issues * Ensure that masked rasters have a nodata value set upon saving * Fix issue with change in test, 2 commits ago * Only enforce nodata value upon saving if masked values exist * Update and improve tests for Raster.save * Linting * Try fixing issue with Windows for NamedTemporaryFile * Try fixing issue with Windows for NamedTemporaryFile * Attempt 2 to fix Windows issue with temporary file * Although previous commit worked, test solution similar to xdem * Revert to previous option, since last test did not work * Attempt 5 to fix Windows issue and delete temporary files * Add a fix for Windows * Update to previous commit
- Loading branch information
Showing
4 changed files
with
127 additions
and
9 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