-
Notifications
You must be signed in to change notification settings - Fork 213
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
grdimage turns all black when region changes #395
Comments
I think I figured it out. Changing the region may lead to the incorporation of a bad data point, so we get this in the debug output: |
Looks like the grid I have set masked areas to inf rather than NaN. I fixed the grid with:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using grdimage to plot data from a high-resolution NetCDF file. With smaller regions, the grid image shows just fine. With larger region sizes, the image turns completely black. Example here: https://github.com/ooicloud/axial-drilling/blob/master/maps/notebooks/grdimage_black.ipynb. Any thoughts on what could be going on? Suggestions on best ways to troubleshoot? Thank you!
The text was updated successfully, but these errors were encountered: