-
Notifications
You must be signed in to change notification settings - Fork 19
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
Plotting #37
Conversation
This method thinly wraps rasterio.plot.show.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious how rshow works underneath. Since the rasterio ds does not have any data associated with it, does it mean that rshow loads the data again in memory?
Interesting point. I'll look into this. Sometimes the rasterio ds does actually have data associated with it, most notably if using the classmethod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Seems some package names were already changed by a previous PR, will see if there is conflict when merging.
@rhugonnet have you looked at my earlier comment? I'm concerned that using rasterio's plotting function might load the data a second time, which is not ideal for large data set... |
So should we plot using something else instead? Cartopy? |
I think the idea for now is to have some plotting capability in order to rapidly check the function outputs and move forward. I can open an issue on this and work towards a better solution? |
I'm inclined to agree with @rhugonnet , we can change the code underneath the plot method later if/when we find there to be a problem. |
Thanks Amaury, I have linked an issue from your comment to check the data loading of rio plotting. |
Sounds good! |
Add a .show() method.