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

Values of missingval still shown in the overview of the Raster #610

Open
felixcremer opened this issue Mar 11, 2024 · 1 comment
Open

Values of missingval still shown in the overview of the Raster #610

felixcremer opened this issue Mar 11, 2024 · 1 comment

Comments

@felixcremer
Copy link
Contributor

I am still working with the data from #605 and I am constructing a Raster object from the Netcdf subgroup.
Setting the missingval keyword seems to have no effect and I can still see the missingval in the array when the Raster is shown.

This is a reproducer with small data:

arr = rand(10,10)
r = Raster(arr, (X(1:10,Y(1:10)), missingval=arr[1,1])

I would have expected that the first element of the Raster is shown as missing.
skipmissing works as expected.

@rafaqz
Copy link
Owner

rafaqz commented Mar 11, 2024

It doesnt do sentinel missings by default. That has never been implemented and I rarely want it myself becapuse its slow. So it needs to be optional.

If you can write out a syntax and specific behaviours in lazy/non lazy modes we can implement it.

We mostly just need a concise keyword to switch it on/off

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