-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing issue setting data to Dask array in datafilter (#463)
Turns out the code was defaulting to set the data back into the Dataset as a numpy masked array. I think this was done to preserve integer data type. But when setting the data back as a Dask array this does not work correctly. Also, not sure the xarray methods would work correctly anyway so changed to set as Dask array with NaN values or Numpy array with NaN values. Also added a check to ensure the needed keywords are set.
- Loading branch information
Showing
1 changed file
with
14 additions
and
16 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