hydromodpy.data.adapters.asc_to_geotiff#
Convert Esri ASCII grids (.asc) to Cloud Optimized GeoTIFF.
Also passes through native GeoTIFF inputs (.tif/.tiff) with a
validation step that ensures they carry a CRS. COG-specific tiling is
applied when rasterio is available; otherwise the input is copied
verbatim and the caller decides whether to proceed.
Functions
|
Convert an ASC or GeoTIFF raster to a COG-style GeoTIFF. |
Exceptions
|
Raised when a raster file cannot be converted to COG. |