[gradsusr] Facing problem in template option

lpasmanoranjan lpasmanoranjan at gmail.com
Fri Jul 22 03:34:02 EDT 2016


Dear GrADs Users,
I am having a problem in viewing the following dataset with template
option. I have 6-hourly dataset for specific humidity in following format
for 10 years:

199501/q.1995010100
199501/q.1995010106
199501/q.1995010112
199501/q.1995010118
199501/q.1995010200
199501/q.1995010212 and so on for January of 1995
199502/q.1995020100
199502/q.1995020112
199502/q.1995020118
199502/q.1995020200 and so on for February of 1995
199503/......  for March of 1995
.....
199601/q.1996010100 and so on for January of 1996
......
so on for 10 years

I am wondering how to make a descriptor file for the above files? I have
written as q.ctl:

dset /data/%y4%2/q.%y4%m2%d2%h2
*index /data/%y4%2/q.idx*
dtype grib 255
options yrev template
undef -999.9
xdef     520 linear 65  0.2
ydef     540 linear 5  0.2
zdef     1 levels 1
tdef 15000  linear 00z01jan1995    6hr
vars    1
q 0 99
endvars

My problem is
GrADs can't open the above script. It is giving the following error message:
*Scanning description file:  q.ctl*
*Open Error:  Can't open Station/Index map file /data/%y4%m2/q.idx *
*  The data file was not opened.*

When I am replacing index /data/%y4%2/q.idx in q.ctl as *index
/data/199501/q.idx*
it is working fine for 1 month only, but not working for next month i.e.
set t 124
Contouring: 0.002 to 0.02 interval 0.002
set t 125
d q
GRIB I/O Error: Bit Map I/O
Data Request Error:  Error for variable 'q'
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = q

 Thank you, in advance, for any kind of help or suggestion in this regard.


-- 
Kind Regards,
Mano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160722/7fbf0993/attachment.html 


More information about the gradsusr mailing list