Deltares / UGridPy

A Python wrapper for the UGrid library.
MIT License
7 stars 2 forks source link

Visualization of UGRID with Holoviz? #4

Open rsignell-usgs opened 2 years ago

rsignell-usgs commented 2 years ago

I was excited to find out about UGridPy today, and that the goal is to integrate with xarray!

I'm a huge fan of the Holoviz suite (and particularly hvplot.xarray), and it would be great to continue development of the Holoviz-based EarthSim project that the US Army Corps of Engineers started, but using UGridPy to standardize data access.

Does this sound interesting to you? Or do you have different plans, perhaps?

lucacarniato commented 2 years ago

Hi @rsignell-usgs , thank you for your interest in UGridPy!

UgridPy supports reading and writing geometrical entities such as networks and meshes. UgridPy wraps a C++ library implementing UGrid conventions. By using this layered architecture, we can make sure the conventions are implemented in only one library which can also be used by lower-level languages such as Fortran or C++.

Support for extracting actual data (e.g. water levels) defined on UGrid entities in xarray style is not implemented in UGridPy but is currently being explored in another package (take a look at xugrid).

It will be interesting to further develop xugrid and use UgridPy for the geometrical part. I will talk with @Huite about your idea on codeveloping the EarthSim project.

Thank you