[gradsusr] error opening multiple files

leila amini labi475 at gmail.com
Tue Apr 22 03:40:50 EDT 2014


hi i think your output file is not complete you must check your output


i have an question can you help me for background in grads with .shp
file for map af city
please help me
thanks

On 4/22/14, HIMA BINDU <himabindu01988 at yahoo.com> wrote:
> 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



More information about the gradsusr mailing list