# [ncl-talk] DJFM season average

Sujata Mandke amin at tropmet.res.in
Mon Dec 3 00:05:50 MST 2018

```Respected Dennis Shea sir,

I followed your suggestions of confirming DJFM average
by printing values at example lot/lon point and then manually
calculating at the same lat/lon point. I found that
the way DJFM average is calculated is correct.
Thanks a lot one again.
With best regards
Dr. Sujata Mandke
IITM,PUNE

From: "S.Amin" <amin at tropmet.res.in>
To: "Dennis Shea" <shea at ucar.edu>
Cc: "ncl-talk" <ncl-talk at ucar.edu>
Sent: Friday, November 30, 2018 11:11:37 AM
Subject: Re: [ncl-talk] DJFM season average

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 ]

_______________________________________________
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/20181203/514bef84/attachment.html>
```