[gradsusr] error opening multiple files
HIMA BINDU
himabindu01988 at yahoo.com
Tue Apr 22 01:41:35 EDT 2014
Dear Sir / Madam,
I am getting an error while handling with two control files in one script and the error is
cannot contour grid - all undefined values
cannot plot color bar: No shading information
Entire grid undefined
Here is my script
'reinit'
'clear'
* These are the BLUE shades
'set rgb 16 0 0 255'
'set rgb 17 55 55 255'
'set rgb 18 110 110 255'
'set rgb 19 165 165 255'
'set rgb 20 220 220 255'
* These are the RED shades
'set rgb 21 255 220 220'
'set rgb 22 255 165 165'
'set rgb 23 255 110 110'
'set rgb 24 255 55 55'
'set rgb 25 255 0 0'
'open testone.ctl'
'open testtwo.ctl'
'set dfile 1'
'set grads off'
'set xlopts 1 2 0.15'
'set ylopts 1 2 0.15'
'set t 289 1153'
'set lev 1000 30'
'set lat 15'
'set lon 92'
'set gxout shaded'
'set clevs -20 -15 -10 -5 0 5 10 15 20'
'set ccols 16 17 18 19 20 21 22 23 24 25'
'define uave=ave(u,t=289,t=1153)'
'set dfile 2'
'set grads off'
'set xlopts 1 2 0.15'
'set ylopts 1 2 0.15'
'set t 289 1153'
'set lev 1000 30'
'set lat 15'
'set lon 92'
'set gxout shaded'
'set clevs -20 -15 -10 -5 0 5 10 15 20'
'set ccols 16 17 18 19 20 21 22 23 24 25'
'define ubar=u.2-uave'
'd ubar'
'run cbarn.gs'
'draw title "Zonal wind perturbation"'
'printim uprime.png white'
Can anybody help me please...
Thanks & Regards
Hima Bindu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140422/0e5ef0bd/attachment.html
More information about the gradsusr
mailing list