...
If you need to have access to the data values of a netcdf current variable, you can use function values()
:
val_list = values(netcdf)
...
An alternative method for accessing individual values is to the use the function value()
:
val = value(netcdf, n)
which returns the nth value from the current netcdf variable.
...