-
Notifications
You must be signed in to change notification settings - Fork 15
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 extent #123
Comments
Thanks for the suggestion @lgrimley! I'll need to figure out why this happens, but agree this should be changed. If it is urgent, as a work around, you can copy the plot_basemaps method and adapt/delete the line where the plot extent is set https://github.com/Deltares/hydromt_sfincs/blob/main/hydromt_sfincs/plots.py#L189 |
Currently the approach is to use the projection of the data. This could lead to negative coordinates if a model spans multiple UTM zones with cartopy doesn't seem to like (this assumption needs to be checked). Instead of a UTM zone it would perhaps be better if the model uses another CRS that can describe the entire model in that case. @lgrimley can you check if this error persists if you reproject the model grid to e.g. WGS84 and then plot it?
|
I have a model that covers more than one UTM zone. When I use the plot_basemap() function it cuts off and only shows the area of the model that is in the UTM zone that the model as been assigned to. Is there a way for it to clip to the extent of the region instead?
The text was updated successfully, but these errors were encountered: