From: Waqar Younas <vickyqau_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 18 2013 - 17:23:45 MDT

I have one more question that we use
xClmDay_sm = smthClmDayTLL(xClmDay, nhar)
to retain first n harmonics in the data (xClmDay). Now this xClmDay has
already calculated (but not removed) the climatology from the original data
(xClmDay = clmDayTLL(x, yyyyddd)).

Then we use
xAnom_sm = calcDayAnomTLL (x, yyyyddd, xClmDay_sm)

to remove the these climatology and nharmonics from the original data using
functino calcDayAnomTLL. With having xAnom_sm, do i still need to use

HighFreq = OriginalData - smthClmDayTLL to remove the nharmonics from the
data because caclDayAnomTLL is already doing that???

Thanks.

On Fri, Oct 18, 2013 at 12:41 PM, Dennis Shea <shea@ucar.edu> wrote:

>
> yes
>
>
>
> On 10/18/13 1:40 PM, Waqar Younas wrote:
>
>> Thank you for your response.
>> HighFreq = OriginalData - smthClmDayTLL would mean that removing the first
>> nharmonics (where n can be any number) from the data? Is that right? I
>> think that is what i need.
>>
>>
>>
>>
>> On Fri, Oct 18, 2013 at 12:04 PM, Dennis Shea <shea@ucar.edu> wrote:
>>
>>
>>> HighFreq = OriginalData - smthClmDayTLL
>>>
>>> Will give you the high frequenncy data.
>>>
>>>
>>>
>>>
>>> On 10/18/13 12:34 PM, Waqar Younas wrote:
>>>
>>> Hi everyone,
>>>> I am working on MJO analysis where we require to remove the time mean
>>>> and
>>>> first three harmonics from the data for further analysis. I noticed that
>>>> the NCL function smthClmDayTLL retains the number of harmonics which
>>>> means
>>>> if we set nhar= 4 it will retain the first 4 harmonics in the data and
>>>> set
>>>> zero all others. Is there any method where i can remove first three or
>>>> four
>>>> harmonics from the data instead of retaining them? Any help will be
>>>> greatly
>>>> appreciable.
>>>> Thanks.
>>>>
>>>>
>>>>
>>>>
>>>> ______________________________****_________________
>>>>
>>>> ncl-talk mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/****mailman/listinfo/ncl-talk<http://mailman.ucar.edu/**mailman/listinfo/ncl-talk>
>>>> <http**://mailman.ucar.edu/mailman/**listinfo/ncl-talk<http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>>>> >
>>>>
>>>>
>>>>
>>
>>

```--
Best Regards
Waqar Younas
PhD Candidate
Natural Resources and Environmental Studies (NRES)
University of Northern British Columbia (UNBC)