MGH_DT_CALDAT
Name
MGH_DT_CALDAT
Purpose
Like CALDAT but implemented as a function returning a
structure. It also has a different argument order and an optional
time-zone argument.
Calling Sequence
result = MGH_DT_CALDAT(dtjul, ZONE=zone)
Positional Parameters
dtjul (input, numeric scalar or array)
Date & time in Julian days.
Keyword Parameters
ZONE (input, numeric scalar or array)
Time zone in hours. Default is 0.
Return Value
The function returns a structure scalar or array, with the same
shape as the input, with tags YEAR, MONTH, DAY, HOUR,
MINUTE, SECOND and ZONE.
###########################################################################
Copyright (c) 2013 NIWA:
http://www.niwa.co.nz/
Licensed under the MIT open source license:
http://www.opensource.org/licenses/mit-license.php
###########################################################################
Modification History
Mark Hadfield, 2000-08:
Written.
Mark Hadfield, 2001-05:
Added ZONE keyword.
Mark Hadfield, 2002-12:
Documentation improvements.
Mark Hadfield, 2005-01:
Result now has the same shape as the input.
Mark Hadfield, 2005-01:
Copyright/license notice changed.