[gradsusr] MOPITT read in GrADS

SMITH, JONATHAN WYNN. (GSFC-6133) jonathan.smith at nasa.gov
Wed Jun 22 12:08:35 EDT 2011


With the following MOPITT control file setting:

dset ^MOP03M-200003-L3V92.0.1.hdf
title MOPITT
undef -9999
dtype hdfsds
xdef 360 linear 0 1
ydef 180 linear 0 1
zdef 1 linear 1 1
tdef 1 LINEAR 01APR2000 1mo
vars 1
Retrieved~CO~Total~Column~Day=>tcm 0 y,x CO Total Column Day
endvars

I get the error below:

gadxdf error: Missing or invalid dimension size.
  --> The invalid description file record is:
  --> xdef 360 linear 0 1
  The data file was not opened.

I also set
xdef 360 linear -179.5  1
xdef 360 linear -180 1
xdef 360 linear 1 1

and I get the same error as above.

Any help is greatly appreciated.

Jonathan Wynn Smith
Student Trainee
jonathan.smith at nasa.gov
NASA-Goddard Space Flight Center
Code 613.3-Atmospheric Chemistry and Dynamics Branch
Greenbelt, MD 20771
301-614-5956

Doctoral Candidate
jonathan.smith at bison.howard.edu
Howard University Program in Atmospheric Sciences
2355 6th St NW/408 Thirkield Bldg.
Washington, DC 20059

From: Partha Bhattacharjee [mailto:perths3 at gmail.com]
Sent: Tuesday, June 21, 2011 10:42 PM
To: SMITH, JONATHAN WYNN. (GSFC-6133)
Subject: MOPITT read in GrADS

Hi John,

 After reading Arlindo's e-mail, you may find this script helpful for MOPITT V4 Level-3 data read in GrADS :
dset ^MOP03M-200003-L3V92.0.1.hdf
title MOPITT
undef -9999
dtype hdfsds
xdef 360 linear -179.5 1.0
ydef 180 linear -89.5 1.0
zdef 1 linear 1 1
tdef 1 LINEAR 01APR2000 1mo
vars 1
Retrieved~CO~Total~Column~Day=>tcm 0 y,x CO Total Column Day
endvars

This script should read any level-3 daily or monthly file of MOPITT . However, for level-2 dataset, GrADS may not be that reliable (compare to Matlab).

 Partha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110622/4f10a80c/attachment-0003.html 


More information about the gradsusr mailing list