MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
37 stars 63 forks source link

MPAS to UGRID Conversion #491

Open philipc2 opened 1 year ago

philipc2 commented 1 year ago

We've been looking at adding support for reading in MPAS mesh files in UXarray, with some internal discussion about it here.

Internally, we represent unstructured grids using the UGRID conventions by encoding the input grid at the data loading step. We'd like to support directly converting from MPAS to UGRID.

One workaround I've explored is using the mpas_tools.scrip.from_mpas.scrip_from_mpas() function to first convert from MPAS to SCRIP and then from SCRIP to UGRID, since UXarray currently support converting from SCRIP to UGRID. However, there are a couple comments I'd like to discuss:

NetCDF

MPAS to UGRID

We are open to learning more about how we could best leverage the tools here and for any possible collaboration.

Pinging @erogluorhan and @anissa111