Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 00022 namespace EECFI 00023 { 00024 00028 class XD_DECL OsvRecSP3 00029 { 00030 public: 00031 long type; 00032 long identifier; 00033 std::string idString; 00034 long satAccuracy; 00035 long numRec; 00036 std::vector<OsvRec> osvRec; 00037 }; 00038 00042 class XD_DECL SP3File:public EEFile 00043 { 00044 public: 00045 00046 // Line 1 00047 long type; 00048 double globalTimeStart; 00049 std::string dataUsed; 00050 std::string coordinateSystem; 00051 std::string orbitType; 00052 std::string agency; 00053 00054 // Line 2 00055 long gpsWeek; 00056 double secondsOfWeek; 00057 double epochIntervalSeconds; 00058 double julianDateStart; 00059 double fractionalDay; 00060 00061 // Lines 3-7 00062 long numSat; 00063 00064 // Line 13 00065 long fileTypeDescriptor; 00066 long timeSystemIndicator; 00067 00068 // Line 15 00069 double posVelStdDev; 00070 double clockStdDev; 00071 00072 // Lines 19-22 00073 std::vector<std::string> comments; 00074 00075 double deltaTaiGps; 00076 00077 std::vector<OsvRecSP3> osvRecSP3; 00078 00080 SP3File(); 00081 00083 explicit SP3File(const std::string &fileNam); 00084 00086 ~SP3File() NOEXCEPT; 00087 00089 void read() ; 00090 00092 void read(const OsvListReadConfiguration &osvListReadConfig) ; 00093 00094 protected: 00095 00096 private: 00097 00098 00099 00100 };//class SP3File 00101 }//namespace EECFI 00102 00103 #endif