netcdf_auto_translate_times

netcdf_auto_translate_times(status)

Sets whether Metview automatically translates time variables into dates when retrieving with the value() or values() functions.

Parameters

status (number) – enables/disables translation (0 or 1)

Return type

None

Setting status to 1 enables the translation (which is the default behaviour), setting it to 0 disables it. If disabled, value() and values() will instead return the raw numbers encoded in the NetCDF variable. This is a global option, not specific to a particular NetCDF file.