[missing] change NaN value to normal value

Soooooooooooooo simple.

Usually, land is defined as “NaN” value, which can not be applied arithmetic.

It’s useful for changing NaN value to normal value, then you can put some number on it.


yes? use coads_climatology

yes? let new_sst = missing(sst[d=1],999)

yes? shade new_sst[l=1]

yes? list new_sst[l=1]

Now you can see the change of land value from NaN to 999.


Sooo, Simple. 🙂



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.