[Thread Prev][Thread Next][Index]

Re: [ferret_users] highlighting the region where most of the model agrees in sign


I think it might be easier to assign +/-1 to regions depending on the sign of the trend. If you take the sum along the ensemble axis and get absolute values >=7 then you know that you must have had 9 or more ensembles with the same sign. i.e. >80%

let tsign = if trend ge 0 then 1 else (-1)
let agree_80 = if abs(tsign[m=1:11@sum]) ge 7 then 1


On 17/07/18 17:36, Ryo Furue wrote:
Hi Saurabh,
On Tue, Jul 17, 2018 at 1:29 PM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
I want to highlight those regions where linear trend of 80% models agree in sign. 

Ferret includes "@" operators to count the number of "events" along an axis.  So, I guess you want first to create a mask that indicates whether the trend has the same sign as the reference model and then count the number of "yes"s along the ensemble dimension using one of those operators.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement