'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.'

def getValue(self):

    return self.data.item()
