You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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?
sf = SfincsModel(<root>, mode='r')
sf._grid = sf.grid.raster.reproject('epsg:4326')
sf.plot_basemap()
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: