[ncl-talk] JJAS seasonal analysis

Soma Roy somaroy892 at gmail.com
Tue Dec 4 22:57:44 MST 2018


Using cdo I think you can do that.

Use seasmean over your input file like;
cdo seasmean infile seas

In output you will get seasJJA.nc and seasSON.nc

Again splitmon over seasSON.nc to get mon9.nc

Then use mergetime over seasJJA.nc and mon9.nc you will get seasJJAS.nc

Hope this also helpful for your case.

Thanks,
Soma

On Wed, Dec 5, 2018, 11:15 Md. Jalal Uddin <dmjalal90 at gmail.com wrote:

> Thanks. It is work now.
>
> On Wed, Dec 5, 2018 at 2:40 AM Adam Phillips <asphilli at ucar.edu> wrote:
>
>> Hi Jalal,
>> You can do it by hand by using runave_n_Wrap:
>> ; arr is dimensioned time x lat x lon
>> temp = runave_n_Wrap(arr,4,0,0)
>> arr_jjas = temp(6::12,:,:)     ; select 4-month running means, starting
>> with 4-month mean centered around July
>> delete([/arr,temp/])
>>
>> Verify that the above coding is doing what you think it is doing and the
>> results are as you expect, and make sure you review the runave_n_Wrap
>> documentation
>> <https://www.ncl.ucar.edu/Document/Functions/Contributed/runave_n_Wrap.shtml>.
>> Note that the JJAS 4 month average is placed in the July index. As January
>> starts at index 0, July is at index 6.
>>
>> If you have further questions let ncl-talk know.
>> Adam
>>
>>
>>
>>
>>
>> On Tue, Dec 4, 2018 at 6:55 AM Md. Jalal Uddin <dmjalal90 at gmail.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> How can I analyse JJAS seasonal mean? month_to_season does not allow
>>> for this analysis.
>>>
>>> --
>>> *Md. Jalal Uddin*
>>> MSc in Applied Meteorology (English Language)
>>> Nanjing University of Information, Science and Technology, China
>>> B.Sc. in Disaster Management (Hons.)
>>> Patuakhali Science and Technology University, Bangladesh.
>>> Cell: +8613260859092, +8801792052662
>>> Web: www.dmjalal90.weebly.com
>>> Facebook: jalal.hossen.39
>>> LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
>>> Twitter: dmjalal90
>>> Skype: dmjalal90
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>
>>
>> --
>> Adam Phillips
>> Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>>
>> <http://www.cgd.ucar.edu/staff/asphilli>
>>
>
>
> --
> *Md. Jalal Uddin*
> MSc in Applied Meteorology (English Language)
> Nanjing University of Information, Science and Technology, China
> B.Sc. in Disaster Management (Hons.)
> Patuakhali Science and Technology University, Bangladesh.
> Cell: +8613260859092, +8801792052662
> Web: www.dmjalal90.weebly.com
> Facebook: jalal.hossen.39
> LinkedIn: https://bd.linkedin.com/in/md-jalal-uddin-80a026b0
> Twitter: dmjalal90
> Skype: dmjalal90
> _______________________________________________
> 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/20181205/3cdf8cbb/attachment.html>


More information about the ncl-talk mailing list