<div dir="ltr"><div><div>You have<br> month = floattointeger( timnew(:,1) )<br><br></div>Get the indices where month --> JJAS<br><br></div> iJJAS = ind(month.ge.6 .and. month.le.9)<br><br>Write only JJAS anomalies to file<br><br> f1->gpcprnsman=xAnom_sm(iJJAS,:,:)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 5, 2017 at 11:41 PM, Sujata Mandke <span dir="ltr"><<a href="mailto:amin@tropmet.res.in" target="_blank">amin@tropmet.res.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL community,<br>
Greetings!<br>
<br>
I am new to NCL and my problem is very simple<br>
for experienced NCL users.<br>
<br>
I had gone through NCL-TALK archives before sending this e-mail.<br>
<br>
I wish to calculate daily smooth anomalies only for<br>
June to September (JJAS) of all years, from GPCP daily<br>
rainfall data for the period 1996-2008. Further, write this<br>
daily smoothed JJAS anomalies of all years to netcdf file.<br>
<br>
I had written NCL script to calculate daily smoothed<br>
anomalies for all (365) days of all years and successfully<br>
written to netcdf. However, i need help to make changes<br>
to my NCL script so as to write only JJAS (122 days)<br>
anomalies of all years to a netcdf file.<br>
<br>
Attached with this mail is my NCL script<br>
that writes smoothed daily anomalies of all<br>
365 days of all years to a netcdf file.<br>
<br>
I am using NCL version 6.1.2 on linux machine.<br>
Please help in this regard.<br>
Any suggestion would be of great help.<br>
<br>
With best regards<br>
Dr. (Mrs) Sujata Mandke<br>
Scientist, Indian Institute of Tropical Meteorology<br>
Pashan, PUNE-411008.<br>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>