Navigation and Ancillary Information Facility NIF Time Conversion and Formats June 2004.

Slides:



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

Lecture Notes on Astrometry Time X Newtonian Viewpoint X Absolute Time X Time Transformation: 1-to-1 X Ordering: Chronology X Precision X Accuracy???
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,
Pre-Launch Testing of NGSLR Ranging to LRO Anthony Mallama Jan McGarry Tom Zagwodzki Jack Cheek Christopher Clarke All at NASA/GSFC.
Navigation and Ancillary Information Facility NIF Motivation for Developing SPICE November 2014.
Navigation and Ancillary Information Facility NIF Non-Toolkit Applications April 2012.
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 Time Formats January 2009.
Navigation and Ancillary Information Facility NIF Time Conversion and Time Formats November 2014.
Navigation and Ancillary Information Facility NIF The SPICE Ephemeris Subsystem SPK Emphasis on reading SPK files March 2006.
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 Fundamental Concepts March 2006.
Navigation and Ancillary Information Facility NIF “Comments” In SPICE Kernels Also known as “meta-data” November 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 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 Introduction to Kernels November 2005.
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 “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 Leapseconds and Spacecraft Clock Kernels LSK and SCLK June 2004.
Navigation and Ancillary Information Facility NIF Introduction to Kernels January 2009.
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 Introduction to WebGeocalc October 2014 SPICE components and services are not restricted under ITAR and.
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.
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 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 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 Making a CK file March 2006.
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.
Mission Analysis with STK
Toolkit Applications January 2008.
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.
SQL – Data types.
Frames Kernel FK October 2007.
Servlet Date Operations
Presentation transcript:

Navigation and Ancillary Information Facility NIF Time Conversion and Formats June 2004

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 2 Kernels Parsing Time Strings –Calendar, DOY, Julian Date –Spacecraft Clock Converting Numeric Times Creating Time Strings - Formats –Calendar, DOY, Julian Date –Spacecraft Clock –Local Solar Time Customizing the Time System Layout of the Time System Overview

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 3 Three time systems are commonly used in SPICE for inputs and outputs: –Coordinated Universal Time (UTC) –Spacecraft Clock (SCLK) –Ephemeris Time (ET, also referred to as Barycentric Dynamical Time, TDB) Two time systems are commonly used in SPICE for kernel data look-ups or for computations –Ephemeris Time (ET, TDB) »Used in SPK, frames, PCK »Used in high-level geometry interfaces –Ticks (encoded spacecraft clock) »Used in the intermediate level CK interfaces The SPICE Leapseconds Kernel and Spacecraft Clock Kernel capture the near-term relationships between –UTC and ET (Leapseconds Kernel) –UTC or ET and SCLK (SCLK Kernel) »The long-term relationships between these systems cannot be accurately predicted Kernels

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 4 UTC, TDB, or TDT (TT) strings to Ephemeris Time –STR2ET ( string, ET ) »String formats may be Calendar, DOY, Julian Date »Requires Leapseconds Kernel (LSK) Spacecraft Clock to Ephemeris Time –SCS2E ( scid, string, ET ) »Requires Spacecraft Clock Kernel (SCLK) »Normally requires Leapseconds Kernel (LSK) as well To handle a very small (~2 msec.) difference between TDB and TT Spacecraft Clock to “Ticks” (used in the mid-level interfaces of the C-kernel system) –SCENCD (scid, string, ticks) »Requires Spacecraft Clock Kernel (SCLK) Parsing Time Strings

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 5 Between Spacecraft Clock "Ticks" and Ephemeris Time –SCT2E ( scid, ticks, ET ) –SCE2C ( scid, et, TICKS ) (continuous ticks) –SCE2T ( scid, et, TICKS ) (discrete ticks) »Requires Spacecraft Clock Kernel (SCLK) »Normally requires Leapseconds Kernel (LSK) as well To handle a very small (~2 msec.) difference between TDB and TT Between any pair of TDB, TDT (TT), TAI, JED, JDTDT represented as double precision numbers –RESULT = UNITIM ( epoch, insys, outsys ) »Requires Leapseconds Kernel (LSK) Find ET-UTC ("DELTA ET", "DUT") at specified ET or UTC time –DELTET ( epoch, eptype, DELTA ) Converting Numeric Times

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 6 Converting Ephemeris Time to Calendar, DOY, Julian Date String –TIMOUT »Requires Leapseconds Kernel –ET2UTC »Requires Leapseconds Kernel –ETCAL »Produces Ephemeris Calendar Time Strings (TDB). »Fixed format. »No Leapseconds Kernel is required. Creating Time Strings - Formats - 1

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 7 TIMOUT ( et, fmtpic, STRING ) –et is the familiar seconds past J2000 –fmtpic (format picture) is a specification giving the user great flexibility in setting the appearance of the output time string »YYYY Mon DD, HR:MN:SC.### ::UTC 1999 Jan 12, 23:28: »YYYY Mon DD, AP:MN:SC.### ampm ::UTC-8 (PST) 1999 Jan 12, 03:28: p.m. (PST) »See the header for the TIMOUT module »The module TPICTR may be useful in constructing a format picture specification from a sample string Creating Time Strings - Formats - 2

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 8 Times T12:28:29 (UTC) T12:29:33 (TDB) Wed Nov 03, 19:29: B.C. Jan 12 03:15:23 p.m T04:29:58 04:28:55 A.M. June 12, 1982 Thursday November 04, 1999 DEC 31, 15:59: (PST) Format picture used YYYY-DOYTHR:MN:SC (UTC) YYYY-DOYTHR:MN:SC (TDB) ::TDB Wkd Mon DD, HR:MN:SC YYYY YYYY ERA Mon DD AP:MN:SC ampm YYYY-MM-DDTHR:MN:SC AP:MN:SC AMPM Month DD, YYYY Weekday Month DD, YYYY MON DD, HR:MN:SC YYYY (PST)::UTC-8 Creating Time Strings - Formats - 3

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 9 Converting Ephemeris Time to Spacecraft Clock Strings –SCE2S »Requires both LSK and SCLK Converting Ticks to Spacecraft Clock Strings –SCDECD »Requires SCLK Converting Ephemeris Time to Local Solar Time Strings –ET2LST »Requires SPK, PCK Creating Time Strings - Formats - 4

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 10 Defaults –Two digit year (a bad idea but supported): –Time System: UTC –Calendar: Gregorian Adjustments –The one hundred year interval to which two digit years belong may be set. For example –Time Systems: UTC, TDB, TT (Terrestrial Time) –Calendar: Gregorian, Julian, or Mixed. See TIMDEF or Time Required Reading (time.req) for details Customizing the Time System

Navigation and Ancillary Information Facility NIF Time Conversion and Formats 11 Barycentric Dynamical Time (TDB or ET) Encoded Spacecraft Clock (Ticks) SCT2E SCE2C (SCE2T) Coordinated Universal Time (UTC) TIMOUT ET2UTC Spacecraft Clock (SCLK) SCE2SSCS2E SCENCDSCDECD needs lsk needs sclk needs lsk and sclk Layout of the Time System Local Solar Time needs pck and spk ET2LST Uniform time systems (TDT,TAI, JED, JDTDT) DELTETUNITIMSTR2ET UTC seconds past J2000