Deltares / hydromt

HydroMT: Automated and reproducible model building and analysis
https://deltares.github.io/hydromt/
MIT License
73 stars 30 forks source link

HydroMT support for Delft-Dashboard data from openDAP server #259

Closed DirkEilander closed 1 year ago

DirkEilander commented 1 year ago

see https://github.com/Deltares/CoastalHazardsToolkit/blob/1290147cb77d18446a6dc4bf37d132ddc564a56a/src/cht/bathymetry/bathymetry_database.py#L1

DirkEilander commented 1 year ago

test for gebco22

compare nc vs COG formats tile overview in netcdf (DD style) and vrt xml formats. Check overview of xyztiles

TODO

DirkEilander commented 1 year ago

It seems all static tiling methods reproject data to webmercator and save data to image formats such as png/jpeg etc. Using cloud optimized geotiffs (COGs) you can dynamically serve map tiles. These files have an internal organization that is optimized for http get requests and are ideally (but not necessarily) in webmercator and with internal overviews (zoomlevels).

The gdal_retile.py routine can create tiles using z/y/x scheme in any support gdal raster format with different resampling methods and optionally write tileindex files (shape) and csv files per zoomlevel. The script does not support average resampling (gdal does!) and does not write toplevel metadata.

conclusion:

references