David S. LeBauer and Kathleen K. Treseder. 2008. Nitrogen limitation of net primary productivity in terrestrial ecosystems is globally distributed. Ecology 89:371–379.


Matlab m-code used to obtain values of MAT and MAP at a point nearest to the study site from the New et al. (2000) 10' climatology when local data were not available.
Ecological Archives


File list (downloads)


David LeBauer
University of California at Irvine
Department of Earth System Science
Irvine, CA 92054
E-mail: [email protected]

File list

GlobalClimate.m -- Matlab code


This code returns the mean annual temperature (MAT) and mean annual precipitation (MAP) for any terrestrial lat × long coordinates using the data set described in New et al (2000).

Input (at prompt): latitude and longitude (in decimal degrees with N and E > 0 and W and S <0)

Output: mean annual precipitation MAP (mm y-1) and mean annual temperature MAT, (degrees C)

References: New, Mark, David Lister, Mike Hulme, and Ian Makin. 2002. A high resolution data set of surface climate over global land areas. Climate Research 21:1–25.

Required data files (should be renamed after downloading):

Tglobal10min.mat:  http://www.cru.uea.ac.uk/cru/data/tmc.htm/grid_10min_pre.dat.gz

Pglobal10min.mat:  http://www.cru.uea.ac.uk/cru/data/tmc.htm/grid_10min_tmp.dat.gz

ESA Publications | Ecological Archives | Permissions | Citation | Contacts