EXTREME slowdown

Stefan Gofferje gradsusers at GOFFERJE.HOMELINUX.ORG
Sat Feb 16 08:51:37 EST 2008


Hi folks,

I want to draw some temperature & windchill graph with gradsdods. The
whole thing runs on an Athlon XP2000+ as a test machine.
For testing, I sdfopen the file by hand and after loading, I start the
following script which needs about 30 seconds before any graphics is
produced. Does grads precalculate the formulas for the whole grid or
where does the long pause comes from?

script:

* --------------------------------------
imagesize='x800 y600'

'set t 1 61'
'set lon 24.056383333333'
'set lat 61.255276666667'

'define windspeedkph=sqrt(pow(ugrd10m,2)*pow(vgrd10m,2)))*3.6'
'define degcelsius=tmp2m-273.16'
'define
windchill=13.12+(0.6215*degcelsius)-(11.37*pow(windspeedkph,0.16))+(0.3965*degcelsius*pow(windspeedkph,0.16))'

'clear'
'set grads off'
'set gxout line'
'set ccolor 2'
'd degcelsius'
'set ccolor 3'
'd windchill'
'draw title Valkeakoski - temp. & windchill'
'printim test.png 'imagesize
* --------------------------------------


Tervehdys Suomesta,
Stefan Gofferje

--
Since light travels faster than sound, is that why some people appear
bright until you hear them speak?



More information about the gradsusr mailing list