Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation

DOI View Climate Data Toolbox for MATLAB on File Exchange

Climate Data Toolbox for Matlab

CDT Contents and Documentation

Click here to view the CDT documentation online.

A version of the documentation in Chinese can be found here, translated by Shi Weiheng. 中文文档由Shi Weiheng翻译。CDT 中文翻译.pdf

Video Tutorials

Analyzing Trends and Global Warming:

How to analyze trends in sea surface temperature using CDT

El Niño and Empirical Orthogonal Functions:

How to apply EOFs to identify ENSO

Installing the toolbox:

There are a few different ways to install this toolbox. Pick your favorite among the following:

...from the Add-On Explorer in MATLAB:

In the Home menu of MATLAB, click Add-Ons, and search for Climate Data Toolbox. Click "Add from GitHub" and that's all you need to do. Installing this way is easy and will provide the most up-to-date version available.

...or as individual files and folders:

The files in this GitHub repository will always be the most up to date. So if you want to be on the bleeding edge of innovation, get the cdt folder, put it somewhere Matlab can find it, and then right-click on it from within Matlab and select "Add to Path--Selected folder and subfolders." a .mltbx toolbox:

Installing as an .mltbx is perhaps the easiest option, but I don't update the .mltbx very often, so you might not get the latest features and bug fixes.

First, download the ~100 MB .mltbx file here. After downloading the .mltbx file, installation should be as easy as double clicking on the zip file and clicking "install". Or you can navigate to it in the Matlab file explorer, right click on the .mltbx, and click "Install."

The installation process puts the files in a folder called something like:

~MATLAB/Add-Ons/Toolboxes/Climate Data Toolbox/

If that's not correct, find the CDT folder by typing this into the Matlab Command Window:

which cdt -all

If the which hunt still turns up nothing, that suggests the toolbox hasn't been properly installed.

After installation:



into the command line to check out the documentation.

Citing CDT:

Please cite our paper!

Chad A. Greene, Kaustubh Thirumalai, Kelly A. Kearney, José Miguel Delgado, Wolfgang Schwanghart, Natalie S. Wolfenbarger, Kristen M. Thyng, David E. Gwyther, Alex S. Gardner, and Donald D. Blankenship (2019). The Climate Data Toolbox for MATLAB. Geochemistry, Geophysics, Geosystems, 20, 3774-3781. doi:10.1029/2019GC008392

The Climate Data Toolbox is also mirrored on the MathWorks File Exchange site here.