This Python package includes a number of helpful functions and scripts for dealing with MITgcm output. You can install it from the model repository (in directory :filelink:`utils/python/MITgcmutils`) or from the Python Package Index:
pip install --user MITgcmutils
The following functions are exposed at the package level:
- from module mds: :meth:`~MITgcmutils.mds.rdmds` and :meth:`~MITgcmutils.mds.wrmds`
- from module mnc: :meth:`~MITgcmutils.mnc.rdmnc` and :meth:`~MITgcmutils.mnc.mnc_files`
- from module ptracers: :meth:`~MITgcmutils.ptracers.iolabel` and: :meth:`~MITgcmutils.ptracers.iolabel2num`
- from module diagnostics: :meth:`~MITgcmutils.diagnostics.readstats`
The package also includes a standalone script for joining tiled mnc files: gluemncbig.
For more functions, see the individual modules:
.. automodule:: MITgcmutils.mds :members:
.. automodule:: MITgcmutils.mnc :members:
.. automodule:: MITgcmutils.diagnostics :members:
.. automodule:: MITgcmutils.ptracers :members:
.. automodule:: MITgcmutils.jmd95 :members:
.. automodule:: MITgcmutils.mdjwf :members:
.. automodule:: MITgcmutils.cs :members:
.. automodule:: MITgcmutils.llc :members:
This command line script is part of MITgcmutils and provides a convenient method for stitching together NetCDF files into a single file covering the model domain. Be careful though - the resulting files can get very large.
.. program-output:: ../utils/python/MITgcmutils/scripts/gluemncbig --help