| Earth Observation Mission CFI Software Visibility Software User Manual |

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# Z:/work/code/expcfidev/cplusplusWrapper/Visibility/include/Swath.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------------
    00006 // CVS Info: $Id: Swath.h,v 1.9 2012/06/20 16:11:36 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 #include "SatNomTransId.h"
    00027 #include "SatTransId.h"
    00028 #include "InstrTransId.h"
    00029
    00030 //--NAMESPACES--------------------------------------------------------
    00031 using namespace std;
    00032
    00033 namespace EECFI
    00034 {
    00035
    00039   class Swath: public CfiClass
    00040   {
    00041     public:
    00042
    00044       Swath();
    00045
    00047       Swath( const OrbitId &orbitId, string swathFileName ) throw (CfiError);
    00048
    00050       Swath( const OrbitId &orbitId, long orbitNum, string swathFileName ) throw (CfiError);
    00051
    00053       ~Swath() throw (CfiError);
    00054
    00056       void set( const OrbitId &orbitId, string swathFileName ) throw (CfiError);
    00057
    00059       void set( const OrbitId &orbitId, long orbitNum, string swathFileName ) throw (CfiError);
    00060
    00062       void set( const AtmosId &atmosId ) throw (CfiError);
    00063
    00065       VisibilityList zoneVisTime( long startOrbit, long stopOrbit,
    00066                                   string zoneId, string zoneDBFile,
    00067                                   long projection,
    00068                                   double minDuration ) throw (CfiError);
    00069
    00071       VisibilityList zoneVisTime( long startOrbit, long stopOrbit,
    00072                                   long projection, const ZoneRec &zoneRec,
    00073                                   double minDuration ) throw (CfiError);
    00074
    00076       VisibilityList zoneVisTime( long startOrbit, long stopOrbit,
    00077                                   long projection, const StfFile &stfFile,
    00078                                   const ZoneRec &zoneRec,
    00079                                   double minDuration ) throw (CfiError);
    00080
    00082       VisibilityList stationVisTime( long startOrbit,long stopOrbit,
    00083                                      string staId, string staDBFile,
    00084                                      long mask, double aosElevation, double losElevation,
    00085                                      double minDuration ) throw (CfiError);
    00086
    00088       VisibilityList stationVisTime( long startOrbit,long stopOrbit,
    00089                                      const StfFile &stfFile, const StationRec &staRec,
    00090                                      long mask, double aosElevation, double losElevation,
    00091                                      double minDuration ) throw (CfiError);
    00092
    00095       VisibilityList scVisTime( const SatNomTransId &satNomTransId1,
    00096                                 const SatTransId &satTransId1, const InstrTransId &instrTransId1,
    00097                                 long startOrbit,long stopOrbit,
    00098                                 const OrbitId &orbitId2, const SatNomTransId &satNomTransId2,
    00099                                 const SatTransId &satTransId2, const InstrTransId &instrTransId2,
    00100                                 LinkData &linkData, double minDuration ) throw (CfiError); // AN-430
    00101
    00103       VisibilityList multiZonesVisTime( long startOrbit, long stopOrbit,
    00104                                 const vector<string> &zoneId, string zoneDBFile,
    00105                                 const vector<long> &projection, const vector<ZoneRec> &zoneRec,
    00106                                 double minDuration, bool extraInfoFlag ) throw (CfiError);
    00107
    00109       VisibilityList multiStationsVisTime( long startOrbit,long stopOrbit,
    00110                                 const vector<string> &staId, string staDBFile,
    00111                                 const vector<double> &aosElevation, const vector<double> &losElevation,
    00112                                 const vector<long> &mask, double minDuration, bool extraInfoFlag ) throw (CfiError);
    00113
    00115       vector<VisibilityList> mapping( long startOrbit, long stopOrbit,
    00116                                 string zoneId, string zoneDBFile,
    00117                                 long projection ) throw (CfiError);
    00118
    00120       vector<VisibilityList> mapping( long startOrbit, long stopOrbit,
    00121                                 long projection, const ZoneRec &zoneRec ) throw (CfiError);
    00122
    00124       string genSwath( long requestedOrbit, string dirName, string swathFile,
    00125                        string fileClass, long versionNumber, string fhSystem ) throw (CfiError);
    00126
    00128       StfFile* genSwath( long requestedOrbit, const SdfFile &sdfFile ) throw (CfiError);
    00129
    00131       vector<Geodetic> getPos( const StfFile &stfFile, const ANXTime &anxTime ) throw(CfiError);
    00132
    00134       string genScf( string instrument, const VisibilityList &visList, const vector<ScfAppear> &scfApp,
    00135                              string dirName, string scfFileName, string fileClass, long versionNumber,
    00136                              string fhSystem ) throw(CfiError);
    00137
    00138     protected:
    00139
    00140     private:
    00141
    00142       OrbitId orbitId;
    00143       AtmosId atmosId;
    00144       long swathFlag    ;
    00145       string swathFileName;
    00146
    00148       VisibilityList zoneVisTime( long startOrbit, long stopOrbit,
    00149                                   long zoneFlag,
    00150                                   string zoneId, string zoneDBFile,
    00151                                   long projection, const ZoneRec &zoneRec,
    00152                                   double minDuration ) throw (CfiError);
    00153
    00155       vector< VisibilityList> mapping( long startOrbit, long stopOrbit,
    00156                                 bool zoneFlag,
    00157                                 string zoneId, string zoneDBFile,
    00158                                 long projection, const ZoneRec &zoneRec ) throw (CfiError);
    00159   };
    00160
    00161 } // closing namespace
    00162
    00163 #endif