Converts values of type double to values of type float and preserves metadata.
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" function dble2flt ( x : double ) return_val [dimsizes(x)] : float
An array of any dimensionality and of type double.
An array of the same size as x and of type float.
This function converts values of type double to values of type float and preserves metadata.
Note: this function is slightly different than the built-in set of conversion functions (like floattointeger and shorttobyte), because it requires loading the "contributed.ncl" script and it preserves metadata. It has a slightly different naming style than the built-in functions, just to set it apart from these other functions.
See here for an example script that uses this function. No other examples are available currently.