<div dir="ltr">Dear All<div> <span style="font-family:Calibri;font-size:medium">Actually I have 73 profiles having different Lat, Lon and Alt. I redefined the grid with resolution </span><span style="font-family:Calibri;font-size:16px">2</span><sup style="font-family:Calibri">0</sup><span style="font-family:Calibri;font-size:16px"> x 2.5</span><sup style="font-family:Calibri">0</sup><font face="Calibri" size="3">. Now I want to get the average value of each grid along with the number of profile passing through the particular grid.</font></div><div><font face="Calibri" size="3"><br></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 16, 2017 at 4:42 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">There are many examples in the NCL user guide and tutorial..did you read it? <div><br></div><div>I have never used CALIPSO data but assuming from the examples webpage (<a href="https://www.ncl.ucar.edu/Applications/calipso.shtml" target="_blank">https://www.ncl.ucar.edu/Appl<wbr>ications/calipso.shtml</a>) it seems that data are written normally (time, lat, lon). If you have coordinates associated with your variables computing the average is simply as </div><div><br></div><div><font face="Menlo">avg_variable= dim_avg_n_Wrap(variable(:, {lat_min:lat_max}, {lon_min:lon_max}), (/1,2/))</font></div><div><br><div><blockquote type="cite"><div><div class="m_-4214285942891713261h5"><div>On 16. Aug 2017, at 09:30, Shani Tiwari <<a href="mailto:pshanitiwari@gmail.com" target="_blank">pshanitiwari@gmail.com</a>> wrote:</div><br class="m_-4214285942891713261m_-4049374536394016437Apple-interchange-newline"></div></div><div><div><div class="m_-4214285942891713261h5"><div dir="ltr"><p class="MsoNormal">Dear NCl users<span></span></p>
<span style="font-size:12pt;font-family:Calibri"> I want to calculate
the average of all data points of the CALIPSO profiles passing through a user defined
grid of resolution of (2<sup>0</sup> x 2.5<sup>0</sup>). </span><div><font face="Calibri" size="3"><br></font></div><div><font face="Calibri" size="3">Any suggestion or example, I could follow.</font></div><div><font face="Calibri" size="3"><br clear="all"></font><div><br></div>-- <br><div class="m_-4214285942891713261m_-4049374536394016437gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Shani Tiwari<br></div><div dir="ltr"><div><br></div><div>Mob: <a href="tel:+91%2094519%2052997" value="+919451952997" target="_blank">+91 9451952997</a><br></div><div><br><br></div></div></div></div></div></div></div></div></div>
</div></div></div></div>
______________________________<wbr>_________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><span class="m_-4214285942891713261HOEnZb"><font color="#888888"><br></font></span></div></blockquote></div><span class="m_-4214285942891713261HOEnZb"><font color="#888888"><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_-4214285942891713261m_-4049374536394016437Apple-interchange-newline">Guido Cioni</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://guidocioni.altervista" target="_blank">http://guidocioni.altervista</a>.o<wbr>rg</div>
</div>
<br></font></span></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4214285942891713261gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Shani Tiwari<br></div><div dir="ltr"><div><br></div><div>Mob: <a href="tel:+91%2094519%2052997" value="+919451952997" target="_blank">+91 9451952997</a><br></div><div><br><br></div></div></div></div></div></div></div></div></div>
</div></div>