hydromt icon indicating copy to clipboard operation
hydromt copied to clipboard

Support mesh in the data catalogs

Open alimeshgi opened this issue 1 year ago • 4 comments

Kind of request

Adding new functionality

Enhancement Description

Adding new MeshDataset adapter to read mesh data. Functionality would be rather similar to RasterDataset but using xugrid functionality rather than hydromt.raster to read, sel, set crs etc.

Use case

For now to create a mesh in setup_meh2d, one of the option is to read an existing mesh file. There I implemented a simple direct read. But I think for delft3d fm, it might be useful to be able to process its output data for other models, eg flood map to damage or water quality/ecology etc. (eg forcing data for habitat). Also for core we could then add for example a setup_grid_data_from_meshdataset using xugrid rasterize function or setup_vector_data_from_mesh.

Also some of the CMIP6 model or climate models are not defined on a regular grid. Maybe with meshdataset and xugrid we could finally support them?

alimeshgi avatar Jun 21 '23 08:06 alimeshgi