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

Issue with plotting nan values. #708

Closed
nkorinek opened this issue Jun 14, 2021 · 1 comment · Fixed by #693
Closed

Issue with plotting nan values. #708

nkorinek opened this issue Jun 14, 2021 · 1 comment · Fixed by #693

Comments

@nkorinek
Copy link
Member

When plotting nan values, occasionally the plots will be broken because of how we stretch values. Need a fix to make sure earthpy.plot.plot_rgb() can account for nan values and gracefully plot the data regardless.

@nkorinek
Copy link
Member Author

image
this is what the images look like when nan values are not accounted for.

image
This is how the plot is supposed to look. I got the second plot by masking the nan values out with numpy masking.

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

Successfully merging a pull request may close this issue.

1 participant