This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / _netcdf / netcdf_variable / _apply_missing_value

staticmethod

scipy.io._netcdf:netcdf_variable._apply_missing_value

source: build-install/usr/lib/python3.14/site-packages/scipy/io/_netcdf.py:1073

Signature

staticmethoddef _apply_missing_value(data, missing_value)

Summary

Applies the given missing value to the data array.

Extended Summary

Returns a numpy.ma array, with any value equal to missing_value masked out (unless missing_value is None, in which case the original array is returned).

Aliases

  • scipy.io.netcdf_variable._apply_missing_value