external/CDAWlib/
encode_CDFEPOCH.pro
NAME: ENCODE_CDFEPOCH PURPOSE: Convert a 'yyyy/mm/dd hh:mm:ss' string into CDF epoch time CALLING SEQUENCE: e = encode_cdfepoch(instring) INPUTS: instring = string in the form: 'yyyy/mm/dd hh:mm:ss' KEYWORD PARAMETERS: epoch16 - if set, the value returned is double complex epoch16 value tt2000 - if set, the value returned is a 8 byte integer tt200 value if not set, return the usual epoch double value OUTPUTS: e = CDF epoch timetag (i.e. DOUBLE, millisecs since 0 A.D.) if /epoch16 set, return an epoch16 value which is a double complex. Newly supported in IDL6.3 and CDF3.1 - added here by TJK on 7/19/2006. if /tt2000 is set, return a tt2000 value which is an 8 byte int. Newly support in CDF3.3.3 to support leap seconds... by TJK 8/22/2011. AUTHOR: Richard Burley, NASA/GSFC/Code 632.0, Feb 13, 1996 burley@nssdca.gsfc.nasa.gov (301)286-2864 MODIFICATION HISTORY: 8/20/96 : R. Burley : Modify so that input parameter is not : changed by this function. Copyright 1996-2013 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.
Routines
File attributes
Modification date: | Tue Oct 21 13:53:48 2014 |
Lines: | 30 |