[Thread Prev][Thread Next][Index]

Re: Question about Making NaN..



jammal Tanclei wrote:

Hi, Ferret Users.
I need to change the value of 0.0 to "NaN" because after that I'm going to use function of @FLN to do interpolation at the boundary of land.
Is there anybody to help me?
You can do something like this:

let var1 = if data lt 0.0 then data
let var = if var1 gt 0.0 then data else var1

This should leave 0.0 undefined in var.

Jordan


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement