<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>In script #1, add <br>
'set x 1'; 'set y 1'<br>
before the you display "temp-273". Otherwise the values just get
printed to the screen.<br>
- MJ<br>
</tt><br>
Simon Krichak wrote:
<blockquote cite="mid00a901c76aef$165389d0$be884284@shimonlaptop"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.3059" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2"> Hello,</font></div>
<div> </div>
<div><font face="Arial" size="2">
<div><font face="Arial" size="2">I have 10 y of gridded mean-monthly
data and I want to draw a graph with </font></div>
<div><font face="Arial" size="2">time variation of an area averaged
multiyear mean air temperature from January to December.</font></div>
<div><font face="Arial" size="2">I am trying doing it with the script
#1 given below. Something is wrong here apparently, since I do</font></div>
<div><font face="Arial" size="2">not obtain any picture.Everything
works fine however if I do not perform the area averaging (script #2).</font></div>
<div>What is wrong in my actions?</div>
<div> </div>
<div>Thanks, <br>
Simon</div>
<div> </div>
<div> </div>
</font></div>
<div><font face="Arial" size="2">Script #1:</font></div>
<div> </div>
<div>'open DDF/regcmPRCS1-CT.ddf'<br>
'set t 1 12'<br>
'set tlsupp year'<br>
'define temp=ave(aave(ta,lon=35.5,lon=37,lat=29.5,lat=34),t+0,t=360,12)'<br>
'enable print aavemonth.temp.gm'<br>
'd temp-273'<br>
'draw title area averaged temperature'<br>
'print'<br>
'disable print' </div>
<div> </div>
<div><font face="Arial" size="2">Script #2:</font></div>
<div> </div>
<div> </div>
<div>
<div><font face="Arial" size="2">'set lat 32'<br>
'set lon 34'<br>
'set t 1 12'<br>
'set tslupp year'</font></div>
<div><font face="Arial" size="2">'define temp=ave(ta,t+0,t=360,12)'<br>
'enable print month.gm'<br>
'd temp-273'<br>
'd prec'<br>
'draw title mean monthly temperatures'<br>
'print'<br>
'disable print' </font></div>
</div>
<div> </div>
<div><font face="Arial" size="2">
<div>Simon Krichak, Principal Research Associate<br>
Dept. of Geophysics and Planetary Sciences<br>
Faculty of Exact Sciences<br>
Tel Aviv University<br>
</div>
</font></div>
<blockquote dir="ltr"
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"> </blockquote>
</blockquote>
</body>
</html>