netcdf_auto_scale_values

netcdf_auto_scale_values(status)

Sets whether Metview automatically applies scale_factor and add_set attributes if they are present.

Parameters

status (number) – enables/disables auto scaling (0 or 1)

Return type

None

Setting status to 1 enables the scaling (which is the default behaviour), setting it to 0 disables it. If disabled, the the raw numbers encoded in the NetCDF variable will be used in any calculations. This is a global option, not specific to a particular NetCDF file.