Hi,<br> I am trying to produce a Longitude-height anomaly for temp (averaged over 5S to 5N, and also averaged over a time period). So X-axis is Longitude, and Y-axis is height.<br>I tried this, and the script is working. But I know that it is not what I wanted. I wanted to calculate the anomaly at each point of time, and each grid; then make an average of the anomalies over 5S to 5N, and over a time period (20mar to 25mar).
<br><br>'sdfopen <a href="http://temp.2000.nc">temp.2000.nc</a>'<br>'set lon 40 200'; 'set z 1 12'; 'set lat 0'<br>'define mean=ave(ave(temp,time=20mar,time=10jun),lat=-5,lat=5)'<br>
'define aa=ave(ave(temp-mean,time=20mar,time=25mar),lat=-5,lat=5)'<br>'d aa'<br><br>I tried using a loop, but that did not work. Any help!!<br><br><br><br><br><br><br>