[gradsusr] NetCDF Data Descriptor File Problem

Huddleston, John Huddleston at cira.colostate.edu
Tue Aug 3 10:21:42 EDT 2010


Jim

You need to put a space before the _FillValue.

Your file pattern is looking for a terra2005TMM.nc file. You are opening terra2005MM.nc files. Try removing the %t1 from the file pattern.

John Huddleston, PhD
Cooperative Institute for Research in the Atmosphere

From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of jimbo32886 at gmail.com
Sent: Monday, August 02, 2010 6:21 PM
To: GrADS Users Forum
Subject: [gradsusr] NetCDF Data Descriptor File Problem

Hello Everyone,
   I am having a problem with my data descriptor file.  I am running grads version 1.9b4.  I currently have 12 netcdf monthly files which are named terra200501.nc<http://terra200501.nc> through terra200512.nc<http://terra200512.nc>.  I am attempting to create a proper data descriptor file so I can perform some analysis.  This is my first time working with creating a descriptor file for multiple .nc files.  The files have no discernible time, thus I am trying to write a descriptor file so it does have a set time.  This is what my control file looks like:

DSET ^terra2005%t1%m2.nc<http://m2.nc>
DTYPE netcdf
OPTIONS template
UNDEF -9.999e3_FillValue
TITLE Test
XDEF 360 linear -179.5 1.0
YDEF 180 linear -89.5 1.0
ZDEF 1 Levels 0
TDEF 12 linear jan2005 1mo
VARS 1
Optical_Depth_Land_And_Ocean_Mean_Mean=>aod 0 y,x aerosol optical depth
ENDVARS

This is what I get when I run ncdump:

ncdump -c terra200501.nc<http://terra200501.nc>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100803/2c20b8f4/attachment-0003.html 


More information about the gradsusr mailing list