cf.List.fill_value¶
-
List.
fill_value
(default=None)[source]¶ Return the data array missing data value.
This is the value of the
missing_value
CF property, or if that is not set, the value of the_FillValue
CF property, else if that is not set,None
. In the last case the defaultnumpy
missing data value for the array’s data type is assumed if a missing data value is required.See also
- Parameters
- default: optional
If the missing value is unset then return this value. By default, default is
None
. If default is the special value'netCDF'
then return the netCDF default value appropriate to the data array’s data type is used. These may be found with thecf.default_netCDF_fillvals
function. For example:>>> cf.default_netCDF_fillvals() {'S1': '