26 os<<
"seq_num:"<<data.
_seq_num<<std::endl;
28 os<<
"sar_chn:"<<data.
_sar_chn<<std::endl;
30 os<<
"scene_id:"<<data.
_scene_id.c_str()<<std::endl;
32 os<<
"scene_des:"<<data.
_scene_des.c_str()<<std::endl;
34 os<<
"inp_sctim:"<<data.
_inp_sctim.c_str()<<std::endl;
36 os<<
"asc_des:"<<data.
_asc_des.c_str()<<std::endl;
38 os<<
"pro_lat:"<<data.
_pro_lat<<std::endl;
40 os<<
"pro_long:"<<data.
_pro_long<<std::endl;
42 os<<
"pro_head:"<<data.
_pro_head<<std::endl;
44 os<<
"ellip_des:"<<data.
_ellip_des.c_str()<<std::endl;
51 os<<
"ellip_j[0]:"<<data.
_ellip_j[0]<<std::endl;
52 os<<
"ellip_j[1]:"<<data.
_ellip_j[1]<<std::endl;
53 os<<
"ellip_j[2]:"<<data.
_ellip_j[2]<<std::endl;
55 os<<
"sc_lin:"<<data.
_sc_lin<<std::endl;
56 os<<
"sc_pix:"<<data.
_sc_pix<<std::endl;
59 os<<
"nchn:"<<data.
_nchn<<std::endl;
60 os<<
"mission_id:"<<data.
_mission_id.c_str()<<std::endl;
61 os<<
"sensor_id:"<<data.
_sensor_id.c_str()<<std::endl;
62 os<<
"orbit_num:"<<data.
_orbit_num.c_str()<<std::endl;
64 os<<
"plat_lat:"<<data.
_plat_lat<<std::endl;
77 os<<
"motion_comp:"<<data.
_motion_comp.c_str()<<std::endl;
79 os<<
"pulse_code:"<<data.
_pulse_code.c_str()<<std::endl;
83 os<<
"ampl_coef["<<i<<
"]:"<<data.
_ampl_coef[i]<<std::endl;
88 os<<
"phas_coef["<<i<<
"]:"<<data.
_phas_coef[i]<<std::endl;
93 os<<
"fr:"<<data.
_fr<<std::endl;
95 os<<
"rng_gate:"<<data.
_rng_gate<<std::endl;
99 os<<
"baseband_f:"<<data.
_baseband_f.c_str()<<std::endl;
101 os<<
"rngcmp_f:"<<data.
_rngcmp_f.c_str()<<std::endl;
103 os<<
"gn_polar:"<<data.
_gn_polar <<std::endl;
105 os<<
"gn_cross:"<<data.
_gn_cross <<std::endl;
107 os<<
"chn_bits:"<<data.
_chn_bits<<std::endl;
109 os<<
"quant_desc:"<<data.
_quant_desc.c_str()<<std::endl;
111 os<<
"i_bias:"<<data.
_i_bias<<std::endl;
113 os<<
"q_bias:"<<data.
_q_bias<<std::endl;
115 os<<
"iq_ratio:"<<data.
_iq_ratio<<std::endl;
121 os<<
"echo_track:"<<data.
_echo_track.c_str()<<std::endl;
123 os<<
"fa:"<<data.
_fa<<std::endl;
135 os<<
"fac_id:"<<data.
_fac_id.c_str()<<std::endl;
137 os<<
"sys_id:"<<data.
_sys_id.c_str()<<std::endl;
139 os<<
"ver_id:"<<data.
_ver_id.c_str()<<std::endl;
141 os<<
"fac_code:"<<data.
_fac_code.c_str()<<std::endl;
143 os<<
"lev_code:"<<data.
_lev_code.c_str()<<std::endl;
145 os<<
"prod_type:"<<data.
_prod_type.c_str()<<std::endl;
147 os<<
"algor_id:"<<data.
_algor_id.c_str()<<std::endl;
149 os<<
"n_azilok:"<<data.
_n_azilok<<std::endl;
151 os<<
"n_rnglok:"<<data.
_n_rnglok<<std::endl;
157 os<<
"bnd_azi:"<<data.
_bnd_azi<<std::endl;
159 os<<
"bnd_rng:"<<data.
_bnd_rng<<std::endl;
161 os<<
"azi_weight:"<<data.
_azi_weight.c_str()<<std::endl;
163 os<<
"rng_weight:"<<data.
_rng_weight.c_str()<<std::endl;
165 os<<
"data_inpsrc:"<<data.
_data_inpsrc.c_str()<<std::endl;
167 os<<
"rng_res:"<<data.
_rng_res<<std::endl;
169 os<<
"azi_res:"<<data.
_azi_res<<std::endl;
174 os<<
"alt_dopcen[0]:"<<data.
_alt_dopcen[0]<<std::endl;
175 os<<
"alt_dopcen[1]:"<<data.
_alt_dopcen[1]<<std::endl;
176 os<<
"alt_dopcen[2]:"<<data.
_alt_dopcen[2]<<std::endl;
178 os<<
"crt_dopcen[0]:"<<data.
_crt_dopcen[0]<<std::endl;
179 os<<
"crt_dopcen[1]:"<<data.
_crt_dopcen[1]<<std::endl;
180 os<<
"crt_dopcen[2]:"<<data.
_crt_dopcen[2]<<std::endl;
186 os<<
"alt_rate[0]:"<<data.
_alt_rate[0]<<std::endl;
187 os<<
"alt_rate[1]:"<<data.
_alt_rate[1]<<std::endl;
188 os<<
"alt_rate[2]:"<<data.
_alt_rate[2]<<std::endl;
190 os<<
"crt_rate[0]:"<<data.
_crt_rate[0]<<std::endl;
191 os<<
"crt_rate[1]:"<<data.
_crt_rate[1]<<std::endl;
192 os<<
"crt_rate[2]:"<<data.
_crt_rate[2]<<std::endl;
194 os<<
"clutter_lock:"<<data.
_line_cont.c_str()<<std::endl;
198 os<<
"auto_focus:"<<data.
_auto_focus.c_str()<<std::endl;
204 os<<
"rngcmp_desg:"<<data.
_rngcmp_desg.c_str()<<std::endl;
290 data.
_nchn = atoi(buf4);
330 for (
int i=0;i<5;i++)
336 for (
int i=0;i<5;i++)
348 data.
_fr = atof(buf16);
400 data.
_fa = atof(buf16);
547 _seq_num(rhs._seq_num),
548 _sar_chn(rhs._sar_chn),
549 _scene_id(rhs._scene_id),
550 _scene_des(rhs._scene_des),
551 _inp_sctim(rhs._inp_sctim),
552 _asc_des(rhs._asc_des),
553 _pro_lat(rhs._pro_lat),
554 _pro_long(rhs._pro_long),
555 _pro_head(rhs._pro_head),
556 _ellip_des(rhs._ellip_des),
557 _ellip_maj(rhs._ellip_maj),
558 _ellip_min(rhs._ellip_min),
559 _earth_mass(rhs._earth_mass),
560 _grav_const(rhs._grav_const),
561 _terrain_h(rhs._terrain_h),
562 _sc_lin(rhs._sc_lin),
563 _sc_pix(rhs._sc_pix),
564 _scene_len(rhs._scene_len),
565 _scene_wid(rhs._scene_wid),
567 _mission_id(rhs._mission_id),
568 _sensor_id(rhs._sensor_id),
569 _orbit_num(rhs._orbit_num),
570 _plat_lat(rhs._plat_lat),
571 _plat_long(rhs._plat_long),
572 _plat_head(rhs._plat_head),
573 _clock_ang(rhs._clock_ang),
574 _incident_ang(rhs._incident_ang),
575 _wave_length(rhs._wave_length),
576 _motion_comp(rhs._motion_comp),
577 _pulse_code(rhs._pulse_code),
578 _chirp_ext_ind(rhs._chirp_ext_ind),
580 _rng_gate(rhs._rng_gate),
581 _rng_length(rhs._rng_length),
582 _baseband_f(rhs._baseband_f),
583 _rngcmp_f(rhs._rngcmp_f),
584 _gn_polar(rhs._gn_polar),
585 _gn_cross(rhs._gn_cross),
586 _chn_bits(rhs._chn_bits),
587 _quant_desc(rhs._quant_desc),
588 _i_bias(rhs._i_bias),
589 _q_bias(rhs._q_bias),
590 _iq_ratio(rhs._iq_ratio),
591 _ele_sight(rhs._ele_sight),
592 _mech_sight(rhs._mech_sight),
593 _echo_track(rhs._echo_track),
595 _elev_beam(rhs._elev_beam),
596 _azim_beam(rhs._azim_beam),
597 _sat_bintim(rhs._sat_bintim),
598 _sat_clktim(rhs._sat_clktim),
599 _sat_clkinc(rhs._sat_clkinc),
600 _fac_id(rhs._fac_id),
601 _sys_id(rhs._sys_id),
602 _ver_id(rhs._ver_id),
603 _fac_code(rhs._fac_code),
604 _lev_code(rhs._lev_code),
605 _prod_type(rhs._prod_type),
606 _algor_id(rhs._algor_id),
607 _n_azilok(rhs._n_azilok),
608 _n_rnglok(rhs._n_rnglok),
609 _bnd_azilok(rhs._bnd_azilok),
610 _bnd_rnglok(rhs._bnd_rnglok),
611 _bnd_azi(rhs._bnd_azi),
612 _bnd_rng(rhs._bnd_rng),
613 _azi_weight(rhs._azi_weight),
614 _rng_weight(rhs._rng_weight),
615 _data_inpsrc(rhs._data_inpsrc),
616 _rng_res(rhs._rng_res),
617 _azi_res(rhs._azi_res),
618 _time_dir_pix(rhs._time_dir_pix),
619 _time_dir_lin(rhs._time_dir_lin),
620 _line_cont(rhs._line_cont),
621 _clutter_lock(rhs._clutter_lock),
622 _auto_focus(rhs._auto_focus),
623 _line_spacing(rhs._line_spacing),
624 _pix_spacing(rhs._pix_spacing),
625 _rngcmp_desg(rhs._rngcmp_desg)
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
int _chn_bits
Number of bits per channel
double _crt_rate[3]
Cross track Doppler rate term
double _alt_rate[3]
Along track Doppler rate term
double _bnd_azilok
Bandwidth per look in azimuth,Hz
double _azi_res
Azimuth resolution, meter
std::string _asc_des
Ascending/descending.
std::string _quant_desc
Quantization descriptor
double _elev_beam
Elevation beamwidth
std::string _auto_focus
Auto-focus applied flag
double _rng_length
Range pulse length
double _line_spacing
Line spacing, meters
std::string _sys_id
Processing system identifier
double _incident_ang
Incidence angle
std::string _algor_id
Processing algorithm identifier
double _bnd_rnglok
Bandwidth per look in range,Hz
std::string _scene_des
Scene designator.
int _seq_num
Sequence number.
std::string _sensor_id
Sensor identifier
double _crt_dopcen[3]
Cross track Doppler frequency terms
double _clock_ang
Sensor clock angle
double _phas_coef[5]
Range phase coefficients
double _bnd_azi
Total azimuth look bandwidth
std::string _orbit_num
Orbit number
int _sc_pix
Scene centre pixel number
double _azim_beam
Azimuth beamwidth
double _ellip_min
Ellipsoid semi_minor axis, km
int _chirp_ext_ind
Chirp extraction index
double _ellip_maj
Ellipsoid semi-major axis, km
double _plat_long
Platform geodetic longitude
double _terrain_h
Average terrain height, km
double _pro_long
Processed scene centre longitude
This class is the base class of all the record classes.
double _bnd_rng
Total range look bandwidth
double _gn_cross
Cross polarized gain
std::string _rng_weight
Range weighting designator
double _n_rnglok
Number of range looks
std::string _motion_comp
Motion compensation indicator
double _scene_len
Scene length, km
double _ellip_j[3]
Ellipsoid J2-4 parameters
int _sat_bintim
Satellite binary time
double _q_bias
Q channel DC bias
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::string _data_inpsrc
Data input source
std::string _fac_code
Facility process code
double _radi_stretch[2]
Radiometric stretch terms
std::string _baseband_f
Baseband conversion flag
double _n_azilok
Number of azimuth looks
double _rng_gate
Range gate start time
std::string _scene_id
Scene identifier.
DataSetSummary()
Constructor.
int _sc_lin
Scene centre line number
double _grav_const
Gravitational constant
double _fa
Nominal PRF, Hz
double _pix_spacing
Pixel spacing, meters
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
double _earth_mass
Earth's mass.
int _sat_clkinc
Satellite clock increment
double _iq_ratio
I/Q channel ratio
double _ele_sight
Electronic boresight
double _plat_lat
Platform geodetic latitude
double _scene_wid
Scene width, km
int _sar_chn
SAR channel indicator
double _mech_sight
Mechanical boresight
std::string _rngcmp_f
Range compressed flag
std::basic_istream< char > istream
Base class for char input streams.
std::string _mission_id
Mission identifier
This class is able to read the SAR leader data set summary record of the leader file.
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
std::string _line_cont
Line content indicator
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
std::string _lev_code
Product level code
std::string _time_dir_pix
Pixel time direction indicator
std::string _prod_type
Product type specifier
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
virtual ~DataSetSummary()
Destructor.
double _gn_polar
Like polarized gain
std::string _pulse_code
Range pulse code specifier
int _sat_clktim
Satellite clock time
std::basic_ostream< char > ostream
Base class for char output streams.
DataSetSummary & operator=(const DataSetSummary &rhs)
Copy operator.
double _ampl_coef[5]
Range chirp coefficients