Be the first to rate this file! 10 downloads (last 30 days) File Size: 6.7 KB File ID: #8449

NCEP2GFDL

by Max Kaznady

 

08 Sep 2005 (Updated 09 Sep 2005)

No BSD License  

Concatenate NCEP reanalysis files into one GFDL-format netCDF file.

Download Now | Watch this File

File Information
Description

This code fragment concatenates NCEP reanalysis netCDF data files into one big netCDF file that follows GFDL format.

Originally this code fragment was used as a pre-processing step to Climate Diagnostics Suite ( http://sourceforge.net/projects/cds ). After a couple of people have asked me for the pre-processing code I decided to publish it separately because it is quite a nice example of manipulating netCDF files in MATLAB.

Run the file using NCEP2GFDL('Reanalysis.nc') for example. The folder contains NCEP2GFDL.m file, which calls interpolate_data_xlongitude_ylatitude.m file for interpolations. Other .nc files are the files which NCEP2GFDL operates on and should be downloaded by a C-SHell script get_reanalysis.csh. These NCEP files are later cleaned up by cleanup_reanalysis.csh script.

This file is primarily designed to be used as a template/guide and not as a standalone application. The user is free to modify this file any way they wish to fit their custom needs.

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements Requires a netCDF toolbox for Matlab, which is free. This code has been tested on a Pentium 4 E Debian Linux system using Matlab 7 SP1 and SP2 software.
Zip File Content  
Other Files NCEP2GFDL/NCEP2GFDL.m,
NCEP2GFDL/cleanup_reanalysis.csh,
NCEP2GFDL/land.nc,
NCEP2GFDL/interpolate_data_xlongitude_ylatitude.m,
NCEP2GFDL/get_reanalysis.csh
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Max Kaznady 22 Oct 2008 07:59:38
data export Max Kaznady 22 Oct 2008 07:59:38
ncep Max Kaznady 22 Oct 2008 07:59:38
gfdl Max Kaznady 22 Oct 2008 07:59:38
reanalysis Max Kaznady 22 Oct 2008 07:59:38
convert Max Kaznady 22 Oct 2008 07:59:38
conversion Max Kaznady 22 Oct 2008 07:59:38
format Max Kaznady 22 Oct 2008 07:59:38
netcdf Max Kaznady 22 Oct 2008 07:59:38
data Max Kaznady 22 Oct 2008 07:59:38
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com