pub fn decode_cf(a: &NdArrowArray) -> Result<(NdArrowArray, CfEncoding)>Expand description
Mask fill and out-of-range values as nulls, then unpack scale and offset.
_FillValueand everymissing_valuebecome null.- Values outside
valid_min,valid_maxorvalid_rangebecome null. - With
scale_factororadd_offset, the result isvalue * scale + offsetin the type of those attributes (a float type), else inFloat64.
The CF keys move from the attributes to the returned CfEncoding.