Re: About Space Time Spectra

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 25 2014 - 08:58:35 MDT

This is available as an NCL exam[le.

http://www.ncl.ucar.edu/Applications/space_time.shtml
Example 5

On 3/25/14, 7:05 AM, Carl Schreck wrote:
> Here's a subroutine that I wrote for the spectra back before
> diagnostics_cam was available. It may or may not be easier to modify.
>
> Like Dennis, I also don't have any time to help out with it. I will caution
> that either script will need to be modified to taper the data in latitude
> since latitude is not periodic.
>
> Carl
>
>
> On Mon, Mar 24, 2014 at 6:01 PM, Dennis Shea <shea@ucar.edu> wrote:
>
>> The following
>>
>> > Sorry, but I can spend time helping with that task.
>>
>> should be
>>
>> > Sorry, but I can *not* time helping with that task.
>>
>> 03/24/2014 03:59 PM, Dennis Shea wrote:
>>> The scripts were designed to do specific tasks and they were designed
>>> for all longitudes and a latitude subset.
>>>
>>> %> less $NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl
>>>
>>> [SNIP]
>>>
>>> 1370 ;-------------------------------------------------------------
>>> 1371 undef("wkSpaceTime_cam")
>>> 1372 procedure wkSpaceTime_cam \
>>> 1373 ( diri[1]:string \ ; input directory
>>> 1374 , fili[*]:string \ ; input file
>>> 1375 , diro[1]:string \ ; output directory
>>> [plots]
>>> 1376 , caseName[1]:string \ ; case name
>>> 1377 , varName[1]:string \ ; variable name
>>> 1378 , latBound[1]:numeric \ ; NH lat bound
>>> [positive]
>>> 1379 , spd[1]:numeric \ ; samples per day
>>> 1380 , level[1]:numeric \ ; if 4D ... what
>> level?
>>> 1381 , nDayWin[1]:integer \ ; temporal window
>>> length [days]
>>> 1382 , nDaySkip[1]:integer \ ; days between time
>>> windows
>>> 1383 , opt[1]:logical \ ; future options
>>> 1384 )
>>> 1385 ;
>>> 1386 ; ---- local declarations are *not* required ----
>>> 1387 local latN, latS, lonL, lonR, SPD, tskip, debug, fillVal \
>>> 1388 , nfil, f, rank, nMsg, x, dNam, flist, dNamx \
>>> 1389 , TIME, pltId
>>> 1390 begin
>>> 1391 latN = latBound
>>> 1392 latS =-latBound ; make symmetric about the equator
>>> 1393
>>> 1394 lonL = 0 ; -180
>>> 1395 lonR = 360 ; 180
>>> 1
>>> [SNIP]
>>> =========================================
>>> Youc could copy diagnostics_cam.ncl and make your own local
>>> copy and modify that. It will take a lot of work.
>>> Sorry, but I can spend time helping with that task.
>>>
>>> Good luck
>>>
>>>
>>> On 03/24/2014 07:40 AM, 김인원 wrote:
>>>> Dear. NCL experts
>>>>
>>>> I'm trying to analyze the meridional wavenumber-frequency spectra using
>>>> the "wkSpaceTime_1.ncl
>>>> <http://www.ncl.ucar.edu/Applications/Scripts/wkSpaceTime_1.ncl>"
>> example .
>>>>
>>>> But NCL script just provides us the example of zonal
>> wavenumber-frequency.
>>>>
>>>> If possible, I want to know which part would be modified in
>>>> "wkSpaceTime_1.ncl" example script.
>>>>
>>>> --
>>>> --
>>>> In-Won Kim
>>>> Intergrated Climate System Modeling Lab.
>>>> Department of Environmental Atmospheric Sciences
>>>> 599-1 Daeyeon-dong, Nam-gu
>>>> Pukyong National University,
>>>> Busan, S.Korea
>>>>
>>>> Tel. +82-51-629-6643
>>>> Fax +82-51-629-7991
>>>>
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 25 08:58:37 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 31 2014 - 11:47:09 MDT