...
which returns the nth value from the current netcdf variable.
Time variables (Metview 5)
Variables which are detected to be of 'time' type (e.g. attribute standard_name='time', plus other checks) are, by default, retrieved by the value()
and values()
functions as a date or a list of dates. This behaviour can be toggled calling the function netcdf_auto_translate_times()
with an argument of 1 or 0 to activate/deactivate the translation to dates. If deactivated, the value()
and values()
functions will instead return a number or a vector of raw numbers as they are encoded in the variable.