[Thread Prev][Thread Next][Index]

[ferret_users] regarding if-then-else mask



Dear Ferreters,

I am trying to extract enso index for magnitude >= 1 and < 1.5 but strangely it is doing something else that I am unable to understand. this is the steps for my masking

use nino34_new.nc

let nino1 = nino34

! for moderate enso !

let elnino1 = if (nino1 ge 1.0 and nino1 lt 1.5) then nino1
let lanina1 = if (nino1 le -1.0 and nino1 gt -1.5) then nino1

list elnino1, lanina1

but if I do the masking like this

let elnino1 = if nino1 ge 1.5 then nino1  ! strong enso

or

let elnino1 = if nino1 ge 1.0 then nino1  ! moderate + strong

then it works correctly and represent 1982, 1997, 2015 like strong enso cases but when I tried to extract moderate enso (bold highlight) then it is eliminating the enso events. Please help me I am unable to understand why it is so. I am also attaching the data for this purpose.

regards, saurabh

--


REGARDS

Saurabh Rathore
Research Scholar (PhD.)
Centre For Oceans, Rivers, Atmosphere & Land Science Technology
Indian Institute Of Technology, Kharagpur
contact :- 91- 8345984434

Attachment: nino34_new.nc
Description: Cdf file


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

Privacy Policy | Disclaimer | Accessibility Statement