OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
DataSetSummary.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef DataSetSummary_h
13 #define DataSetSummary_h
14 
15 #include <iostream>
18 
19 namespace ossimplugins
20 {
26 {
27 public:
32 
36  virtual ~DataSetSummary();
37 
41  friend std::ostream& operator<<(std::ostream& os, const DataSetSummary& data);
42 
47 
51  DataSetSummary(const DataSetSummary& rhs);
52 
57 
62  {
63  return new DataSetSummary();
64  };
65 
70  {
71  return new DataSetSummary(*this);
72  };
73 
77  void Read(std::istream& is)
78  {
79  is>>*this;
80  };
81 
85  void Write(std::ostream& os)
86  {
87  os<<*this;
88  };
89 
94  {
95  return _seq_num;
96  };
101  {
102  return _sar_chn;
103  };
107  std::string get_scene_id()
108  {
109  return _scene_id;
110  };
114  std::string get_scene_des()
115  {
116  return _scene_des;
117  };
121  std::string get_inp_sctim()
122  {
123  return _inp_sctim;
124  };
128  std::string get_asc_des()
129  {
130  return _asc_des;
131  };
135  double get_pro_lat()
136  {
137  return _pro_lat;
138  };
142  double get_pro_long()
143  {
144  return _pro_long;
145  };
149  double get_pro_head()
150  {
151  return _pro_head;
152  };
156  std::string get_ellip_des()
157  {
158  return _ellip_des;
159  };
163  double get_ellip_maj()
164  {
165  return _ellip_maj;
166  };
170  double get_ellip_min()
171  {
172  return _ellip_min;
173  };
177  double get_earth_mass()
178  {
179  return _earth_mass;
180  };
184  double get_grav_const()
185  {
186  return _grav_const;
187  };
191  double* get_ellip_j()
192  {
193  return _ellip_j;
194  };
195 
199  double get_terrain_h()
200  {
201  return _terrain_h;
202  };
207  {
208  return _sc_lin;
209  };
214  {
215  return _sc_pix;
216  };
220  double get_scene_len()
221  {
222  return _scene_len;
223  };
227  double get_scene_wid()
228  {
229  return _scene_wid;
230  };
231 
235  double get_nchn()
236  {
237  return _nchn;
238  };
239 
243  std::string get_mission_id()
244  {
245  return _mission_id;
246  };
250  std::string get_sensor_id()
251  {
252  return _sensor_id;
253  };
257  std::string get_orbit_num()
258  {
259  return _orbit_num;
260  };
264  double get_plat_lat()
265  {
266  return _plat_lat;
267  };
271  double get_plat_long()
272  {
273  return _plat_long;
274  };
278  double get_plat_head()
279  {
280  return _plat_head;
281  };
285  double get_clock_ang()
286  {
287  return _clock_ang;
288  };
293  {
294  return _incident_ang;
295  };
296 
301  {
302  return _wave_length;
303  };
307  std::string get_motion_comp()
308  {
309  return _motion_comp;
310  };
314  std::string get_pulse_code()
315  {
316  return _pulse_code;
317  };
321  double* get_ampl_coef()
322  {
323  return _ampl_coef;
324  };
328  double* get_phas_coef()
329  {
330  return _phas_coef;
331  };
336  {
337  return _chirp_ext_ind;
338  };
339 
343  double get_fr()
344  {
345  return _fr;
346  };
350  double get_rng_gate()
351  {
352  return _rng_gate;
353  };
357  double get_rng_length()
358  {
359  return _rng_length;
360  };
364  std::string get_baseband_f()
365  {
366  return _baseband_f;
367  };
371  std::string get_rngcmp_f()
372  {
373  return _rngcmp_f;
374  };
378  double get_gn_polar()
379  {
380  return _gn_polar;
381  };
385  double get_gn_cross()
386  {
387  return _gn_cross;
388  };
393  {
394  return _chn_bits;
395  };
399  std::string get_quant_desc()
400  {
401  return _quant_desc;
402  };
406  double get_i_bias()
407  {
408  return _i_bias;
409  };
413  double get_q_bias()
414  {
415  return _q_bias;
416  };
420  double get_iq_ratio()
421  {
422  return _iq_ratio;
423  };
424 
425 
429  double get_ele_sight()
430  {
431  return _ele_sight;
432  };
436  double get_mech_sight()
437  {
438  return _mech_sight;
439  };
443  std::string get_echo_track()
444  {
445  return _echo_track;
446  };
450  double get_fa()
451  {
452  return _fa;
453  };
457  double get_elev_beam()
458  {
459  return _elev_beam;
460  };
464  double get_azim_beam()
465  {
466  return _azim_beam;
467  };
472  {
473  return _sat_bintim;
474  };
479  {
480  return _sat_clktim;
481  };
486  {
487  return _sat_clkinc;
488  };
489 
493  std::string get_fac_id()
494  {
495  return _fac_id;
496  };
500  std::string get_sys_id()
501  {
502  return _sys_id;
503  };
507  std::string get_ver_id()
508  {
509  return _ver_id;
510  };
514  std::string get_fac_code()
515  {
516  return _fac_code;
517  };
521  std::string get_lev_code()
522  {
523  return _lev_code;
524  };
528  std::string get_prod_type()
529  {
530  return _prod_type;
531  };
535  std::string get_algor_id()
536  {
537  return _algor_id;
538  };
542  double get_n_azilok()
543  {
544  return _n_azilok;
545  };
549  double get_n_rnglok()
550  {
551  return _n_rnglok;
552  };
556  double get_bnd_azilok()
557  {
558  return _bnd_azilok;
559  };
563  double get_bnd_rnglok()
564  {
565  return _bnd_rnglok;
566  };
570  double get_bnd_azi()
571  {
572  return _bnd_azi;
573  };
577  double get_bnd_rng()
578  {
579  return _bnd_rng;
580  };
584  std::string get_azi_weight()
585  {
586  return _azi_weight;
587  };
591  std::string get_rng_weight()
592  {
593  return _rng_weight;
594  };
598  std::string get_data_inpsrc()
599  {
600  return _data_inpsrc;
601  };
605  double get_rng_res()
606  {
607  return _rng_res;
608  };
612  double get_azi_res()
613  {
614  return _azi_res;
615  };
620  {
621  return _radi_stretch;
622  };
626  double* get_alt_dopcen()
627  {
628  return _alt_dopcen;
629  };
630 
634  double* get_crt_dopcen()
635  {
636  return _crt_dopcen;
637  };
641  std::string get_time_dir_pix()
642  {
643  return _time_dir_pix;
644  };
648  std::string get_time_dir_lin()
649  {
650  return _time_dir_lin;
651  };
655  double* get_alt_rate()
656  {
657  return _alt_rate;
658  };
659 
663  double* get_crt_rate()
664  {
665  return _crt_rate;
666  };
667 
671  std::string get_line_cont()
672  {
673  return _line_cont;
674  };
678  std::string get_clutter_lock()
679  {
680  return _clutter_lock;
681  };
685  std::string get_auto_focus()
686  {
687  return _auto_focus;
688  };
693  {
694  return _line_spacing;
695  };
700  {
701  return _pix_spacing;
702  };
706  std::string get_rngcmp_desg()
707  {
708  return _rngcmp_desg;
709  };
710 
711 protected:
715  int _seq_num;
719  int _sar_chn;
723  std::string _scene_id;
727  std::string _scene_des;
731  std::string _inp_sctim;
735  std::string _asc_des;
739  double _pro_lat;
743  double _pro_long;
747  double _pro_head;
751  std::string _ellip_des;
755  double _ellip_maj;
759  double _ellip_min;
763  double _earth_mass;
767  double _grav_const;
771  double _ellip_j[3];
772 
776  double _terrain_h;
780  int _sc_lin;
784  int _sc_pix;
788  double _scene_len;
792  double _scene_wid;
793 
797  double _nchn;
798 
802  std::string _mission_id;
806  std::string _sensor_id;
810  std::string _orbit_num;
814  double _plat_lat;
818  double _plat_long;
822  double _plat_head;
826  double _clock_ang;
831 
835  double _wave_length;
839  std::string _motion_comp;
843  std::string _pulse_code;
847  double _ampl_coef[5];
851  double _phas_coef[5];
856 
860  double _fr;
864  double _rng_gate;
868  double _rng_length;
872  std::string _baseband_f;
876  std::string _rngcmp_f;
880  double _gn_polar;
884  double _gn_cross;
892  std::string _quant_desc;
896  double _i_bias;
900  double _q_bias;
904  double _iq_ratio;
905 
909  double _ele_sight;
913  double _mech_sight;
917  std::string _echo_track;
921  double _fa;
925  double _elev_beam;
929  double _azim_beam;
942 
946  std::string _fac_id;
950  std::string _sys_id;
954  std::string _ver_id;
958  std::string _fac_code;
962  std::string _lev_code;
966  std::string _prod_type;
970  std::string _algor_id;
974  double _n_azilok;
978  double _n_rnglok;
982  double _bnd_azilok;
986  double _bnd_rnglok;
990  double _bnd_azi;
994  double _bnd_rng;
998  std::string _azi_weight;
1002  std::string _rng_weight;
1006  std::string _data_inpsrc;
1010  double _rng_res;
1014  double _azi_res;
1018  double _radi_stretch[2];
1022  double _alt_dopcen[3];
1023 
1027  double _crt_dopcen[3];
1031  std::string _time_dir_pix;
1035  std::string _time_dir_lin;
1039  double _alt_rate[3];
1040 
1044  double _crt_rate[3];
1045 
1049  std::string _line_cont;
1053  std::string _clutter_lock;
1057  std::string _auto_focus;
1069  std::string _rngcmp_desg;
1070 
1071 private:
1072 
1073 };
1074 }
1075 #endif
int get_sc_lin()
Scene centre line number
double get_rng_length()
Range pulse length
double _fr
Range sampling rate
double _wave_length
Radar wave length
std::string _ellip_des
Ellipsoid designator.
std::string _clutter_lock
Clutter lock applied flag
double get_ele_sight()
Electronic boresight
int _chn_bits
Number of bits per channel
double _crt_rate[3]
Cross track Doppler rate term
double get_pro_long()
Processed scene centre longitude
double _alt_rate[3]
Along track Doppler rate term
double _bnd_azilok
Bandwidth per look in azimuth,Hz
double * get_crt_dopcen()
Cross track Doppler frequency terms
double _azi_res
Azimuth resolution, meter
std::string _asc_des
Ascending/descending.
std::string get_mission_id()
Mission identifier
std::string get_clutter_lock()
Clutter lock applied flag
double get_grav_const()
Gravitational constant
int get_sar_chn()
SAR channel indicator
double * get_ampl_coef()
Range chirp coefficients
double get_n_rnglok()
Number of range looks
std::string _quant_desc
Quantization descriptor
double _elev_beam
Elevation beamwidth
std::string get_azi_weight()
Azimuth weighting designator
std::string _auto_focus
Auto-focus applied flag
double _rng_length
Range pulse length
double get_plat_head()
Platform heading
double get_i_bias()
I channel DC bias
double get_q_bias()
Q channel DC bias
std::string get_ellip_des()
Ellipsoid designator.
double get_pro_lat()
Processed scene centre latitude
double * get_crt_rate()
Cross track Doppler rate term
double _line_spacing
Line spacing, meters
std::string _sys_id
Processing system identifier
double get_azi_res()
Azimuth resolution, meter
double _incident_ang
Incidence angle
std::string _algor_id
Processing algorithm identifier
double get_mech_sight()
Mechanical boresight
double _bnd_rnglok
Bandwidth per look in range,Hz
std::string _scene_des
Scene designator.
int _seq_num
Sequence number.
double get_bnd_rnglok()
Bandwidth per look in range,Hz
std::string _sensor_id
Sensor identifier
double _crt_dopcen[3]
Cross track Doppler frequency terms
double get_pro_head()
Processed scene centre headng
double _clock_ang
Sensor clock angle
double _phas_coef[5]
Range phase coefficients
std::string get_sys_id()
Processing system identifier
double _bnd_azi
Total azimuth look bandwidth
int get_chn_bits()
Number of bits per channel
std::string _orbit_num
Orbit number
int _sc_pix
Scene centre pixel number
double _azim_beam
Azimuth beamwidth
double * get_alt_rate()
Along track Doppler rate term
double get_line_spacing()
Line spacing, meters
double _ellip_min
Ellipsoid semi_minor axis, km
double get_rng_gate()
Range gate start time
std::string get_ver_id()
Processing version identifier
int _chirp_ext_ind
Chirp extraction index
double _ellip_maj
Ellipsoid semi-major axis, km
double _plat_long
Platform geodetic longitude
std::string get_quant_desc()
Quantization descriptor
int get_sat_clkinc()
Satellite clock increment
int get_sc_pix()
Scene centre pixel number
double _terrain_h
Average terrain height, km
double get_azim_beam()
Azimuth beamwidth
int get_seq_num()
Sequence number.
double _pro_long
Processed scene centre longitude
This class is the base class of all the record classes.
std::string get_time_dir_pix()
Pixel time direction indicator
double _bnd_rng
Total range look bandwidth
std::string get_baseband_f()
Baseband conversion flag
double _gn_cross
Cross polarized gain
std::string _rng_weight
Range weighting designator
double _n_rnglok
Number of range looks
std::string get_pulse_code()
Range pulse code specifier
std::string _motion_comp
Motion compensation indicator
std::string get_prod_type()
Product type specifier
double _scene_len
Scene length, km
double _ellip_j[3]
Ellipsoid J2-4 parameters
std::string get_sensor_id()
Sensor identifier
int _sat_bintim
Satellite binary time
double _q_bias
Q channel DC bias
double get_rng_res()
Range resolution, meter
double get_iq_ratio()
I/Q channel ratio
double * get_phas_coef()
Range phase coefficients
double get_plat_long()
Platform geodetic longitude
double get_bnd_azi()
Total azimuth look bandwidth
std::string _data_inpsrc
Data input source
std::string get_rng_weight()
Range weighting designator
std::string _fac_code
Facility process code
double _radi_stretch[2]
Radiometric stretch terms
std::string _baseband_f
Baseband conversion flag
int get_sat_bintim()
Satellite binary time
double _n_azilok
Number of azimuth looks
double get_terrain_h()
Average terrain height, km
double _rng_gate
Range gate start time
void Read(std::istream &is)
Reads the class data from a stream.
double * get_radi_stretch()
Radiometric stretch terms
double * get_alt_dopcen()
Along track Doppler frequency terms
std::string _scene_id
Scene identifier.
double get_fr()
Range sampling rate
double get_plat_lat()
Platform geodetic latitude
double get_ellip_min()
Ellipsoid semi_minor axis, km
int _sc_lin
Scene centre line number
int get_sat_clktim()
Satellite clock time
double get_scene_wid()
Scene width, km
std::string get_asc_des()
Ascending/descending.
std::string get_orbit_num()
Orbit number
double _grav_const
Gravitational constant
double get_clock_ang()
Sensor clock angle
double get_wave_length()
Radar wave length
friend std::ostream & operator<<(std::ostream &os, const DataSetSummary &data)
This function write the DataSetSummary in a stream.
std::string get_motion_comp()
Motion compensation indicator
double _fa
Nominal PRF, Hz
double _pix_spacing
Pixel spacing, meters
RadarSatRecord * Instanciate()
This function is able to create a new instance of the class.
std::string get_line_cont()
Line content indicator
double _earth_mass
Earth&#39;s mass.
int _sat_clkinc
Satellite clock increment
std::string get_data_inpsrc()
Data input source
std::string get_scene_des()
Scene designator.
double _iq_ratio
I/Q channel ratio
double _ele_sight
Electronic boresight
double _plat_lat
Platform geodetic latitude
double _scene_wid
Scene width, km
std::string get_auto_focus()
Auto-focus applied flag
int _sar_chn
SAR channel indicator
std::string get_rngcmp_desg()
Range compression designator
friend std::istream & operator>>(std::istream &is, DataSetSummary &data)
This function read a DataSetSummary from a stream.
double _mech_sight
Mechanical boresight
std::string _rngcmp_f
Range compressed flag
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
void Write(std::ostream &os)
Writes the class to a stream.
std::string _mission_id
Mission identifier
double get_n_azilok()
Number of azimuth looks
std::string get_fac_code()
Facility process code
This class is able to read the SAR leader data set summary record of the leader file.
std::string get_inp_sctim()
Input scene centre time.
std::string get_fac_id()
Processing facility identifier
std::string get_scene_id()
Scene identifier.
double * get_ellip_j()
Ellipsoid J2-4 parameters
std::string get_algor_id()
Processing algorithm identifier
std::string _ver_id
Processing version identifier
double _i_bias
I channel DC bias
double _alt_dopcen[3]
Along track Doppler frequency terms
double _rng_res
Range resolution, meter
double get_gn_polar()
Like polarized gain
std::string get_lev_code()
Product level code
std::string _line_cont
Line content indicator
std::string get_echo_track()
Echo tracker on/off flag
double get_fa()
Nominal PRF, Hz
double get_bnd_rng()
Total range look bandwidth
double _pro_head
Processed scene centre headng
std::string _fac_id
Processing facility identifier
std::string _echo_track
Echo tracker on/off flag
std::string _azi_weight
Azimuth weighting designator
std::string _rngcmp_desg
Range compression designator
double get_incident_ang()
Incidence angle
RadarSatRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
double get_earth_mass()
Earth&#39;s mass.
std::string _lev_code
Product level code
std::string _time_dir_pix
Pixel time direction indicator
double get_ellip_maj()
Ellipsoid semi-major axis, km
std::string _prod_type
Product type specifier
double get_scene_len()
Scene length, km
std::string _inp_sctim
Input scene centre time.
double _plat_head
Platform heading
std::string _time_dir_lin
Line time direction indicator
double _pro_lat
Processed scene centre latitude
double _nchn
Number of SAR channels
double get_nchn()
Number of SAR channels
std::string get_time_dir_lin()
Line time direction indicator
virtual ~DataSetSummary()
Destructor.
double _gn_polar
Like polarized gain
std::string get_rngcmp_f()
Range compressed flag
int get_chirp_ext_ind()
Chirp extraction index
std::string _pulse_code
Range pulse code specifier
double get_elev_beam()
Elevation beamwidth
int _sat_clktim
Satellite clock time
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
DataSetSummary & operator=(const DataSetSummary &rhs)
Copy operator.
double _ampl_coef[5]
Range chirp coefficients
double get_pix_spacing()
Pixel spacing, meters
double get_bnd_azilok()
Bandwidth per look in azimuth,Hz
double get_gn_cross()
Cross polarized gain