CHSUB in ctl file giving problems

J Lee y2k_ww at YAHOO.COM
Wed Aug 17 01:24:29 EDT 2005


Dear Uma,

This Frank, your officemate, saying Hello to you...

I saw your posting in Grads user list and cannot stop saying hi to you..

Frank

Uma Bhatt <bhatt at IARC.UAF.EDU> wrote:
Dear Grads Users,
I am using v1.9b4 on a Macintosh running Tiger. so I believe the string template option should
work in grads. The error message I get is pasted below. I tried both gradsnc and gradshdf.
ga-> xdfopen Q.ddf
Scanning Descriptor File: Q.ddf
XDFOpen Error: Unknown keyword in description file
--> The invalid description file record is:
--> chsub 1 124 b30.040e.cam2.h3.q.2010-08-01_cat_2010-08-31.nc
The data file was not opened.

Question: Here is my ctl file (Q.ddf), any obvious problems?
DSET %ch
CHSUB 1 124 b30.040e.cam2.h3.Q.2010-08-01_cat_2010-08-31.nc
CHSUB 125 244 b30.040e.cam2.h3.Q.2010-09-01_cat_2010-09-30.nc
...snip... 10 more lines of input files
OPTIONS TEMPLATE 365_DAY_CALENDAR
DTYPE NETCDF
TITLE future run BC for MM5 Glacier Project
UNDEF 1.e+33
XDEF lon 256 LINEAR 0. 1.40625
YDEF lat 128 LEVELS -88.9277353522959 -87.5387052130272 -86.1414721015279
..snip..
ZDEF lev 26 LEVELS 3.5 7.4 13.97 23.9 37.2 53.1 70.1 85.4
..snip..
TDEF time 244 LINEAR 00Z01aug2010 6hr
*
VARS 1
Q=>q 26 99 Specific Humidity kg/kg
ENDVARS

This may be of importance, but I am not sure. When using Grads on another netcdf file that had
'DTYPE NETCDF' in the ctl file I got an error message containing 'Unknown keyword in description
file' and it listed the DTYPE statement . If I comment this statement out then my ddf file worked
just fine at reading in the data.

Any thoughts are appreciated.
Regards,
Uma Bhatt
bhatt at gi.alaska.edu


---------------------------------
 Start your day with Yahoo! - make it your home page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20050816/0361817b/attachment.html 


More information about the gradsusr mailing list