Navigation and Ancillary Information Facility NIF “Metadata” In SPICE Kernels Also known as “comments” January 2009.

Slides:



Advertisements
Similar presentations
Utilizing the GDB debugger to analyze programs Background and application.
Advertisements

Creating a Form on a Web Page
Introduction to C Programming
Navigation and Ancillary Information Facility NIF Non-Toolkit Applications April 2012.
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
Navigation and Ancillary Information Facility NIF Matlab Interface to CSPICE “Mice” How to Access the CSPICE library Using Matlab © November 2014 © The.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Navigation and Ancillary Information Facility NIF Porting Kernels October 2014.
Navigation and Ancillary Information Facility NIF Porting Kernels January 2009.
Navigation and Ancillary Information Facility NIF Getting and Installing the SPICE Toolkit October 2014.
Navigation and Ancillary Information Facility NIF Leapseconds and Spacecraft Clock Kernels LSK and SCLK November 2014.
Slide 1 of 19 Welcome to GSA’s Vendor and Customer Self Service (VCSS) course Section 7: Correspondence Navigation This presentation is compliant with.
Navigation and Ancillary Information Facility NIF Introduction to Kernels October 2014.
Lesson 1: Introduction to ABAP OBJECTS Todd A. Boyle, Ph.D. St. Francis Xavier University.
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 “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.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files October 2014.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Navigation and Ancillary Information Facility NIF Introduction to Kernels November 2005.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 6: Sequential Data Files.
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
Navigation and Ancillary Information Facility NIF Preparing for Programming Using the SPICE Toolkits November 2014.
1 A Guide to SQL Chapter 2. 2 Introduction Mid-1970s: SQL developed under the name SEQUEL at IBM by San Jose research facilities to be the data manipulation.
Navigation and Ancillary Information Facility NIF Leapseconds and Spacecraft Clock Kernels LSK and SCLK April 2006.
 Pearson Education, Inc. All rights reserved Introduction to Java Applications.
Navigation and Ancillary Information Facility NIF Toolkit Applications March 2006.
Microsoft Outlook 2010 Chapter 3 Managing Contacts and Personal Contact Information with Outlook.
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.
Text Editing February 2 nd, 2004 Class Meeting 3.
Navigation and Ancillary Information Facility NIF Toolkit Applications November 2014.
Navigation and Ancillary Information Facility NIF Instrument Kernel IK January 2009.
Navigation and Ancillary Information Facility NIF Porting Kernels November 2005.
Chapter Three The UNIX Editors.
Navigation and Ancillary Information Facility NIF Instrument Kernel IK November 2014.
Navigation and Ancillary Information Facility NIF Events Kernel Sequence Component ESQ One of three components of the E-kernel Subsystem June 2004.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Navigation and Ancillary Information Facility NIF Introduction to Kernels March 2010.
Navigation and Ancillary Information Facility NIF SPICE Toolkit Common Problems November 2014.
Text editing and more basic commands CS 2204 Class meeting 3 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Navigation and Ancillary Information Facility NIF Using Module Headers April 2006.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Navigation and Ancillary Information Facility NIF Porting SPICE Kernels Between Computers June 2004.
Navigation and Ancillary Information Facility NIF Porting Kernels March 2010.
Navigation and Ancillary Information Facility NIF Getting and Installing the SPICE Toolkit November 2014.
Navigation and Ancillary Information Facility NIF Welcome to the SPICE Tutorials November 2014.
Navigation and Ancillary Information Facility NIF Instrument Kernel IK June 2004.
William V. Richardson Jr. and John T. Barrera Personnel Defense Property Accountability System (DPAS) Warehousing Application United States Marine Corps.
Navigation and Ancillary Information Facility NIF “Metadata” In SPICE Kernels a.k.a. “comments” March 2006.
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 Getting and Installing the SPICE Toolkit January 2008.
Navigation and Ancillary Information Facility NIF Getting and Installing the SPICE Toolkit April 2006.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Navigation and Ancillary Information Facility NIF “Metadata” In SPICE Kernels Also known as “comments” October 2007.
Journal of Mountain Science (JMS)
Chapter 6: Sequential Data Files
Toolkit Applications January 2008.
SQL and SQL*Plus Interaction
Toolkit Applications October 2007.
Toolkit Applications June 2004.
Guide To UNIX Using Linux Third Edition
Linux Operations and Administration
Wells Fargo Toolkit – CreativeBuilder Reference Guide
Presentation transcript:

Navigation and Ancillary Information Facility NIF “Metadata” In SPICE Kernels Also known as “comments” January 2009

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 2 Metadata are information that describe the context of kernel data, i.e. “data about data” Metadata are provided as plain text (prose) Examples of metadata: –Data descriptions »“This file contains representations of the trajectories for bodies X, Y and Z over the interval from launch to landing” –Data accuracy –Data pedigree »How and by whom was the kernel created The program(s) and/or steps used in creation Contact information for user’s questions – address –phone numbers »Data sources used as inputs when creating the kernel –Intended kernel usage –Companion files In SPICE, we often refer to metadata as “comments” What are Metadata?

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 3 Binary kernels contain a reserved “comment” area to hold comments Text kernels have comments interleaved with the data –Comments may be placed at the beginning of the text kernel, before any data –Comments may be inserted between data using \begintext and \begindata as start and end markers: \begintext Some comments \begindata Some data Where are Comments Stored?

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 4 Binary Kernels –Use the commnt utility program, available in the Toolkit –Include comment information at the time of kernel creation using SPICE APIs (subroutines) »This capability is not yet available in Mice Text Kernels –Use a text editor »Begin comment sections with the “ \begintext ” marker alone on a line (The marker is not needed for comments placed at the beginning of a text kernel) »End comment sections with a “ \begindata ” marker alone on a line (The marker is not needed if there are no data following the comments) Restrictions –For both binary and text kernels »Comment line length limit is 255 characters. However, NAIF recommends using no more than 80 characters per line as this makes your comments far more readable! »Use only printing characters (ASCII ) »Manipulating binary kernel comments requires the kernel be in the native binary format for the machine being used –For text kernels »Refer to “Kernel Required Reading” (kernel.req) for details Adding Comments to Kernels

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 5 Viewing Comments in Kernels Binary kernels: –Use either the commnt or spacit utility program »Both are available in all Toolkits Text kernels: –Use any available text file utility, such as: »more, cat, vi, emacs »Notepad, TextEdit, BBEdit, Word, etc.

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 6 Terminal Window prompt> commnt Welcome to COMMNT Version: (SPICE Toolkit N0062) COMMNT Options ( Q ) Quit. ( A ) Add comments to a binary file. ( R ) Read the comments in a binary file. ( E ) Extract the comments from a binary file. ( D ) Delete the comments in a binary file. Option: R Enter the name of the binary file. Filename? /home/mydirectory/myproject/kernels/spk/de403s.bsp Viewing Comments in Binary Kernels Filename must include any required path and contain no more than 255 characters This example shows reading the comments

Navigation and Ancillary Information Facility NIF Metadata in SPICE Kernels 7 Terminal Window prompt> more naif0008.tls KPL/LSK LEAPSECONDS KERNEL FILE =============================================================== Modifications: , Aug. 3 NJB Modified file to account for the leapsecond that will occur on December 31, , Jun 17 WLT Modified file to account for the leapsecond that will occur on December 31, , Feb 22 WLT Modified file to account for the leapsecond that will occur on June 30, …etc. --More--(19%) -More--(19%) Viewing Comments in Text Kernels