iode.is_NA

iode.is_NA(value: float) bool[source]

Check whether a float value represents a valid IODE number or an IODE Not Available \(NA\) value.

Parameters:
value: float
Returns:
bool

True if the float value represents an IODE Not Available \(NA\) value.

Examples

>>> from iode import NA, is_NA
>>> is_NA(1.0)
False
>>> is_NA(NA)
True