bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / io / _netcdf / netcdf_variable / getValue
function
scipy.io._netcdf:netcdf_variable.getValue
source: build-install/usr/lib/python3.14/site-packages/scipy/io/_netcdf.py:908
Signature
def getValue(self)Summary
Retrieve a scalar value from a netcdf_variable of length one.
Returns
: scalarThe scalar value contained in the length-one netcdf variable.
Raises
: ValueErrorIf the netcdf variable is an array of length greater than one, this exception will be raised.
Aliases
scipy.io.netcdf_variable.getValue