EOF plot
Wilfried Pokam
wpokam at YAHOO.FR
Thu Jan 25 06:45:28 EST 2007
Dear Friends,
I use eofgrads V0.155 ( PC(i386) Linux (32bit) ) to compute eof.
But i have a problem, all my eof plot are same. From the first to last eof i
have the same contour map.
This is the script in witch i plot eof:
********************************************
#!/bin/sh
for ee in 1 2 3 4 5 6 7 8 9 10 11 12
do
gradsnc -bl << EOF
sdfopen lhtfl.mon.mean.94-04.Ll.nc
sdfopen nlwrs.mon.mean.94-04.Ll.nc
sdfopen nswrs.mon.mean.94-04.Ll.nc
sdfopen shtfl.mon.mean.94-04.Ll.nc
set t 1 12
define monavglhtfl = ave(lhtfl.1,t+0,t=132,12)
define monavgnlwrs = ave(nlwrs.2,t+0,t=132,12)
define monavgnswrs = ave(nswrs.3,t+0,t=132,12)
define monavgshtfl = ave(shtfl.4,t+0,t=132,12)
modify monavglhtfl seasonal
modify monavgnlwrs seasonal
modify monavgnswrs seasonal
modify monavgshtfl seasonal
define monavgNR = monavgnlwrs + monavgnswrs
define monavgengfl = monavgNR + monavglhtfl + monavgshtfl
set grads off
set ccolor 1
set mpdset mres
set map 1 2 2
set ccolor 1
set xlopts 1 1 0.15
set Ylopts 1 1 0.15
set ccolor 1
eof -neof $ee monavgengfl
draw title EOF $ee
printim EOF.$ee.netegy.gif white
EOF
done
*********************************************
Wilfried
More information about the gradsusr
mailing list