<html><head></head><body><div class="ydp2ddaabcbyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">Dear Sir,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have 12 monthly netcdf files having variable called rain .I wish to calculate seasonal rainfall from monthly rainfall in NCL. <br></div><div dir="ltr" data-setdir="false">for eg: monsoon season= sum of jun,july,aug and sept.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">How could I calculate it.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Here the the monthly netcdf files.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div> a = "/home/gopi/Build_WRF/work/MODE_analyis/Nirmala/GPM_july_2016" ; or manual precipitaiton same will work<br> a1 = addfile(a+".nc","r")<br> gp = a1 ->rain<br><br><br> gsrc_lat = a1->lat ;;---Change (maybe)<br><div> gsrc_lon = a1->lon ;;---Change (maybe)</div><div><br></div> APCP = gp<br> APCP!0 = "lat"<br> APCP!1 = "lon" <br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br> a2 = "/home/gopi/Build_WRF/work/MODE_analyis/Nirmala/GPM_jun_2016" ; or manual precipitaiton same will work<br> a3 = addfile(a2+".nc","r")<br> gp1 = a3 ->rain<br><br> gsrc_lat = a3->lat ;;---Change (maybe)<br> gsrc_lon = a3->lon ;;---Change (maybe)<br><br> APCP1 = gp1<br> APCP1!0 = "lat"<br> APCP1!1 = "lon"<br><br><br> g = array_append_record (APCP, APCP1, 0)<br><br><br> gp3 = g<br> gp3!0 = "lat"<br><div> gp3!1 = "lon"</div><div><br></div><div dir="ltr" data-setdir="false">Any help and suggestion would be highly appreciated.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thank you in advance.<br></div></div><div><br></div></div><div><br></div><div class="ydp2ddaabcbsignature"><div><br></div><div class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1455712910249_2705">With Regards </div><div class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454834651024_4240"> ..................................................</div><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9384" class="ydp2ddaabcbyiv2221815874"><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9546" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);"><b id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1455782953590_8969" class="ydp2ddaabcbyiv2221815874">Govind Kumar Jha</b> <br id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454834651024_4374" class="ydp2ddaabcbyiv2221815874"></div><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9546" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);">...................................................</div><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9550" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);"> Assistant Meteorologist <br id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454834651024_4377" class="ydp2ddaabcbyiv2221815874"></div><font id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9644" class="ydp2ddaabcbyiv2221815874" style="background-color:rgb(255, 255, 255);" size="2" face="times new roman, new york, times, serif" color="#0000ff">(Agro-Meteorology Section)<br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9623">Department of Hydrology and Meteorology (DHM)<br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9625">P.O. Box 406 Naxal, Nagpokhari, Kathmandu, Nepal<br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9627">Tel: <a class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9629" style="margin: 0px; padding: 0px; text-decoration: underline; color: rgb(25, 106, 212); outline: currentcolor none medium; background-color: transparent; background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto;">+977 1 4436272</a>, 4432409<br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9631">Fax: <a class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9633" style="margin: 0px; padding: 0px; text-decoration: underline; color: rgb(25, 106, 212); outline: currentcolor none medium; background-color: transparent; background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto;">+977 1 4429919</a>, 4432137<br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9635"><a class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9637" href="http://www.dhm.gov.np/" style="margin: 0px; padding: 0px; color: rgb(25, 106, 212); outline: currentcolor none medium; background-color: transparent; background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto;" rel="nofollow" target="_blank">www.dhm.gov.np</a>, <a class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9639" href="http://www.hydrology.gov.np/" style="margin: 0px; padding: 0px; color: rgb(25, 106, 212); outline: currentcolor none medium; background-color: transparent; background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto;" rel="nofollow" target="_blank">www.hydrology.gov.np</a>, <a class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9641" href="http://www.mfd.gov.np/" style="margin: 0px; padding: 0px; color: rgb(25, 106, 212); outline: currentcolor none medium; background-color: transparent; background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto;" rel="nofollow" target="_blank">www.mfd.gov.np</a><br class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9643"></font><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9660" dir="ltr" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);"><font class="ydp2ddaabcbyiv2221815874" id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9621" size="2" face="times new roman, new york, times, serif" color="#0000ff">.............................................................................</font></div><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9556" dir="ltr" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);"> Mobile Number: 9779846265433</div><div id="ydp2ddaabcbyiv2221815874yui_3_16_0_1_1454308705572_9556" dir="ltr" class="ydp2ddaabcbyiv2221815874" style="font-family:HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;background-color:rgb(255, 255, 255);"> Email Id: govind_jha65@yahoo.com</div></div>.......................................................... <br></div></div></div></body></html>