Skip to content
New issue

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

Netcdf loading as masked array #60

Open
wpreimes opened this issue Jan 21, 2020 · 2 comments
Open

Netcdf loading as masked array #60

wpreimes opened this issue Jan 21, 2020 · 2 comments

Comments

@wpreimes
Copy link
Member

load_grid with newer netcdf versions creates masked arrays, e.g. when calling grid.get_grid_points().
I think this is not intended and due to changes in the netcdf4 library in the back. We don't utilize masked arrays and in most cases they should be compatible, still should we fix that to restore the original behavior?

@sebhahn
Copy link
Member

sebhahn commented Jan 21, 2020

I think it would make sense to restore the original behavior, but do you know about any problems with the new return type?

@wpreimes
Copy link
Member Author

I had a case recently (LPRM data) where the Img2Ts didn't work without changing the CCI grid to not contain masked arrays...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants