DEIMOS
Earth Explorer Mission CFI Software
DataHandling Software User Manual
ESA


Earth Explorer Mission CFI Software
DATAHANDLING SOFTWARE USER MANUAL

Code EE-MA-DMS-GS-012
Issue 1.0
Date 27/03/2009

  Name Function Signature
Prepared by: Carlos Villanueva Muñoz Project Engineer  
Checked by: Juan José Borrego Bote Project Manager  
Approved by: José Antonio González Abeytua Division Head  


DOCUMENT INFORMATION

Contract Data Classification
Contract Number: 15583/01/NL/GS Internal  
Public  
Contract Issuer: ESA / ESTEC Industry X
Confidential  

External Distribution
Name Organization Copies
     

Electronic handling
Document generator: Doxygen 1.5.8
Electronic file name: ee-ma-dms-gs-012-10

Document Status Log

Issue Change Description Date Approval
1.0 First release
These libraries corresponds to version 4.0 of C libraries.
27/03/09  


ACRONYMS AND NOMENCLATURE

Acronyms

ANX Ascending Node Crossing
AOCS Attitude and Orbit Control Subsystem
ASCII American Standard Code for Information Interchange
BOM Beginning Of Mission
CFI Customer Furnished Item
EOM End Of Mission
ESA European Space Agency
ESTEC European Space Technology and Research Centre
GPL GNU Public License
GPS Global Positioning System
IERS International Earth Rotation Service
I/F Interface
LS Leap Second
OBT On-board Binary Time
OSF Orbit Scenario File
SRAR Satellite Relative Actual Reference
SUM Software User Manual
TAI International Atomic Time
UTC Coordinated Universal Time
UT1 Universal Time UT1
WGS[84 World Geodetic System 1984


Nomenclature

CFI A group of CFI functions, and related software and documentation. that will be distributed by ESA to the users as an independent unit
CFI function A single function within a CFI that can be called by the user
Library A software library containing all the CFI functions included within a CFI plus the supporting functions used by those CFI functions (transparently to the user)


APPLICABLE AND REFERENCE DOCUMENTS

Applicable Documents

[GEN_SUM] Earth Explorer Mission CFI Software. General Software User Manual. EE-MA-DMS-GS-017. Issue 1.0 27/03/09

Reference Documents

[MCD] Earth Explorer Mission CFI Software. Mission Conventions Document. EE-MA-DMS-GS-0001. Issue 1.4 0208/07.
[EE_COMMON_SUM] Earth Explorer Mission CFI Software. EECommon Software User Manual. EE-MA-DMS-GS-010. Issue 1.0 27/03/09.
[F_H_SUM] Earth Explorer Mission CFI Software. FileHandling Software User Manual. EE-MA-DMS-GS-011. Issue 1.0 27/03//09.
[D_H_SUM] Earth Explorer Mission CFI Software. DataHandling Software User Manual. EE-MA-DMS-GS-012. Issue 1.0 27/03/09.
[IERS] http://www.iers.org/iers/publications/bulletins/


INTRODUCTION

Classes Overview

This software library contains a set of classes for reading and writing Earth Explorer Mission Files. The following CFI classes for reading/writing files are included:

The following classes to contain data are also included:

Reading routines

Writing routines

Validation of XML files


LIBRARY INSTALLATION

For a detailed description of the installation of any CFI library, please refer to [GEN_SUM].


LIBRARY USAGE

Note that to use the DATA_HANDLING software library, the following other CFI software libraries are required:

It is needed to have properly installed in the system the following external GPL library:

To use the DATA_HANDLING software library in an user application, that application must include in its source code the header files where the classes that are going to be used are defined.
To link correctly this application, the user must include in his linking command flags like (assuming cfi_lib_dir and cfi_include_dir are the directories where respectively all CFI libraries and include files have been installed, see [GEN_SUM] for installation procedures):

Note that, as EECFI libraries are dynamic, cfi_lib_dir must be included in the path where the system looks for dynamic libraries (LD_LIBRARY_PATH in LINUX and SOLARIS, DYLD_LIBRARY_PATH in MacOs). For WINDOWS sytem, the executable will look for .dll libraries, not the .lib ones that are used to create the executable, so they must be in the path described by PATH variable.
All the classes described in this document are defined in EECFI namespace, to avoid any possible conflict with classes of other libraries, so the user must choose one of the following two options in order to use the classes:

Finally, in order to use the function EEFile::validate , it is neccessary the xerces-c 2.7 (or later) dynamic library and the SAX2Count executable program. Both of them are distributed under Apache 2.0 Licence (More information about xerces-c can be found in: http://xml.apache.org/xerces-c/index.html). EEFile::validate internally calls the SAX2Count program, so that in order to find it, the path for SAX2Count and the xerces-c dynamic library has to be included in the environment variable PATH (For LINUX and SOLARIS, the xerces library has to be included in the LD_LIBRARY_PATH instead).


ERROR HANDLING

The error management in C++ DATA_HANDLING is made throw exceptions, that is, if any error is produced, an exception of type CfiError is thrown and it must be catched putting the code inside a try-catch block.
See [GEN_SUM] to know more about how to handle the CFI errors. For a descripton about the CfiError class and its methods, see [EE_COMMON_SUM].


Generated on Mon May 11 11:25:18 2009 for by doxygen 1.5.8