Navigation

Operators and Keywords

Function List:

C++ API

Loadable Function: status = ncautoscale(nv)
Loadable Function: nv = ncautoscale(nv,status)

If ncautoscale is called with one argument, it returns the autoscale status of the NetCDF variable nv. With two arguments, it sets the autoscale status to status. If autoscale status is 1, octave variable to store are scaled by the corresponding value of the add_offset and scale_factor attribute:

octave_variable = scale_factor * netcdf_variable + add_offset  

This feature is disabled if autoscale is 0 (default).

See also: ncautoscale.

Package: octcdf