Skip to content
/ META Public

A python library for the calculation of meridional energy transport and further analysis based on climate data.

License

Notifications You must be signed in to change notification settings

geek-yang/META

Repository files navigation

DOI

META 🌐

Meridional Energy Transport Analyzer, in short as META, is a python library designed for the calculation of meridional energy transport (MET) and extended analysis with climatological data. It is able to deal with the calculations of MET in both the atmosphere (AMET) and ocean (OMET). In addition, it provides diagnostic modules to perform statistical operations on MET.

Initially, MET was developed to work with 6 state-of-the-art reanalysis datasets. It can be employed to work different meteorological data sets, for instance, the outputs from numerical models (e.g. EC-earth).

Function 🎯

META can serve as a calculator for the following tasks:

  • Quantification of MET in the atmosphere ☁️
    mass budget correction
    AMET quantificaton
  • Quantification of MET in the ocean 🌊
    OMET
    eddy decomposition
    ocean heat content (OHC)
  • Statistical operations and visualization: 💻
    detrend signals (polynomial fit)
    linear regression (time series, time series with spatial distribution, lead / lag)
    visualization

Reanalysis 📡

This library is designed to work with multiple state-of-the-art atmospheric and oceanic reanalysis products in the following list:

  • ERA-Interim [ECMWF]
  • MERRA2 [NASA]
  • JRA55 [JMA]
  • ORAS4 [ECMWF]
  • GLORYS2V3 [Mercator Ocean]
  • SODA3 [Univ. Maryland]

Dependency 📚

META is tested on python 2.6, 2.7 and 3.6 and has the following dependencies:

  • numpy
  • matplotlib
  • netCDF4
  • scipy
  • cartopy
  • iris
  • pygrib

It also requires NCL for the barotropic mass correction as the computation may take place via Spherical Harmonics.

Modules 💾

Here is a brief introduction of all the modules included in this package:

  • amet: quantify atmospheric meridional energy transport
  • omet: quantify oceanic meridional energy transport and ocean heat content
  • massBudget: mass budget correction on structured grid / Gaussian grid
  • statistics: diagnostics tools
  • saveNetCDF: netcdf file wrapper
  • visualizer: plotting tools

Get start 🎬

All the modules have been tested with six reanalysis data sets. Operations within given reanalysis data sets, including mass budget correction and heat transport quantification, are illustrated using Jupyter Notebook in the folder "Examples".

In order to use the existing workflow, the input files should be organzied in a certain structure with certain file names (the file names can be customized in each script named after reanalysis product, e.g. "MERRA.py"). Since different data sets have their own naming convention and saved structure, the file structure and file names are listed in the beginning of each script. Please check the code of your target reanalysis product.

For more information about how to use/customize each module, please check the comments in the code at the beginning of each function.

Cite our work ❤️

If you use this package, please cite it via:

@Article{esd-11-77-2020,
AUTHOR = {Liu, Y. and Attema, J. and Moat, B. and Hazeleger, W.},
TITLE = {Synthesis and evaluation of historical meridional heat transport from midlatitudes towards the Arctic},
JOURNAL = {Earth System Dynamics},
VOLUME = {11},
YEAR = {2020},
NUMBER = {1},
PAGES = {77--96},
URL = {https://www.earth-syst-dynam.net/11/77/2020/},
DOI = {10.5194/esd-11-77-2020}
}

About

A python library for the calculation of meridional energy transport and further analysis based on climate data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages