[gradsusr] Facing problem in template option

Davide Sacchetti davide.sacchetti at arpal.gov.it
Fri Jul 22 04:56:17 EDT 2016


index file could not be templete ...
use: index /data/q.idx
it should work
Davide

Il giorno ven, 22/07/2016 alle 16.34 +0900, lpasmanoranjan ha scritto:
> 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.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160722/c0844e9f/attachment.html 


More information about the gradsusr mailing list