[Thread Prev][Thread Next][Index]

[ferret_users] Re: regarding if-then-else mask



Dear Ferreters,

My problem is sorted out as there are very few events in this range so it is not shown for value higher that 1.5 for particular months.

regards, saurabh

On Thu, Jun 28, 2018 at 1:24 PM, saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
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


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



--


REGARDS

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

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

Privacy Policy | Disclaimer | Accessibility Statement