[Thread Prev][Thread Next][Index]

Re: More Climatology Stuff... Diurnal Cycle over a Month




Hi Jeremy,

If I am understanding your question, it's easy done. Here, by example
...

! before we can show an example we need a test variable (substitute YOUR
data)
define axis/t=1-jan-1980:31-dec-1989:1/units=hours tdata
let test_data = RANDU(t[gt=tdata])

! start by defining a 24 hour "modulo" axis
define axis/t="1-jan-0001:00:00":"1-jan-0001:23:00":1/units=hours/modulo
t24hr

! now create a diurnal (24 hour) variable from a particular month of
your data
let particular_month = test_data[t=1-mar-1985:31-mar-1985]
let monthly_diurnal_cycle = particular_month[gt=t24hr@mod]

! the result
! note the label "01_JAN" can be considered an arbitrary 24 hour period
list monthly_diurnal_cycle

! or 3 cycles repeated in a plot ...
plot/l=1:72 monthly_diurnal_cycle


Hope this helps ...

	- steve

============================================

Jeremy S Pal wrote:
> 
>   Hi -
> 
> I would like to compute a monthly averaged diurnal cycle.  Is
> there any sort of hourly climatological axis that works to the
> monthly climatology/seasonal procedure?
> 
>   Thanks in advance,
> 
>   - Jeremy

-- 
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement