Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.10 00003 //-------------------------------------------------------- 00004 00005 //---------------------------------------------------------------- 00006 // CVS Info: $Id: SP3File.h,v 1.3 2014-03-20 17:20:12 cavm Exp $ 00007 //---------------------------------------------------------------- 00008 00009 #ifndef _SP3FILE_H 00010 #define _SP3FILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include "EEFile.h" 00014 #include "OsvRec.h" 00015 #include "CfiError.h" 00016 00017 #include <string> 00018 #include <vector> 00019 00020 //-NAMESPACES------------------------------------------ 00021 using namespace std; 00022 00023 namespace EECFI 00024 { 00025 00029 class OsvRecSP3 00030 { 00031 public: 00032 long type; 00033 long identifier; 00034 string idString; 00035 long satAccuracy; 00036 long numRec; 00037 vector<OsvRec> osvRec; 00038 }; 00039 00043 class SP3File:public EEFile 00044 { 00045 public: 00046 00047 // Line 1 00048 long type; 00049 double globalTimeStart; 00050 string dataUsed; 00051 string coordinateSystem; 00052 string orbitType; 00053 string agency; 00054 00055 // Line 2 00056 long gpsWeek; 00057 double secondsOfWeek; 00058 double epochIntervalSeconds; 00059 double julianDateStart; 00060 double fractionalDay; 00061 00062 // Lines 3-7 00063 long numSat; 00064 00065 // Line 13 00066 long fileTypeDescriptor; 00067 long timeSystemIndicator; 00068 00069 // Line 15 00070 double posVelStdDev; 00071 double clockStdDev; 00072 00073 // Lines 19-22 00074 vector<string> comments; 00075 00076 double deltaTaiGps; 00077 00078 vector<OsvRecSP3> osvRecSP3; 00079 00081 SP3File(); 00082 00084 SP3File(const string fileNam); 00085 00087 ~SP3File(); 00088 00090 void read() throw (CfiError); 00091 00093 void read(OsvListReadConfiguration osvListReadConfig) throw (CfiError); 00094 00095 protected: 00096 00097 private: 00098 00099 00100 00101 };//class SP3File 00102 }//namespace EECFI 00103 00104 #endif