PDS_VERSION_ID = PDS3 RECORD_TYPE = STREAM OBJECT = TEXT PUBLICATION_DATE = 2012-08-31 NOTE = " README.TXT describes the files included in this directory." END_OBJECT = TEXT END ReadMe.txt written by R.J. Wilson, 2012-Aug-31 This directory lists the example codes given in section 4.7 of the Cassini CAPS Users guide document. It contains the test binary file SNG_200528400_U3.DAT used to give the sample output in section 4.7.5 so you can try to exactly mirror this (just in case the PDS archive file for this DAYQ is updated later). The output text file you should get from any of these codes is shown in file: SNG_example_output.txt These test files all output a text file that ends in \n, not \r\n. All codes are shown for example and can be improved for all of speed, usefulness and elegance, the intent here was merely clarity - not efficiency. All codes have been tested locally and do work with the following versions of software: Matlab: tested on Mac, Matlab 2010b Python: tested on Mac, Python 2.7.3 -- EPD 7.3-1 (32-bit) IDL: tested on Mac, Version 8.0, Mac OS X (darwin x86_64 m64). (c) 2010 SNG_example_idl_old.pro is the first example given, SNG_example_idl.pro is the newer example (and the simpler one). c code: tested on Mac: gcc version 4.2.1 (Apple Inc. build 5666) (dot 3) (No warnings nor errors produced on compile.) Also tested with the Mac Intel compiler, icc. Version: Intel(R) C Intel(R) 64 Compiler Professional for applications running on Intel(R) 64, Version 11.1, Build 20100806 Package ID: m_cproc_p_11.1.089 This does give two remarks (not warnings nor errors): SNG_example_c.c(8): remark #1419: external declaration in primary source file void SwapUnsignedInt16( unsigned short int *a ); ^ SNG_example_c.c(9): remark #1419: external declaration in primary source file void SwapDouble( double *a ); ^ But you can ignore both, or simply code better than I did.