[Thread Prev][Thread Next][Index]

to get different time period means



Hello, I am trying to create 2 period of means. Below is the jnl file I created:

-- define axis/t=1:209:1  tax
define grid/t=tax mygrd
let temp=2*l[g=mygrd]

let apr= if (mod(l,12) eq 4) then temp
can region
set region/l=9:110
let/title=apr1 aprav1=apr[l=@ave]
list aprav1

can region
set region/l=111:206
let/title=apr2 aprav2=apr[l=@ave]

list aprav2

can region
list aprav1yes? go testtax.jnl
             apr1
             T: 8.5 to 110.5
          116.0
             apr2
             T: 110.5 to 206.5
          308.0
             apr1
             T: 0.5 to 209.5
          212.0
             apr2
             T: 0.5 to 209.5
          212.0

How could I keep the values defined for aprav1 and aprav2? It seems that after I
reset the region, their values changed. But I want them to keep the value as
they are defined, so I can compute the difference of the two.

Thanks for your help.
Muyin


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement