print(variable_name/attribute name/string, format string);
The print function takes a variable name or attribute name or
a quoted string and prints the contents in a in a similar fashion to
ncks -H.
There is also an optional C style format string argument.
Currently the print function cannot print RAM variables or expressions
such as 'print(var_msk*3+4)'.
To print an expression, first evaluate it as a non-RAM variable (so it
will be saved and can be printed), and then print the variable.
examples
print(lon);
lon[0]=0
lon[1]=90
lon[2]=180
lon[3]=270
print(lon_2D_rrg,"%3.2f,");
0.00,0.00,180.00,0.00,180.00,0.00,180.00,0.00,
print(mss_val_fst@_FillValue);
mss_val_fst@_FillValue, size = 1 NC_FLOAT, value = -999
print("This function \t is monotonic\n");
This function is monotonic