Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

euv_date/

sampex_time2js.pro

topsampex_time2js

time conversion

result = sampex_time2js(st)

convert sampex_time to julian seconds SAMPEX time is: seconds since 01 JAN 1992 00:00:00 (UT) JS are seconds after 2000 Jan 1 0:00.

find the offset between the two and use that to convert

Return value

an array (or scalar) of julian seconds

Parameters

st in required

scalar or array of sampex times

Examples

IDL> print, sampex_time2js(1e6) -2.5146080e+08

Author information

History:

Wed Jan 9 11:20:22 2008, Brian Larsen written and tested

Statistics

Lines: 13
McCabe complexity:

File attributes

Modifcation date: Thu Dec 4 15:19:00 2008
Lines: 52
Disclaimer