[gradsusr] Hello to all users of Grads
avi kojokro
kojokroavi at gmail.com
Fri Jul 26 08:02:12 EDT 2013
First I work with Windows, and the version of Grads 2.0.a9, I'm pretty new
to Grads.
I have a problem with this script, is not working and I do not understand
what my mistake,I'd love if someone will help me.
Attaching the script and screenshot of Grads and the error it registers to
me.
Avi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130726/722c21a1/attachment-0003.html
-------------- next part --------------
'reinit'
'reset'
'set grads off'
'set xsize 650 500'
'set mpdset hires'
'set display color white'
prompt 'Enter date yyyymmdd '
pull date
prompt 'Enter hour hh '
pull hour
f= 'http://nomads.ncep.noaa.gov:9090/dods/gens_bc/gens'date'/gep_all_'hour'z'
'sdfopen 'f
'set parea 0.5 10.5 6.76 8.48'
'set gxout contour'
'set lat 32'
'set lon 35'
'set lev 500'
'set t 1 last'
'define max=max(hgtprs,e=1,e=21)'
'd max'
m1=subwrd(result,4)
'define min=min(hgtprs,e=1,e=21)'
'd min'
m2=subwrd(result,4)
'set ylint 20'
'set vrange 'm2-1' 'm1+1
'define a=ave(hgtprs,e=1,e=21)'
'define c=sqrt(ave(pow(a-hgtprs,2),e=1,e=21))'
'set gxout bar'
'set bargap 50'
'set ccolor 2'
'd a+c;a-c'
'set gxout line'
'set ccolor 1'
'set cmark 0'
'set cthick 15'
'd a'
'set string 8'
'set strsiz 0.2'
'draw string 0.6 8.33 H500 ensemble & standard deviation '
'printim std.png x1000 y700'
'end'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 201054 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130726/722c21a1/attachment-0003.png
More information about the gradsusr
mailing list