<div dir="ltr"><div class="gmail_default" style="color:#000000">Hello NCL users</div><div class="gmail_default" style="color:#000000">G'day</div><div class="gmail_default" style="color:#000000"><br></div><div class="gmail_default" style="color:#000000">I am trying to compute the daily anomalies from a high-resolution daily data as shown below from the ncdump. I am just showing the dimension of the variable CHLIO. </div><div class="gmail_default" style="color:#000000"><br></div><div class="gmail_default" style="color:#000000">dimensions:<br>     LON161_408 = 248 ;<br>    LAT361_472 = 112 ;<br>    TIME = UNLIMITED ; // (8362 currently)<br>        bnds = 2 ;<br>variables:<br>double CHLIO(TIME, LAT361_472, LON161_408) ;<br>          CHLIO:missing_value = -1.e+34 ;<br>               CHLIO:_FillValue = -1.e+34 ;<br></div><div class="gmail_default" style="color:#000000"><br></div><div class="gmail_default" style="color:#000000">The ncl code that I am using is below but it gets killed as the memory gets fulled during the opration. </div><div class="gmail_default" style="color:#000000"><br></div><div><div class="gmail_default" style="color:rgb(0,0,0)"><span style="color:rgb(34,34,34)">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</span></div> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br><br><br> data1 = addfile("/media/srathore/Binny5/cmes-oras/chl/<a href="http://chlio-1998-2020.nc">chlio-1998-2020.nc</a>","r")<br> print(data1)<br> <br> ;***********************************************************<br> ; Read time and create required yyyyddd                    <br> ;***********************************************************<br>   time    = data1->TIME                      ; time:units = "hours since 1-1-1 00:00:0.0"                               <br>   TIME    = cd_calendar(time, 0)             ; type float <br>   year    = toint( TIME(:,0) )<br>   month   = toint( TIME(:,1) )<br>   day     = toint( TIME(:,2) ) <br>   ddd     = day_of_year(year, month, day) <br>   yyyyddd = year*1000 + ddd                  ; needed for input<br>   print(yyyyddd)<br>   <br>   ;***********************************************************<br>   ; Read data: short2flt                                     <br>   ;*********************************************************** <br>   CHLIO     = data1->CHLIO<br><div class="gmail_default" style="color:rgb(0,0,0)"><span style="color:rgb(34,34,34)">   printVarSummary( chl )</span></div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">So how to compute the daily anomalies in this case?</div><div class="gmail_default" style="color:rgb(0,0,0)"><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Cheers, Saurabh</div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font color="#0000ff" size="4"><b><br></b></font></div><div><font color="#0000ff" size="4"><b><br></b></font></div><font color="#0000ff" size="4" face="times new roman, serif"><b>REGARDS</b></font><div><font color="#0000ff" size="4" face="times new roman, serif"><b><br></b></font><div><font color="#0000ff" size="4" face="times new roman, serif"><b>Saurabh Rathore</b></font></div><div><font color="#0000ff" size="4" face="times new roman, serif"><b>Research Scholar (PhD.)</b></font></div><div><font color="#0000ff" size="4" face="times new roman, serif"><b>Centre For Oceans, Rivers, Atmosphere & Land Science Technology</b></font></div><div><font color="#0000ff" size="4" face="times new roman, serif"><b>Indian Institute Of Technology, Kharagpur</b></font></div><div><font color="#0000ff" size="4" face="times new roman, serif"><b>contact :- 91- 8345984434</b></font></div></div></div></div></div></div></div>