hydromt
hydromt copied to clipboard
Support setup_region in different crs
Kind of request
Adding new functionality
Enhancement Description
So far in setup_region, the CRS property of the output region is fixed and cannot be changed. Eg bbox in 4326 but want a model in another crs. Would be nice to support.
Use case
I think quite some plugins use workarounds instead.
Additional Context
No response
Do you mean from the Model.setup_region method? Or command line? In HydroMT-SFINCS we indeed have a crs argument in the setup_grid method to do this.
The exact behaviour of such argument would need some more thinking. In case of a bbox, does it define the bbox crs (i.e. to provide the coordinates in a local utm zone) or does it reproject the bbox in wgs84 coordinates to the defined crs. I would think the first option is more clear. Possibly we could add a second dst_crs argument for reprojection.
Is my PR #888 ticking all the boxes for this feature?