# [ncl-talk] DJFM season average

Sujata Mandke amin at tropmet.res.in
Thu Nov 29 22:41:37 MST 2018

```Respected Dennis Shea sir,

Thanks a lot for detail steps for confirming
DJFM average estimate.
I will do the same.

With best regards
Sujata

From: "Dennis Shea" <shea at ucar.edu>
To: "S.Amin" <amin at tropmet.res.in>
Cc: "ncl-talk" <ncl-talk at ucar.edu>
Sent: Thursday, November 29, 2018 8:25:28 PM
Subject: Re: [ncl-talk] DJFM season average

I think it is best that you print out the values

You have:

y = runave_n_Wrap(st,4,0,0)
sdjfm =y(0::12,:,:)

I suggest you print the values at some location

LAT = ...
LON = ...

y = runave_n_Wrap (st,4,0,0)

print (st&time+" "+st(:,{LAT},{LON})+" "+y(:,{LAT},{LON}) )

Since 'runave' prefers an odd running average [eg: 3, 5, 101] to avoid index ambiguity, you can manually verify the calculated values and the index to which
the average is assigned.

Then when you do the

sdjfm =y(...)
printVarSummary (sdjfm)

print (sdjfm&time+" "+sdjfm(:,{LAT},{LON}))

You can feel confident in your result

On Thu, Nov 29, 2018 at 2:59 AM Sujata Mandke < [ mailto:amin at tropmet.res.in | amin at tropmet.res.in ] > wrote:

Dear NCL community,
Greetings!

I am calculating December to March (DJFM) season average
(NCL script attached), as per the guidelines from NCL-TALK archives.
(Since all functions in NCL are available for 3-month average season).
I want to confirm whether this is correct way of calculating DJFM average?
Or else there is another method available in NCL version 6.4?

With best regards
Dr. Sujata Mandke
Scientist, Indian Institute of Tropical Meteorology,
PUNE._______________________________________________
ncl-talk mailing list
[ mailto:ncl-talk at ucar.edu | ncl-talk at ucar.edu ]
List instructions, subscriber options, unsubscribe:
[ http://mailman.ucar.edu/mailman/listinfo/ncl-talk | http://mailman.ucar.edu/mailman/listinfo/ncl-talk ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181130/e8556d17/attachment.html>
```