[Thread Prev][Thread Next][Index]

Re: Converting monthly data into wet and dry season data



Hi Nathan,

I assume you already have some index of rainfall. You can make composites of dry verses wet by defining a variable as '1' if the index is greater than some value, and then, with the grid set to your monthly gridded data, multiply the gridded data by this new variable and then compute the statistics of this product.

It would look something like,

let wet = IF (index GT 0.0 ) then 1
set grid mygrid
let wetdata = mydata*wet

the computations on 'wetdata' will just include the values where 'index' is greater than 1.

I hope this helps,

Andy


--
Andy Chiodi

School of Oceanography
University of Washington
Seattle, WA

chiodi@ocean.washington.edu
(206) 526-6758


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement