We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to save a masked array with an all false mask results in no errors. Yet when loaded the array is no longer masked.
See:
asdf/asdf/_core/_converters/ndarray.py
Lines 121 to 125 in 4a0064a
I believe that removing np.any(data.mask) would fix the issue.
np.any(data.mask)
asdf version: main python version: python 3.10 operating system: mac
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description of the problem
Attempting to save a masked array with an all false mask results in no errors. Yet when loaded the array is no longer masked.
See:
asdf/asdf/_core/_converters/ndarray.py
Lines 121 to 125 in 4a0064a
I believe that removing
np.any(data.mask)
would fix the issue.Example of the problem
System information
asdf version: main
python version: python 3.10
operating system: mac
The text was updated successfully, but these errors were encountered: