<div dir="ltr">Aloha, <div><br></div><div>Are you trying to do global average?  It seems as though your data is 2.5x2.5 degrees.  You should try to do:</div><div>&#39;set lat -90 90&#39;</div><div>&#39;set lon 0 360&#39; (or &#39;set lon -180 180&#39; depending on how your data is set up).  </div><div>The second number isn&#39;t the interval, it&#39;s the actual value of the maximum latitude or longitude.  </div><div><br></div><div>Alternatively, you can do </div><div>&#39;set x 1 144&#39;</div><div>&#39;set y 1 73&#39; </div><div>That will also set your grid up to be global.  </div><div><br></div><div>-Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 5:28 AM, Davide Sacchetti <span dir="ltr">&lt;<a href="mailto:davide.sacchetti@arpal.gov.it" target="_blank">davide.sacchetti@arpal.gov.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">let&#39;s debug:<br>
&#39;reset&#39;<br>
&#39;query dims&#39;<br>
&#39;display temp&#39;<br>
&#39;display temp(z=1)&#39;<br>
&#39;display temp(z=2)&#39;<br>
&#39;display (temp(z=1)+temp(z=2))/2&#39;<br>
&#39;display ave(temp,lev=1000,lev=925)&#39;<br>
&#39;set x 1 2&#39;<br>
&#39;set y 1 38&#39;<br>
&#39;display ave(temp,lev=1000,lev=925)&#39;<br>
<br>
which among these commands do work correctly?<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, 2014-09-15 at 20:40 +0530, Gargi Akhoury wrote:<br>
&gt; Data is very large....takes time to upload.....Is there any other<br>
&gt; method?<br>
&gt;<br>
&gt;<br>
&gt; Thanks &amp; regards<br>
&gt;<br>
&gt; On Mon, Sep 15, 2014 at 8:18 PM, Gargi Akhoury<br>
&gt; &lt;<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>&gt; wrote:<br>
&gt;         Yeah m getting the same result .....<br>
&gt;<br>
&gt;<br>
&gt;         thanks &amp; regards<br>
&gt;<br>
&gt;         On Mon, Sep 15, 2014 at 8:06 PM, Davide Sacchetti<br>
&gt;         &lt;<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>
&gt;                 the message you get is not perfectly clear to me ...<br>
&gt;                 but from<br>
&gt;                 &#39;Contouring: 273 to 297 interval 3&#39; it seems you got<br>
&gt;                 your result, at the<br>
&gt;                 end<br>
&gt;                 the same result should be achieved by:<br>
&gt;                 &#39;display (temp(z=1)+temp(z=2))/2&#39;<br>
&gt;<br>
&gt;                 If you don&#39;t get your result, you can put your data on<br>
&gt;                 the web: I could<br>
&gt;                 download your data and try to understand better ...<br>
&gt;<br>
&gt;                 bye bye<br>
&gt;                 Davide<br>
&gt;<br>
&gt;<br>
&gt;                 On Mon, 2014-09-15 at 19:44 +0530, Gargi Akhoury<br>
&gt;                 wrote:<br>
&gt;                 &gt; m srry Davide...m not getting ....my result is:<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; ga-&gt; set z 1<br>
&gt;                 &gt; LEV set to 1000 1000<br>
&gt;                 &gt; ga-&gt;  d ave(temp,lev=1000,lev=925)<br>
&gt;                 &gt; Averaging. Averaging.  dim = 2, start = 1, end = 2<br>
&gt;                 &gt; Data Request Warning:  Request is completely outside<br>
&gt;                 file limits<br>
&gt;                 &gt;   Entire grid contents are set to missing data<br>
&gt;                 &gt;   Grid limits of file:     X = 1 144  Y = 1 73  Z =<br>
&gt;                 1 17  T = 1 780  E<br>
&gt;                 &gt; = 1 1<br>
&gt;                 &gt;   Grid limits of request:  X = 1 2  Y = 1 38  Z = 2<br>
&gt;                 2  T = 1 1  E = 1<br>
&gt;                 &gt; 1<br>
&gt;                 &gt;   Warning issued for variable = temp<br>
&gt;                 &gt; Contouring: 273 to 297 interval 3<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; ve to take out the average of both the levels....!!<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; Thanks &amp; Regards<br>
&gt;                 &gt;<br>
&gt;                 &gt; On Mon, Sep 15, 2014 at 7:29 PM, Davide Sacchetti<br>
&gt;                 &gt; &lt;<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>
&gt;                 &gt;         on your system z is varying: use<br>
&gt;                 &gt;         set z 1<br>
&gt;                 &gt;         bye bye<br>
&gt;                 &gt;         Davide<br>
&gt;                 &gt;<br>
&gt;                 &gt;         On Mon, 2014-09-15 at 19:06 +0530, Gargi<br>
&gt;                 Akhoury wrote:<br>
&gt;                 &gt;         &gt; Sure Davide.....<br>
&gt;                 &gt;         &gt; The result is<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt; ga-&gt; query dims<br>
&gt;                 &gt;         &gt; Default file number is: 1<br>
&gt;                 &gt;         &gt; X is varying   Lon = 0 to 2.5   X = 1 to 2<br>
&gt;                 &gt;         &gt; Y is varying   Lat = -90 to 2.5   Y = 1 to<br>
&gt;                 38<br>
&gt;                 &gt;         &gt; Z is varying   Lev = 1000 to 925   Z = 1<br>
&gt;                 to 2<br>
&gt;                 &gt;         &gt; T is fixed     Time = 00Z01JAN1949  T = 1<br>
&gt;                 &gt;         &gt; E is fixed     Ens = 1  E = 1<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt; On Mon, Sep 15, 2014 at 6:26 PM, Davide<br>
&gt;                 Sacchetti<br>
&gt;                 &gt;         &gt; &lt;<a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>
&gt;                 &gt;         &gt;         ok: fatto!<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;         On Mon, 2014-09-15 at 14:35 +0200,<br>
&gt;                 Giovanni Besio<br>
&gt;                 &gt;         wrote:<br>
&gt;                 &gt;         &gt;         &gt; Ciao caro,<br>
&gt;                 &gt;         &gt;         &gt; come stai? Tutto bene?<br>
&gt;                 &gt;         &gt;         &gt; Senti, ti dovrei chiedere un<br>
&gt;                 favore: potresti<br>
&gt;                 &gt;         sostituire il<br>
&gt;                 &gt;         &gt;         nome del<br>
&gt;                 &gt;         &gt;         &gt; dipartimento sulle mappe? Adesso<br>
&gt;                 ci chiamiamo<br>
&gt;                 &gt;         DICCA  e non<br>
&gt;                 &gt;         &gt;         più DICAT.<br>
&gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;         &gt;         &gt; Giovanni Besio<br>
&gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;         &gt;         &gt; Il 15/09/2014 13:57, Davide<br>
&gt;                 Sacchetti ha scritto:<br>
&gt;                 &gt;         &gt;         &gt; &gt; no it is not ... use this:<br>
&gt;                 &gt;         &gt;         &gt; &gt; set lat and lon varying on<br>
&gt;                 your desired area<br>
&gt;                 &gt;         &gt;         &gt; &gt; set z fixed (eg.: set z 1)<br>
&gt;                 &gt;         &gt;         &gt; &gt; d ave(temp,lev=1000,lev=850)<br>
&gt;                 &gt;         &gt;         &gt; &gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt; it should work<br>
&gt;                 &gt;         &gt;         &gt; &gt; bye bye<br>
&gt;                 &gt;         &gt;         &gt; &gt; Davide<br>
&gt;                 &gt;         &gt;         &gt; &gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt; On Mon, 2014-09-15 at 16:07<br>
&gt;                 +0530, Gargi Akhoury<br>
&gt;                 &gt;         wrote:<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; Hello,<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;       ve one query. To find<br>
&gt;                 the average of<br>
&gt;                 &gt;         levels (e.g<br>
&gt;                 &gt;         &gt;         levels from 1000<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; hpa to 850 hpa) (of temp.<br>
&gt;                 data)...is these<br>
&gt;                 &gt;         commands<br>
&gt;                 &gt;         &gt;         correct:<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; open temp.ctl<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; set lev 1000 925<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;   set lon 0 2.5<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;   set lat -90 2.5<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; d<br>
&gt;                 aave(temp,x=1,x=144,y=1,y=73)<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; and again to save this new<br>
&gt;                 data(i.e averaged<br>
&gt;                 &gt;         data) what<br>
&gt;                 &gt;         &gt;         shall I do?<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; Thanks &amp; Regards<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 _______________________________________________<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; gradsusr mailing list<br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 &gt;         &gt;         &gt; &gt;&gt;<br>
&gt;                 <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;         &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;         --<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;         Davide Sacchetti<br>
&gt;                 &gt;         &gt;         Centro Funzionale Meteo Idrologico<br>
&gt;                 di Protezione<br>
&gt;                 &gt;         Civile della<br>
&gt;                 &gt;         &gt;         Regione Liguria<br>
&gt;                 &gt;         &gt;         ARPAL Unità Tecnica Complessa di<br>
&gt;                 livello Regionale<br>
&gt;                 &gt;         &gt;         V.le Brigare Partigiane 2 16121<br>
&gt;                 Genova (I)<br>
&gt;                 &gt;         &gt;         tel: <a href="tel:%2B39%20010%206437535" value="+390106437535">+39 010 6437535</a><br>
&gt;                 fax: +39 010<br>
&gt;                 &gt;         6437520<br>
&gt;                 &gt;         &gt;         mail:<br>
&gt;                 <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web:<br>
&gt;                 &gt;         &gt;         <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                  _______________________________________________<br>
&gt;                 &gt;         &gt;         gradsusr mailing list<br>
&gt;                 &gt;         &gt;         <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 &gt;         &gt;<br>
&gt;                  <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 &gt;         &gt;<br>
&gt;                 _______________________________________________<br>
&gt;                 &gt;         &gt; gradsusr mailing list<br>
&gt;                 &gt;         &gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 &gt;         &gt;<br>
&gt;                 <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;                 &gt;<br>
&gt;                 &gt;         --<br>
&gt;                 &gt;         Davide Sacchetti<br>
&gt;                 &gt;         Centro Funzionale Meteo Idrologico di<br>
&gt;                 Protezione Civile della<br>
&gt;                 &gt;         Regione Liguria<br>
&gt;                 &gt;         ARPAL Unità Tecnica Complessa di livello<br>
&gt;                 Regionale<br>
&gt;                 &gt;         V.le Brigare Partigiane 2 16121 Genova (I)<br>
&gt;                 &gt;         tel: <a href="tel:%2B39%20010%206437535" value="+390106437535">+39 010 6437535</a>                    fax:<br>
&gt;                 <a href="tel:%2B39%20010%206437520" value="+390106437520">+39 010 6437520</a><br>
&gt;                 &gt;         mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web:<br>
&gt;                 &gt;         <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                  _______________________________________________<br>
&gt;                 &gt;         gradsusr mailing list<br>
&gt;                 &gt;         <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 &gt;<br>
&gt;                  <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt;<br>
&gt;                 &gt; _______________________________________________<br>
&gt;                 &gt; gradsusr mailing list<br>
&gt;                 &gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;                 --<br>
&gt;                 Davide Sacchetti<br>
&gt;                 Centro Funzionale Meteo Idrologico di Protezione<br>
&gt;                 Civile della Regione Liguria<br>
&gt;                 ARPAL Unità Tecnica Complessa di livello Regionale<br>
&gt;                 V.le Brigare Partigiane 2 16121 Genova (I)<br>
&gt;                 tel: <a href="tel:%2B39%20010%206437535" value="+390106437535">+39 010 6437535</a>                    fax: +39 010<br>
&gt;                 6437520<br>
&gt;                 mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web:<br>
&gt;                 <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
&gt;<br>
&gt;<br>
&gt;                 _______________________________________________<br>
&gt;                 gradsusr mailing list<br>
&gt;                 <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;                 <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
--<br>
Davide Sacchetti<br>
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria<br>
ARPAL Unità Tecnica Complessa di livello Regionale<br>
V.le Brigare Partigiane 2 16121 Genova (I)<br>
tel: <a href="tel:%2B39%20010%206437535" value="+390106437535">+39 010 6437535</a>                    fax: <a href="tel:%2B39%20010%206437520" value="+390106437520">+39 010 6437520</a><br>
mail: <a href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>     web: <a href="http://www.meteoliguria.it" target="_blank">www.meteoliguria.it</a><br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Tom Robinson<br>Treasurer - Graduate Student Organization <br>Secretary - Student Athletic Fee Committee <br>Graduate Student - Department of Atmospheric Science <br>732-718-2323<br></div>
</div>