...
attr_list = attributes(netcdf)
date = attr_list.DATE
levelist = attr_list.LEVELIST
none netcdf_auto_translate_times( number )
(Metview 5)
Sets whether Metview automatically translates time variables into dates when retrieving with the value()
or values()
functions. Setting the input number to 1 enables the translation (which is the default behaviour), setting it to 0 disables it. If disabled, these functions will instead return the raw numbers encoded in the netCDF variable.
list dimensions( netcdf )
This returns a list of numbers, each representing one of the dimensions of the data held in the netcdf :
...
var_list = variables(netcdf)
for i = 1 to count(var_list) do
setcurrent(netcdf, i)
netcdf = netcdf - 273.15 # acts on current variable only
end for
number or date or string value ( netcdf, number )
Returns the nth (second parameter) value of the current netcdf variable.
vector or date or list values( netcdf )
vector or date or list values( netcdf,list )
Returns a vector (if the current variable is numeric) or a list of strings (if the current variable is character-based) or a list of dates (if the current variable is time-based, Metview 5) containing all the values of the current variable.
...