NCL Home > Documentation > Functions > Date routines

ut_convert_fix

Converts a time variable from one set of units to another (temporary function; see the 6.4.0 release notes for details).

Available in version 6.4.0 and later.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"  ; This library is automatically loaded
                                                             ; from NCL V6.2.0 onward.
                                                             ; No need for user to explicitly load.

	function ut_convert_fix (
		dateFrom  : numeric,  
		unitsTo   : string    
	)

	return_val [dimsizes(dateFrom)] :  double

Arguments

dateFrom

unitsTo

Description

This is a temporary function with the same calling sequence as ut_convert. It is being provided for user test purposes only and potentially as a replacement function. See the 6.4.0 release notes for details. A decision will be made about this function in a future release of NCL.