SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.io.netcdf_variable.getValue

netcdf_variable.getValue(self)[source]

Retrieve a scalar value from a netcdf_variable of length one.

Raises
ValueError

If the netcdf variable is an array of length greater than one, this exception will be raised.

Previous topic

scipy.io.netcdf_variable.assignValue

Next topic

scipy.io.netcdf_variable.itemsize