ESMG / PyCNAL_core

core library for PyCNAL
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Purpose of the core #1

Open kshedstrom opened 4 years ago

kshedstrom commented 4 years ago

I believe the purpose of this repo was to hold a grid object to be used in MOM6 tools. Since we only have to worry about the horizontal grid for interpolations, are there grid objects we can use from other packages instead of writing our own? ESMPy and xgcm both have grid objects. What does ours need to have?

raphaeldussin commented 4 years ago

I think xgcm has the most comprehensive description of grid objects. It would be a duplication of efforts to write something new. We can use PyCNAL_core as a wrapper to xgcm, which would give the option to switch to a different package in the future, if needed.

kshedstrom commented 4 years ago

Do you know about OceanSpy? https://oceanspy.readthedocs.io/en/latest/

raphaeldussin commented 4 years ago

yes but I haven't tried it out yet. They use MITgcm mostly but it might work with MOM6 out of the box or with minimal fixes.

kshedstrom commented 4 years ago

So far they only support z-coordinates, but there's an effort to support other ocean vertical coordinates. We'll see where it goes...