[ncl-talk] write daily JJAS anomalies to netcdf file

Dennis Shea shea at ucar.edu
Mon Nov 6 09:54:32 MST 2017


You have
  month   = floattointeger( timnew(:,1) )

Get the indices where month --> JJAS

  iJJAS = ind(month.ge.6 .and. month.le.9)

Write only JJAS anomalies to file

  f1->gpcprnsman=xAnom_sm(iJJAS,:,:)

On Sun, Nov 5, 2017 at 11:41 PM, Sujata Mandke <amin at tropmet.res.in> wrote:

> Dear NCL community,
> Greetings!
>
>    I am new to NCL and my problem is very simple
>   for experienced NCL users.
>
>  I had gone through NCL-TALK archives before sending this e-mail.
>
>         I wish to calculate daily smooth anomalies only for
>       June to September (JJAS) of all years, from GPCP daily
>     rainfall data for the period 1996-2008.  Further, write this
>    daily smoothed JJAS anomalies of all years to netcdf file.
>
>    I had written NCL script to calculate daily smoothed
>    anomalies for all (365) days of all years and successfully
>    written to netcdf. However, i need help to make changes
>    to my NCL script so as to write only JJAS (122 days)
>     anomalies of all years to a netcdf file.
>
>    Attached with this mail is my NCL script
> that writes smoothed daily anomalies of all
> 365 days of all years to a netcdf file.
>
> I am using NCL version 6.1.2 on linux machine.
> Please help in this regard.
> Any suggestion would be of great help.
>
> With best regards
> Dr. (Mrs) Sujata Mandke
> Scientist, Indian Institute of Tropical Meteorology
> Pashan, PUNE-411008.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171106/1553399f/attachment.html>


More information about the ncl-talk mailing list