Earth Observation Mission CFI Software Orbit Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.11 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: OrbitFunc.h,v 1.13 2014-02-20 20:02:31 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _ORBITFUNC_H 00010 #define _ORBITFUNC_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include "OrbitData.h" 00014 #include "CfiError.h" 00015 #include "CfiClass.h" 00016 #include "TimeCorrelation.h" 00017 #include "SatId.h" 00018 #include "ModelId.h" 00019 00020 //--NAMESPACES-------------------------------------------------------- 00021 using namespace std; 00022 00023 namespace EECFI 00024 { 00025 00029 class XO_DECL OrbitFunc: public CfiClass 00030 { 00031 public: 00033 OrbitFunc(); 00034 00036 ~OrbitFunc(); 00037 00039 static string genOef( string oef, string osf, string pof, string fileClass, 00040 long versionNumber, string fhSystem ) throw (CfiError); 00041 00045 static string genOsf( const SatId &satId, const ModelId &modelId, const TimeCorrelation &timeCor, long absOrbitNum, 00046 long cycleNumber, long phaseNumber, long repeatCycle, 00047 long cycleLength, double anxLong, long driftMode, 00048 double inclination, double mlstDrift, double mlst, 00049 double date, string outputDir, string outputFileName, 00050 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00051 00053 static string genOsf( const SatId &satId, const ModelId &modelId, const TimeCorrelation &timeCor, 00054 double date, const OrbitInfo &missionInfo, const RefOrbitInfo &refOrbitInfo, 00055 string outputDir, string outputFileName, 00056 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00057 00061 static string genOsfAppendOrbitChange( const SatId &satId, const ModelId &modelId, 00062 const TimeCorrelation &timeCor, 00063 string inputFilename, long absOrbitNum, 00064 long repeatCycle, long cycleLength, double anxLong, 00065 long driftMode, double inclination, double mlstDrift, double mlst, 00066 long phaseIncrement, string outputDir, string outputFileName, 00067 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00068 00070 static string genOsfAppendOrbitChange( const SatId &satId, const ModelId &modelId, 00071 const TimeCorrelation &timeCor, 00072 string inputFilename, long absOrbitNum, 00073 const RefOrbitInfo &refOrbitInfo, 00074 long phaseIncrement, string outputDir, string outputFileName, 00075 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00076 00080 static string genOsfChangeRepeatCycle( const SatId &satId, const ModelId &modelId, 00081 const TimeCorrelation &timeCor, 00082 string inputFileName, long absOrbitNum, long searchDirection, 00083 long repeatCycle, long cycleLength, double anxLong, 00084 long driftMode, double inclination, double mlstDrift, 00085 long phaseIncrement, string outputDir, string outputFileName, 00086 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00087 00089 static string genOsfChangeRepeatCycle( const SatId &satId, const ModelId &modelId, 00090 const TimeCorrelation &timeCor, 00091 string inputFileName, long absOrbitNum, long searchDirection, 00092 const RefOrbitInfo &refOrbitInfo, 00093 long phaseIncrement, string outputDir, string outputFileName, 00094 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00095 00097 static string genOsfAddDriftCycle( const SatId &satId, const ModelId &modelId, 00098 const TimeCorrelation &timeCor, 00099 string inputFileName, long driftStartOrbit, long driftStopOrbit, 00100 double driftStopAnxLong, double maxAltitudeChange, 00101 long phaseIncStart, long phaseIncStop, 00102 string outputDir, string outputFileName, 00103 string fileClass, long versionNumber, string fhSystem) throw (CfiError); 00104 00106 static string genPof( const SatId &satId, const ModelId &modelId, 00107 const TimeCorrelation &timeCor, long timeRef, 00108 long timeInit, double startTime, double stopTime, 00109 long startOrbit, long stopOrbit, double osvLocation, 00110 long refFiletype, string referenceFile, 00111 string preciseConfFile, 00112 long pofFileType, 00113 string outputDir, string outputFileName, 00114 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00115 00117 static string genRof( const SatId &satId, const ModelId &modelId, 00118 const TimeCorrelation &timeCor, long timeRef, 00119 long timeInit, double startTime, double stopTime, 00120 long startOrbit, long stopOrbit, 00121 double osvInterval, long osvPrecise, 00122 long refFiletype, string referenceFile, 00123 string preciseConfFile, 00124 long rofFileType, 00125 string outputDir, string outputFileName, 00126 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00127 00129 static string genRofPrototype( const SatId &satId, const ModelId &modelId, 00130 const TimeCorrelation &timeCor, 00131 long timeRef, long propagModel, 00132 double time0, long orbit0, long timeInitMode, 00133 double startTime, long startOrbit, 00134 double stopTime, long stopOrbit, long driftMode, 00135 double ascmlstDrift, double inclination, 00136 long repRef, long cycRef, double rLong, double ascmlst, 00137 double osvInterval, long rofFileType, 00138 string outputDir, string outputFileName, 00139 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00140 00142 static string genDnf( const SatId &satId, const ModelId &modelId, 00143 const TimeCorrelation &timeCor, long timeRef, 00144 long timeInit, double startTime, double stopTime, 00145 long startOrbit, long stopOrbit, 00146 double osvInterval, long osvPrecise, 00147 long refFiletype, string referenceFile, 00148 long dnfFileType, 00149 string preciseConfFile, 00150 string ctrlFile, 00151 string outputDir, string outputFileName, 00152 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00153 00155 static string genTle( const SatId &satId, long fitMode, const TimeCorrelation &timeCor, 00156 long timeRef, long timeMode, double startTime, double stopTime, 00157 long startOrbit, long stopOrbit, 00158 string referenceFile, string outputFileName ) throw (CfiError); 00159 00161 static vector<double> checkOsf( const SatId &satId, const ModelId &modelId, 00162 const TimeCorrelation &timeCor, 00163 string osfFile, long transitionNumber, 00164 vector<double> threshold) throw (CfiError); 00165 00167 static vector< pair<double,double> > checkOef( const SatId &satId, const ModelId &modelId, 00168 const TimeCorrelation &timeCor, long timeRef, 00169 long timeMode, double startTime, double stopTime, 00170 long startOrbit, long stopOrbit, string oefFile, 00171 const vector<double> threshold) throw (CfiError); 00172 00174 static long orbitDataFilter(vector<OrbitFile> &osvDataIn, 00175 OrbitDataFilterConfiguration &filterSettings, 00176 vector<OrbitFile> &osvDataOut, 00177 OrbitDataFilterReport &filterReport) throw (CfiError); 00178 00180 static long orbitDataFilter(vector<DorisFile> &osvDataIn, 00181 OrbitDataFilterConfiguration &filterSettings, 00182 vector<DorisFile> &osvDataOut, 00183 OrbitDataFilterReport &filterReport) throw (CfiError); 00184 00185 00186 protected: 00187 00188 00189 private: 00190 }; 00191 00192 } // closing namespace 00193 00194 #endif