Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 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 <CfiError.h> 00014 #include <EEFile.h> 00015 #include <OsvRec.h> 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00026 class XD_DECL OsvRecSP3 00027 { 00028 public: 00029 long type; 00030 long identifier; 00031 std::string idString; 00032 long satAccuracy; 00033 long numRec; 00034 std::vector<OsvRec> osvRec; 00035 }; 00036 00040 class XD_DECL SP3File : public EEFile 00041 { 00042 public: 00043 // Line 1 00044 long type; 00045 double globalTimeStart; 00046 std::string dataUsed; 00047 std::string coordinateSystem; 00048 std::string orbitType; 00049 std::string agency; 00050 00051 // Line 2 00052 long gpsWeek; 00053 double secondsOfWeek; 00054 double epochIntervalSeconds; 00055 double julianDateStart; 00056 double fractionalDay; 00057 00058 // Lines 3-7 00059 long numSat; 00060 00061 // Line 13 00062 long fileTypeDescriptor; 00063 long timeSystemIndicator; 00064 00065 // Line 15 00066 double posVelStdDev; 00067 double clockStdDev; 00068 00069 // Lines 19-22 00070 std::vector<std::string> comments; 00071 00072 double deltaTaiGps; 00073 00074 std::vector<OsvRecSP3> osvRecSP3; 00075 00077 SP3File(); 00078 00080 explicit SP3File(const std::string& fileNam); 00081 00084 SP3File(const SP3File& other); 00085 00087 ~SP3File() NOEXCEPT; 00088 00091 SP3File& operator=(const SP3File& other); 00092 00094 void read(); 00095 00097 void read(const OsvListReadConfiguration& osvListReadConfig); 00098 00099 }; //class SP3File 00100 } //namespace EECFI 00101 00102 #endif