![]() |
Earth Observation Mission CFI Software Visibility Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.3 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: Swath.h,v 1.7 2011/11/23 13:06:15 expcfi Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _SWATH_H 00010 #define _SWATH_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <vector> 00014 #include <string> 00015 00016 #include "VisibilityData.h" 00017 #include "CfiError.h" 00018 #include "OrbitId.h" 00019 #include "AtmosId.h" 00020 #include "ZoneRec.h" 00021 #include "VisibilityList.h" 00022 #include "Geodetic.h" 00023 #include "StfFile.h" 00024 #include "SdfFile.h" 00025 #include "StationRec.h" 00026 00027 //--NAMESPACES-------------------------------------------------------- 00028 using namespace std; 00029 00030 namespace EECFI 00031 { 00032 00036 class Swath: public CfiClass 00037 { 00038 public: 00039 00041 Swath(); 00042 00044 Swath( const OrbitId &orbitId, string swathFileName ) throw (CfiError); 00045 00047 Swath( const OrbitId &orbitId, long orbitNum, string swathFileName ) throw (CfiError); 00048 00050 ~Swath() throw (CfiError); 00051 00053 void set( const OrbitId &orbitId, string swathFileName ) throw (CfiError); 00054 00056 void set( const OrbitId &orbitId, long orbitNum, string swathFileName ) throw (CfiError); 00057 00059 void set( const AtmosId &atmosId ) throw (CfiError); 00060 00062 VisibilityList zoneVisTime( long startOrbit, long stopOrbit, 00063 string zoneId, string zoneDBFile, 00064 long projection, 00065 double minDuration ) throw (CfiError); 00066 00068 VisibilityList zoneVisTime( long startOrbit, long stopOrbit, 00069 long projection, const ZoneRec &zoneRec, 00070 double minDuration ) throw (CfiError); 00071 00073 VisibilityList zoneVisTime( long startOrbit, long stopOrbit, 00074 long projection, const StfFile &stfFile, 00075 const ZoneRec &zoneRec, 00076 double minDuration ) throw (CfiError); 00077 00079 VisibilityList stationVisTime( long startOrbit,long stopOrbit, 00080 string staId, string staDBFile, 00081 long mask, double aosElevation, double losElevation, 00082 double minDuration ) throw (CfiError); 00083 00085 VisibilityList stationVisTime( long startOrbit,long stopOrbit, 00086 const StfFile &stfFile, const StationRec &staRec, 00087 long mask, double aosElevation, double losElevation, 00088 double minDuration ) throw (CfiError); 00089 00091 VisibilityList multiZonesVisTime( long startOrbit, long stopOrbit, 00092 const vector<string> &zoneId, string zoneDBFile, 00093 const vector<long> &projection, const vector<ZoneRec> &zoneRec, 00094 double minDuration, bool extraInfoFlag ) throw (CfiError); 00095 00097 VisibilityList multiStationsVisTime( long startOrbit,long stopOrbit, 00098 const vector<string> &staId, string staDBFile, 00099 const vector<double> &aosElevation, const vector<double> &losElevation, 00100 const vector<long> &mask, double minDuration, bool extraInfoFlag ) throw (CfiError); 00101 00103 vector<VisibilityList> mapping( long startOrbit, long stopOrbit, 00104 string zoneId, string zoneDBFile, 00105 long projection ) throw (CfiError); 00106 00108 vector<VisibilityList> mapping( long startOrbit, long stopOrbit, 00109 long projection, const ZoneRec &zoneRec ) throw (CfiError); 00110 00112 string genSwath( long requestedOrbit, string dirName, string swathFile, 00113 string fileClass, long versionNumber, string fhSystem ) throw (CfiError); 00114 00116 StfFile* genSwath( long requestedOrbit, const SdfFile &sdfFile ) throw (CfiError); 00117 00119 vector<Geodetic> getPos( const StfFile &stfFile, const ANXTime &anxTime ) throw(CfiError); 00120 00122 string genScf( string instrument, const VisibilityList &visList, const vector<ScfAppear> &scfApp, 00123 string dirName, string scfFileName, string fileClass, long versionNumber, 00124 string fhSystem ) throw(CfiError); 00125 00126 protected: 00127 00128 private: 00129 00130 OrbitId orbitId; 00131 AtmosId atmosId; 00132 long swathFlag ; 00133 string swathFileName; 00134 00136 VisibilityList zoneVisTime( long startOrbit, long stopOrbit, 00137 long zoneFlag, 00138 string zoneId, string zoneDBFile, 00139 long projection, const ZoneRec &zoneRec, 00140 double minDuration ) throw (CfiError); 00141 00143 vector< VisibilityList> mapping( long startOrbit, long stopOrbit, 00144 bool zoneFlag, 00145 string zoneId, string zoneDBFile, 00146 long projection, const ZoneRec &zoneRec ) throw (CfiError); 00147 }; 00148 00149 } // closing namespace 00150 00151 #endif