Navigation and Ancillary Information Facility NIF Porting Kernels November 2005.

Slides:



Advertisements
Similar presentations
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of many “standards,” lingo and common usage within SPICE April 2006.
Advertisements

Lecture 5: security: PGP Anish Arora CIS694K Introduction to Network Security.
Navigation and Ancillary Information Facility NIF Shape Model Subsystem Preview (DSK) November 2014.
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.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Navigation and Ancillary Information Facility NIF Introduction to Kernels October 2014.
FTP (File Transfer Protocol) & Telnet
Simple Mail Transfer Protocol (SMTP)
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.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Electronic mail security. Outline Pretty good privacy S/MIME.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Navigation and Ancillary Information Facility NIF “Camera-matrix” Kernel CK (Orientation or Attitude Kernel) Emphasis on reading CK files October 2014.
The OSI Model An ISO (International standard Organization) that covers all aspects of network communications is the Open System Interconnection (OSI) model.
Navigation and Ancillary Information Facility NIF Introduction to Kernels November 2005.
Navigation and Ancillary Information Facility NIF Preparing for Programming Using the SPICE Toolkit January 2009.
Chapter 6 Electronic Mail Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI 1.
Navigation and Ancillary Information Facility NIF Preview of a Web-based GUI Interface to SPICE “WebGeocalc” The NAIF and UCD Teams August 22, 2011 SPICE.
Navigation and Ancillary Information Facility NIF Preparing for Programming Using the SPICE Toolkit March 2010.
Navigation and Ancillary Information Facility NIF Preparing for Programming Using the SPICE Toolkits November 2014.
Navigation and Ancillary Information Facility NIF SPICE Conventions A summary of standards, lingo and common usage within SPICE November 2014.
Cryptography and Network Security (CS435) Part Twelve (Electronic Mail Security)
Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
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 Preparing for Programming Using the SPICE Toolkit January 2008.
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)
Security PGP IT352 | Network Security |Najwa AlGhamdi 1.
Navigation and Ancillary Information Facility NIF Introduction to Kernels January 2009.
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 Exception Handling October 2014.
Navigation and Ancillary Information Facility NIF Getting Started Using SPICE April 2006.
Navigation and Ancillary Information Facility NIF SPICE System Development Plans March 2006.
File Transfer Protocol (FTP) FTP host stores files Client logs into host Client program sends command to get a file FTP host downloads the file with error.
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 Frames Kernel FK March 2006.
Navigation and Ancillary Information Facility NIF Finding SPICE Components An Introduction to the NAIF Server January 2009.
Navigation and Ancillary Information Facility NIF Porting SPICE Kernels Between Computers June 2004.
Security  is one of the most widely used and regarded network services  currently message contents are not secure may be inspected either.
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 SPICE Development Plans and Possibilities October 2007.
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 “Metadata” In SPICE Kernels Also known as “comments” January 2009.
Navigation and Ancillary Information Facility NIF Frames Kernel FK March 2010.
Week-7 (Lecture-1) Internet Protocols: TCP/IP, Client Server: Protocol: Specification in networking and Communications It defines the procedures to be.
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.
GCSE ICT Data Transfer. Data transfer Users often need to transfer data between software packages or computers. Until relatively recently this was difficult.
Security Depart. of Computer Science and Engineering 刘胜利 ( Liu Shengli) Tel:
Navigation and Ancillary Information Facility NIF “Metadata” In SPICE Kernels Also known as “comments” October 2007.
Toolkit Applications June 2004.
Module 4 Remote Login.
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
Working at a Small-to-Medium Business or ISP – Chapter 7
William Stallings Data and Computer Communications
ONLINE SECURE DATA SERVICE
Presentation transcript:

Navigation and Ancillary Information Facility NIF Porting Kernels November 2005

Navigation and Ancillary Information Facility NIF Porting Kernels 2 Porting Issues - 1 Data formats vary across platforms, so data files from one platform may not be usable on another. Binary data formats: different platforms use different bit patterns to represent numbers (and possibly characters). Text formats: different platforms use different mechanisms to represent “lines” in text files. Usually a “line terminator character sequence” indicates end-of-line. We say two platforms have “compatible” binary (text) formats if they use the same binary data (text) representations. We also say that a file is “native” if its format is that used on a given host system. The Toolkit has some ability to read data files from incompatible platforms: Usually binary SPK, CK, or PCK kernels from one system can be read on another, incompatible system (e.g. any pair of PC, Mac, Sun). For CSPICE and Icy, text kernels from one system can be usually be read on another, incompatible system (e.g. any pair of PC, Mac, Sun). Where the Toolkit supports the reading of incompatible files, binary transfer means (e.g. sftp) may be used.

Navigation and Ancillary Information Facility NIF Porting Kernels 3 Porting Issues - 2 The Toolkit cannot read certain data files from incompatible platforms: DAS-based files, such as ESQ E-kernels or plate model kernels Transfer format kernels of any type Older versions of the Toolkit have limited or no ability to read incompatible (non-native) kernels. When the Toolkit cannot read incompatible kernels, conversions are required to make kernels usable: For text files, file transfer using ftp ASCII mode will perform required format conversion on the fly. Web browsers often can do text format conversion. However ASCII mode may not be available---sftp clients usually don’t provide it. In such cases other tools such as dos2unix and unix2dos must be used. For binary kernels, SPICE tools may be used to convert files to and from SPICE transfer format; this is an ASCII format that may be transferred in the same way as other ASCII files.

Navigation and Ancillary Information Facility NIF Porting Kernels 4 Compatible Environments for Text Kernels Since text kernels are only text files…

Navigation and Ancillary Information Facility NIF Porting Kernels 5 Compatible Environments for Binary Kernels

Navigation and Ancillary Information Facility NIF Porting Kernels 6 Porting Summary *SPICE Toolkit Version N0052 was released February, 2002 SPICE Toolkit Version N0060 was released January, 2006

Navigation and Ancillary Information Facility NIF Porting Kernels 7 Language Compatibility The C, FORTRAN, and IDL SPICE Toolkits possess the same kernel read and write attributes. –This applies whether using a pre-Version N0052 or a post- Version N0052 Toolkit. –This applies whether using “transfer” format to port a binary kernel, or the new N0052 kernel reader modules to do on-the-fly translation of data in a binary kernel.

Navigation and Ancillary Information Facility NIF Porting Kernels 8 Porting Rules - 1 Never transfer any type of binary kernel using ftp’s ASCII mode. –The line terminator conversion intended for pure text files will corrupt the binary data. You may safely use the binary mode of ftp when moving binary or text kernels between compatible computing environments. –Use an ftp client or use an Internet browser with ftp://….. –Can also use AFS, NFS or unix cp, scp, or sftp

Navigation and Ancillary Information Facility NIF Porting Kernels 9 Porting Rules - 2 Starting with the N0060 release, the CSPICE and Icy Toolkits can read non-native text kernels. –Users may move text kernels between incompatible environments using binary means (e.g. ftp, sftp, cp, scp, afs) when using CSPICE or Icy on the destination platform. Caution: SPICE “transfer format” kernels can not be ported using binary means.

Navigation and Ancillary Information Facility NIF Porting Kernels 10 Porting Rules - 3 Porting text kernels between incompatible environments when using FORTRAN, and porting “transfer format” files no matter what platforms are being used, requires care. sftp and scp perform pure binary data transfers. –Simple commands to convert line terminator »Use Unix commands: »dos2unix, unix2dos »Or use Perl: Dos->Unix perl -pi -e 's/\015\012/\012/' file_name Unix->Dos perl -pi -e 's/\012/\015\012/' file_name

Navigation and Ancillary Information Facility NIF Porting Kernels 11 Porting Rules - 4 NAIF recommends against the use of to transfer kernels… …unless tests prove successful using the same conditions/computers intended for current use. Possible problem causes: –Incompatible binary or text representations (as already discussed). –An attachment size limit somewhere in the chain. –The sender’s or recipient’s mail client modifies the kernel based on file name or presumed content. –When you must kernels, compress either with zip, or gzip (or stuffit) to the file then send the compressed file as an attachment.

Navigation and Ancillary Information Facility NIF Porting Kernels 12 Porting Binary Kernels - Caveats (1) This process is really not “porting” the file; rather it is run-time interpretation of non-native binary files. If the kernel you are using is a non-native binary kernel you can read this file but you may not write data to this file. –You can not use the SPICE Toolkit’s “commnt” or “spacit” programs, or any other means, to write information into the comment area, or to delete information from the comment area. –You cannot append additional data to the kernel. Run-time conversion does not work for E-kernel (ESQ) files. –More generally, it does not yet work for any file built upon the SPICE “DAS” architecture. This process will not work when a VAX is the source or destination machine –No plans to add this capability. Using version N0052 Toolkit or later

Navigation and Ancillary Information Facility NIF Porting Kernels 13 Porting Binary Kernels - Allowed Operations (1) You may “load” and read both non-native and native binary kernels in the same runtime instance You may merge any combination of native and non- native SPK files –The resultant, merged SPK file will be in native format Using version N0052 Toolkit or later

Navigation and Ancillary Information Facility NIF Porting Kernels 14 Porting Binary Kernels - Allowed Operations (2) You can convert a non-native binary file to native binary format by going through the binary–to transfer–to binary conversion process using NAIF Toolkit utilities “toxfr” and “tobin” –Converting to native binary format will speed up read access –This simple, two-step process takes place on one machine »See flow chart below: ephemeris.xsp (native binary format) (non-native binary format) (“transfer” format) ephemeris.bsp Using version N0052 Toolkit or later toxfr tobin

Navigation and Ancillary Information Facility NIF Porting Kernels 15 Future Plans for Porting Kernels NAIF does not anticipate further revising FORTRAN (SPICELIB) text kernel readers to process non-native (incompatible) text kernels. –As of Toolkit version N0057, the FURNSH loader checks the line terminator, signaling an error on non-native text kernels. NAIF does anticipate extending the ability to use non-native binary files to EK (ESQ) files. –More generally, NAIF will extend non-native read to any SPICE file based on the “DAS” architecture. NAIF does not plan to extend the ability to use non-native binary files to any situation involving any VAX computer or a DEC Alpha computer using VMS. –Users must continue to use the SPICE “transfer format” process when using these environments.