Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats November 2014.

Slides:



Advertisements
Similar presentations
Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats March 2006.
Advertisements

Introduction to SPICE Jose Luis Vázquez European Space Astronomy Centre European Space Agency.
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of many “standards,” lingo and common usage within SPICE April 2006.
Navigation and Ancillary Information Facility NIF The SPICE system has been developed by the Jet Propulsion Laboratory, California Institute of Technology,
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of many “standards,” lingo and common usage within SPICE October 2007.
Navigation and Ancillary Information Facility NIF April 2012.
Navigation and Ancillary Information Facility NIF Non-Toolkit Applications April 2012.
Navigation and Ancillary Information Facility NIF Writing an Icy Based Program June 2004.
Navigation and Ancillary Information Facility NIF Writing an Mice (MATLAB) Based Program November 2014.
Navigation and Ancillary Information Facility NIF Shape Model Subsystem Preview (DSK) November 2014.
Navigation and Ancillary Information Facility NIF Matlab Interface to CSPICE “Mice” How to Access the CSPICE library Using Matlab © November 2014 © The.
Navigation and Ancillary Information Facility NIF Time Conversion and Formats June 2004.
Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats January 2009.
Navigation and Ancillary Information Facility NIF Leapseconds and Spacecraft Clock Kernels LSK and SCLK November 2014.
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files January 2009.
Navigation and Ancillary Information Facility NIF MATLAB Interface to CSPICE “Mice” How to Access the CSPICE library Using MATLAB © October 2007 © The.
Navigation and Ancillary Information Facility NIF SPICE Geometry Finder (GF) Subsystem Searching for times when specified geometric conditions occur November.
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of standards, lingo and common usage within SPICE November 2014.
Navigation and Ancillary Information Facility NIF IDs and Names for Physical Objects and Reference Frames November 2014.
Navigation and Ancillary Information Facility NIF JNISPICE March 2006.
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files October 2014.
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of standards, lingo and common usage within SPICE November 2014.
Navigation and Ancillary Information Facility NIF WebGeocalc A Tutorial April 2015 SPICE components and services.
Navigation and Ancillary Information Facility NIF Leapseconds and Spacecraft Clock Kernels LSK and SCLK April 2006.
Navigation and Ancillary Information Facility NIF Summary of Key Points January 2009.
Navigation and Ancillary Information Facility NIF Summary of Key Points October 2014.
Navigation and Ancillary Information Facility NIF The Event Finder April 2005 (A preview of work in progress)
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files March 2006.
Navigation and Ancillary Information Facility NIF Toolkit Applications March 2006.
Navigation and Ancillary Information Facility NIF IDL Interface to CSPICE “Icy” How to Access the CSPICE library Using Interactive Data Language (IDL)
Navigation and Ancillary Information Facility NIF IDL Interface to CSPICE “Icy” How to Access the CSPICE library Using Interactive Data Language (IDL)
Navigation and Ancillary Information Facility NIF NAIF IDs and Names for Physical Objects and Reference Frames March 2006.
Navigation and Ancillary Information Facility NIF Leapseconds and Spacecraft Clock Kernels LSK and SCLK June 2004.
Navigation and Ancillary Information Facility NIF Exception Handling November 2014.
Navigation and Ancillary Information Facility NIF IDL Interface to CSPICE “Icy” How to Access the CSPICE library Using Interactive Data Language (IDL)
Navigation and Ancillary Information Facility NIF IDL Interface to CSPICE “Icy” How to Access the CSPICE library from the Interactive Data Language (IDL)
Navigation and Ancillary Information Facility NIF Toolkit Applications November 2014.
Navigation and Ancillary Information Facility NIF Using C-kernels to Capture Instrument Articulation June 28, 2002 Scott Turner
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files November 2014.
Navigation and Ancillary Information Facility NIF NAIF IDs and Names for Physical Objects and Reference Frames June 2004.
Navigation and Ancillary Information Facility NIF Getting Started Using SPICE April 2006.
Navigation and Ancillary Information Facility NIF Writing an Icy (IDL) Based Program January 2009.
SPICE Production at ESTEC April SPICE Production at ESTEC 2 Overview SPK/CK production SCLK production FK and IKs production Other Kernels.
Navigation and Ancillary Information Facility NIF SPICE System Development Plans March 2006.
Navigation and Ancillary Information Facility NIF Planetary Constants Kernel PCK January 2009.
Navigation and Ancillary Information Facility NIF Planetary Constants Kernel PCK October 2014.
Navigation and Ancillary Information Facility NIF Introduction to Kernels March 2010.
Navigation and Ancillary Information Facility NIF SPICE Toolkit Common Problems November 2014.
Navigation and Ancillary Information Facility NIF Using Module Headers April 2006.
Navigation and Ancillary Information Facility NIF Frames Kernel FK March 2006.
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files March 2010.
Navigation and Ancillary Information Facility NIF SPICE Geometry Finder (GF) Subsystem Searching for times when specified geometric events occur September.
Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats March 2010.
Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats January 2008.
Navigation and Ancillary Information Facility NIF Writing a SPICE (FORTRAN) Based Program November 2014.
Navigation and Ancillary Information Facility NIF SPICE Development Plans and Possibilities October 2007.
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of many “standards,” lingo and common usage within SPICE June 2004.
Navigation and Ancillary Information Facility NIF Using the Frames Subsystem April 2016.
Navigation and Ancillary Information Facility NIF Frames Kernel FK March 2010.
Navigation and Ancillary Information Facility NIF Writing an Mice (MATLAB) Based Program October 2007.
Navigation and Ancillary Information Facility NIF Writing a SPICE-based Fortran Program October 2007.
Toolkit Applications January 2008.
Shape Model Subsystem Preview (DSK)
SPICE, el servicio de información geométrica para ciencias planetarias
Summary of Key Points October 2007.
Toolkit Applications October 2007.
Toolkit Applications June 2004.
“Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files October 2007.
IDL Interface to CSPICE “Icy”
Frames Kernel FK October 2007.
Presentation transcript:

Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats November 2014

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 2 Time inputs to and outputs from user’s programs are usually strings representing epochs in these three time systems: –Ephemeris Time (ET, also referred to as Barycentric Dynamical Time, TDB) –Coordinated Universal Time (UTC) –Spacecraft Clock (SCLK) Time stamps in kernel files, and time inputs to and outputs from SPICE routines reading kernel data and computing derived geometry, are double precision numbers representing epochs in these two time systems: –Numeric Ephemeris Time (TDB), expressed as ephemeris seconds past J2000 –Encoded Spacecraft Clock, expressed as clock ticks since the clock start SPICE provides routines to convert between these string and numeric representations, and the reverse. All time strings used as an argument in a SPICE API must be provided in quotes. –Fortran, Matlab and IDL: use single quotes –C: use double quotes Time Systems and Kernels

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 3 UTC, TDB, or TDT (TT) String to numeric Ephemeris Time –STR2ET ( string, ET ) »Converts virtually any time string format known to the SPICE Time subsystem, excepting SCLK. For example: ‘ T12:28:28’ ‘1978/03/12 23:28:59.29’ ‘Mar 2, :18: p.m. PDT’ ‘ T18:28:12’ ‘ //12:28:28.287’ ‘ JD’ ‘ jd TDB’ ‘ , 12:29:48 TDB’ ‘1992 June 13, 12:29:48 TDT’ »Requires the LSK kernel Spacecraft Clock String to numeric Ephemeris Time –SCS2E ( scid, string, ET ) »Converts SCLK strings consistent with SCLK parameters. For example: ‘5/65439:18:513’ (VGR1), ‘ ’ (MRO), ‘1/ ’ (MSL) »Requires a SCLK kernel and the LSK kernel Converting Time Strings

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 4 Numeric Ephemeris Time to Calendar, DOY or Julian Date UTC, TDB, or TDT String –TIMOUT ( et, fmtpic, STRING ) » fmtpic is an output time string format specification, giving the user great flexibility in setting the appearance of the output time string and the time system used (UTC, TDB, TDT). See the next slide for examples of format pictures to produce a variety of output time strings See the TIMOUT header for complete format picture syntax The module TPICTR may be useful in constructing a format picture specification from a sample time string »Requires LSK Kernel Numeric Ephemeris Time to Spacecraft Clock String –SCE2S (scid, et, SCLKCH ) »Requires the LSK and a SCLK kernel »Output SCLK string examples: ‘1/05812:00:001’ (Voyager 1 and 2) ‘1/ ’ (Cassini, MRO) ‘1/ ’ (MEX, VEX, Rosetta) Converting Numeric Times

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 5 Common Time Strings T12:28: T12:29: , 12:00: TDB JD TDB Less Common Time Strings 465 B.C. Jan 12 03:15:23 p.m. 04:28:55 A.M. June 12, 1982 Thursday November 04, 1999 DEC 31, 15:59: (PST) Format Picture Used (fmtpic) YYYY-MM-DDTHR:MN:SC.### YYYY-DOYTHR:MN:SC ::RND YYYY-MM-DD, HR:MN:SC.### ::TDB TDB JULIAND.######## ::TDB JD TDB Format Picture Used (fmtpic) YYYY ERA Mon DD AP:MN:SC ampm AP:MN:SC AMPM Month DD, YYYY Weekday Month DD, YYYY MON DD, HR:MN:SC YYYY (PST)::UTC-8 Example Time Strings and the Corresponding Format Pictures Use of Time Format Picture

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 6 Additional Time Conversions Numeric Ephemeris Time to Local Solar Time String –ET2LST( et, body, long, type, HR, MN, SC, TIME, AMPM ) »Requires SPK (to compute body position relative to the Sun) and PCK (to compute body rotation) kernels Numeric Ephemeris Time to planetocentric longitude of the Sun (Ls) –LS = LSPCN (body, et, abcorr ) »While Ls is not a time system, it is frequently used to determine body season for a given epoch LS = 0°, Spring LS = 90°, Summer LS = 180°, Autumn LS = 270°, Winter »The Ls calculation requires SPK and PCK kernels

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 7 Barycentric Dynamical Time (TDB or ET) Encoded Spacecraft Clock (Ticks) Time string in UTC, TDB or TDT TIMOUT ET2UTC Spacecraft Clock (SCLK) SCE2SSCS2E SCENCDSCDECD needs lsk needs sclk needs lsk and sclk Principal Time System Interfaces Local Solar Time needs pck and spk ET2LST Uniform time systems (TDT,TAI, JED, JDTDT) DELTETUNITIMSTR2ET UTC seconds past J2000 “L-sub-S” (planetocentric longitude of the sun) LSPCN SCT2E SCE2C (Includes lots of formatting flexibility) Kernels needed = APIs mentioned in this tutorial needs no kernels ETCAL TDB string