DOI-USGS / modflow-setup

Python package for automating the setup of MODFLOW groundwater flow models
Other
48 stars 17 forks source link

feat: automatic reprojection of NetCDF input #68

Closed aleaf closed 1 year ago

aleaf commented 1 year ago

This PR adds automatic reprojection of input from NetCDF files, so that it no longer has to be in the same coordinate reference system (CRS) as the model. A valid CRS for the NetCDF data is required. This can be supplied within the NetCDF file as CF 1.8 compliant grid mapping information, a valid PROJ string under the proj4_string grid mapping variable, a valid WKT string under the crs_wkt grid mapping variable, or externally via a crs: key in the subblock where the NetCDF file is specified.