forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a problem with diff'ing masked_arrays with units.
The issue occurs only, when "x" in first_derivative is a masked array with units. As all arrays stemming from NetCDF access are basically masked arrays, we do not have non-masked arrays in our code, even though the mask is almost always 'False'. I added a test case demonstrating the problem, it fails without the contained fix. See issue Unidata#983
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
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