OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarDataSetSummary.cpp
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 // "Copyright Centre for Remote Imaging, Sensing and Processing"
5 //
6 // License: LGPL
7 //
8 // See LICENSE.txt file in the top level directory for more details.
9 //
10 //----------------------------------------------------------------------------
11 // $Id$
12 
14 
15 namespace ossimplugins
16 {
17 
19 {
20 }
21 
23 {
24 }
25 
27 {
28  os << "seq_num:" << data._seq_num << std::endl;
29 
30  os << "sar_chn:" << data._sar_chn << std::endl;
31 
32  os << "scene_id:" << data._scene_id.c_str() << std::endl;
33 
34  os << "scene_des:" << data._scene_des.c_str() << std::endl;
35 
36  os << "inp_sctim:" << data._inp_sctim.c_str() << std::endl;
37 
38  os << "asc_des:" << data._asc_des.c_str() << std::endl;
39 
40  os << "pro_lat:" << data._pro_lat << std::endl;
41 
42  os << "pro_long:" << data._pro_long << std::endl;
43 
44  os << "pro_head:" << data._pro_head << std::endl;
45 
46  os << "ellip_des:" << data._ellip_des.c_str() << std::endl;
47 
48  os << "ellip_maj:" << data._ellip_maj << std::endl;
49 
50  os << "ellip_min:" << data._ellip_min << std::endl;
51  os << "earth_mass:" << data._earth_mass << std::endl;
52  os << "grav_const:" << data._grav_const << std::endl;
53  os << "ellip_j[0]:" << data._ellip_j[0] << std::endl;
54  os << "ellip_j[1]:" << data._ellip_j[1] << std::endl;
55  os << "ellip_j[2]:" << data._ellip_j[2] << std::endl;
56  os << "terrain_h:" << data._terrain_h << std::endl;
57  os << "sc_lin:" << data._sc_lin << std::endl;
58  os << "sc_pix:" << data._sc_pix << std::endl;
59  os << "scene_len:" << data._scene_len << std::endl;
60  os << "scene_wid:" << data._scene_wid << std::endl;
61  os << "nchn:" << data._nchn << std::endl;
62  os << "mission_id:" << data._mission_id.c_str() << std::endl;
63  os << "sensor_id:" << data._sensor_id.c_str() << std::endl;
64  os << "orbit_num:" << data._orbit_num.c_str() << std::endl;
65 
66  os << "plat_lat:" << data._plat_lat << std::endl;
67 
68  os << "plat_long:" << data._plat_long << std::endl;
69 
70  os << "plat_head:" << data._plat_head << std::endl;
71 
72  os << "clock_ang:" << data._clock_ang << std::endl;
73 
74  os << "incident_ang:" << data._incident_ang << std::endl;
75 
76 
77  os << "wave_length:" << data._wave_length << std::endl;
78 
79  os << "motion_comp:" << data._motion_comp.c_str() << std::endl;
80 
81  os << "pulse_code:" << data._pulse_code.c_str() << std::endl;
82 
83  for (int i = 0; i < 5; i++)
84  {
85  os << "ampl_coef[" << i << "]:" << data._ampl_coef[i] << std::endl;
86  }
87 
88  for (int i = 0; i < 5; i++)
89  {
90  os << "phas_coef[" << i << "]:" << data._phas_coef[i] << std::endl;
91  }
92 
93  os << "chirp_ext_ind:" << data._chirp_ext_ind << std::endl;
94 
95  os << "fr:" << data._fr << std::endl;
96 
97  os << "rng_gate:" << data._rng_gate << std::endl;
98 
99  os << "rng_length:" << data._rng_length << std::endl;
100 
101  os << "baseband_f:" << data._baseband_f.c_str() << std::endl;
102 
103  os << "rngcmp_f:" << data._rngcmp_f.c_str() << std::endl;
104 
105  os << "gn_polar:" << data._gn_polar << std::endl;
106 
107  os << "gn_cross:" << data._gn_cross << std::endl;
108 
109  os << "chn_bits:" << data._chn_bits << std::endl;
110 
111  os << "quant_desc:" << data._quant_desc.c_str() << std::endl;
112 
113  os << "i_bias:" << data._i_bias << std::endl;
114 
115  os << "q_bias:" << data._q_bias << std::endl;
116 
117  os << "iq_ratio:" << data._iq_ratio << std::endl;
118 
119  os << "mech_sight:" << data._mech_sight << std::endl;
120 
121  os << "fa:" << data._fa << std::endl;
122 
123  os << "sat_bintim:" << data._sat_bintim.c_str() << std::endl;
124 
125  os << "sat_clktim:" << data._sat_clktim.c_str() << std::endl;
126 
127  os << "sat_clkinc:" << data._sat_clkinc.c_str() << std::endl;
128 
129  os << "fac_id:" << data._fac_id.c_str() << std::endl;
130 
131  os << "sys_id:" << data._sys_id.c_str() << std::endl;
132 
133  os << "ver_id:" << data._ver_id.c_str() << std::endl;
134 
135  os << "prod_type:" << data._prod_type.c_str() << std::endl;
136 
137  os << "algor_id:" << data._algor_id.c_str() << std::endl;
138 
139  os << "n_azilok:" << data._n_azilok << std::endl;
140 
141  os << "n_rnglok:" << data._n_rnglok << std::endl;
142 
143  os << "bnd_azilok:" << data._bnd_azilok << std::endl;
144 
145  os << "bnd_rnglok:" << data._bnd_rnglok << std::endl;
146 
147  os << "bnd_azi:" << data._bnd_azi << std::endl;
148 
149  os << "bnd_rng:" << data._bnd_rng << std::endl;
150 
151  os << "azi_weight:" << data._azi_weight.c_str() << std::endl;
152 
153  os << "rng_weight:" << data._rng_weight.c_str() << std::endl;
154 
155  os << "data_inpsrc:" << data._data_inpsrc.c_str() << std::endl;
156 
157  os << "rng_res:" << data._rng_res << std::endl;
158 
159  os << "azi_res:" << data._azi_res << std::endl;
160 
161  os << "alt_dopcen[0]:" << data._alt_dopcen[0] << std::endl;
162  os << "alt_dopcen[1]:" << data._alt_dopcen[1] << std::endl;
163  os << "alt_dopcen[2]:" << data._alt_dopcen[2] << std::endl;
164 
165  os << "crt_dopcen[0]:" << data._crt_dopcen[0] << std::endl;
166  os << "crt_dopcen[1]:" << data._crt_dopcen[1] << std::endl;
167  os << "crt_dopcen[2]:" << data._crt_dopcen[2] << std::endl;
168 
169  os << "time_dir_pix:" << data._time_dir_pix.c_str() << std::endl;
170 
171  os << "time_dir_lin:" << data._time_dir_lin.c_str() << std::endl;
172 
173  os << "alt_rate[0]:" << data._alt_rate[0] << std::endl;
174  os << "alt_rate[1]:" << data._alt_rate[1] << std::endl;
175  os << "alt_rate[2]:" << data._alt_rate[2] << std::endl;
176 
177  os << "crt_rate[0]:" << data._crt_rate[0] << std::endl;
178  os << "crt_rate[1]:" << data._crt_rate[1] << std::endl;
179  os << "crt_rate[2]:" << data._crt_rate[2] << std::endl;
180 
181  os << "clutter_lock:" << data._line_cont.c_str() << std::endl;
182 
183  os << "clutter_lock:" << data._clutter_lock.c_str() << std::endl;
184 
185  os << "auto_focus:" << data._auto_focus.c_str() << std::endl;
186 
187  os << "line_spacing:" << data._line_spacing << std::endl;
188 
189  os << "pix_spacing:" << data._pix_spacing << std::endl;
190 
191  os << "rngcmp_desg:" << data._rngcmp_desg.c_str() << std::endl;
192 
193 
194  os << "dopcen_range[0]:" << data._dopcen_range[0] << std::endl;
195  os << "dopcen_range[1]:" << data._dopcen_range[1] << std::endl;
200  return os;
201 
202 }
203 
205 {
206  char buf16[17];
207  buf16[16] = '\0';
208  char buf32[33];
209  buf32[32] = '\0';
210  char buf8[9];
211  buf8[8] = '\0';
212  char buf4[5];
213  buf4[4] = '\0';
214  char buf2330[2331]; //data skip from 1767 to 4096//
215  buf2330[2330] = '\0'; //data skip from 1767 to 4096//
216 
217  is.read(buf4, 4);
218  data._seq_num = atoi(buf4);
219 
220  is.read(buf4, 4);
221  data._sar_chn = atoi(buf4);
222 
223  is.read(buf16, 16);
224  data._scene_id = buf16;
225 
226  is.read(buf32, 32);
227  data._scene_des = buf32;
228 
229  is.read(buf32, 32);
230  data._inp_sctim = buf32;
231 
232  is.read(buf16, 16);
233  data._asc_des = buf16;
234 
235  is.read(buf16, 16);
236  data._pro_lat = atof(buf16);
237 
238  is.read(buf16, 16);
239  data._pro_long = atof(buf16);
240 
241  is.read(buf16, 16);
242  data._pro_head = atof(buf16);
243 
244  is.read(buf16, 16);
245  data._ellip_des = buf16;
246 
247  is.read(buf16, 16);
248  data._ellip_maj = atof(buf16);
249 
250  is.read(buf16, 16);
251  data._ellip_min = atof(buf16);
252 
253  is.read(buf16, 16);
254  data._earth_mass = atof(buf16);
255 
256  is.read(buf16, 16);
257  data._grav_const = atof(buf16);
258 
259  is.read(buf16, 16);
260  data._ellip_j[0] = atof(buf16);
261  is.read(buf16, 16);
262  data._ellip_j[1] = atof(buf16);
263  is.read(buf16, 16);
264  data._ellip_j[2] = atof(buf16);
265 
266  is.read(buf16, 16);
267 
268  is.read(buf16, 16);
269  data._terrain_h = atof(buf16);
270 
271  is.read(buf8, 8);
272  data._sc_lin = atoi(buf8);
273 
274  is.read(buf8, 8);
275  data._sc_pix = atoi(buf8);
276 
277  is.read(buf16, 16);
278  data._scene_len = atof(buf16);
279 
280  is.read(buf16, 16);
281  data._scene_wid = atof(buf16);
282 
283  is.read(buf16, 16);
284 
285  is.read(buf4, 4);
286  data._nchn = atoi(buf4);
287 
288  is.read(buf4, 4);
289 
290  is.read(buf16, 16);
291  data._mission_id = buf16;
292 
293  is.read(buf32, 32);
294  data._sensor_id = buf32;
295 
296  is.read(buf8, 8);
297  data._orbit_num = buf8;
298 
299  is.read(buf8, 8);
300  data._plat_lat = atof(buf8);
301 
302  is.read(buf8, 8);
303  data._plat_long = atof(buf8);
304 
305  is.read(buf8, 8);
306  data._plat_head = atof(buf8);
307 
308  is.read(buf8, 8);
309  data._clock_ang = atof(buf8);
310 
311  is.read(buf8, 8);
312  data._incident_ang = atof(buf8);
313 
314  is.read(buf8, 8);
315 
316  is.read(buf16, 16);
317  data._wave_length = atof(buf16);
318 
319  is.read(buf8, 2);
320  buf8[2] = '\0';
321  data._motion_comp = buf8;
322 
323  is.read(buf16, 16);
324  data._pulse_code = buf16;
325 
326  for (int i = 0; i < 5; i++)
327  {
328  is.read(buf16, 16);
329  data._ampl_coef[i] = atof(buf16);
330  }
331 
332  for (int i = 0; i < 5; i++)
333  {
334  is.read(buf16, 16);
335  data._phas_coef[i] = atof(buf16);
336  }
337 
338  is.read(buf8, 8);
339  data._chirp_ext_ind = atoi(buf8);
340 
341  is.read(buf8, 8);
342 
343  is.read(buf16, 16);
344  data._fr = atof(buf16);
345 
346  is.read(buf16, 16);
347  data._rng_gate = atof(buf16);
348 
349  is.read(buf16, 16);
350  data._rng_length = atof(buf16);
351 
352  is.read(buf8, 4);
353  buf8[4] = '\0';
354  data._baseband_f = buf8;
355 
356  is.read(buf8, 4);
357  buf8[4] = '\0';
358  data._rngcmp_f = buf8;
359 
360  is.read(buf16, 16);
361  data._gn_polar = atof(buf16);
362 
363  is.read(buf16, 16);
364  data._gn_cross = atof(buf16);
365 
366  is.read(buf8, 8);
367  data._chn_bits = atoi(buf8);
368 
369  is.read(buf16, 12);
370  buf16[12] = '\0';
371  data._quant_desc = buf16;
372 
373  is.read(buf16, 16);
374  data._i_bias = atof(buf16);
375 
376  is.read(buf16, 16);
377  data._q_bias = atof(buf16);
378 
379  is.read(buf16, 16);
380  data._iq_ratio = atof(buf16);
381 
382  is.read(buf32, 32);
383 
384  is.read(buf16, 16);
385 
386  is.read(buf16, 16);
387  data._mech_sight = atof(buf16);
388 
389  is.read(buf4, 4);
390 
391  is.read(buf16, 16);
392  data._fa = atof(buf16);
393 
394  is.read(buf16, 16);
395 
396  is.read(buf16, 16);
397 
398  is.read(buf16, 16);
399  data._sat_bintim = buf16;
400 
401  is.read(buf32, 32);
402  data._sat_clktim = buf32;
403 
404  is.read(buf8, 8);
405  data._sat_clkinc = buf8;
406 
407  is.read(buf8, 8);
408 
409  is.read(buf16, 16);
410  data._fac_id = buf16;
411 
412  is.read(buf8, 8);
413  data._sys_id = buf8;
414 
415  is.read(buf8, 8);
416  data._ver_id = buf8;
417 
418  is.read(buf32, 32);
419 
420  is.read(buf32, 32);
421  data._prod_type = buf32;
422 
423  is.read(buf32, 32);
424  data._algor_id = buf32;
425 
426  is.read(buf16, 16);
427  data._n_azilok = atof(buf16);
428 
429  is.read(buf16, 16);
430  data._n_rnglok = atof(buf16);
431 
432  is.read(buf16, 16);
433  data._bnd_azilok = atof(buf16);
434 
435  is.read(buf16, 16);
436  data._bnd_rnglok = atof(buf16);
437 
438  is.read(buf16, 16);
439  data._bnd_azi = atof(buf16);
440 
441  is.read(buf16, 16);
442  data._bnd_rng = atof(buf16);
443 
444  is.read(buf32, 32);
445  data._azi_weight = buf32;
446 
447  is.read(buf32, 32);
448  data._rng_weight = buf32;
449 
450  is.read(buf16, 16);
451  data._data_inpsrc = buf16;
452 
453  is.read(buf16, 16);
454  data._rng_res = atof(buf16);
455 
456  is.read(buf16, 16);
457  data._azi_res = atof(buf16);
458 
459  is.read(buf32, 32);
460 
461  is.read(buf16, 16);
462  data._alt_dopcen[0] = atof(buf16);
463  is.read(buf16, 16);
464  data._alt_dopcen[1] = atof(buf16);
465  is.read(buf16, 16);
466  data._alt_dopcen[2] = atof(buf16);
467 
468  is.read(buf16, 16);
469 
470  is.read(buf16, 16);
471  data._crt_dopcen[0] = atof(buf16);
472  is.read(buf16, 16);
473  data._crt_dopcen[1] = atof(buf16);
474  is.read(buf16, 16);
475  data._crt_dopcen[2] = atof(buf16);
476 
477  is.read(buf8, 8);
478  data._time_dir_pix = buf8;
479 
480  is.read(buf8, 8);
481  data._time_dir_lin = buf8;
482 
483  is.read(buf16, 16);
484  data._alt_rate[0] = atof(buf16);
485  is.read(buf16, 16);
486  data._alt_rate[1] = atof(buf16);
487  is.read(buf16, 16);
488  data._alt_rate[2] = atof(buf16);
489 
490  is.read(buf16, 16);
491 
492  is.read(buf16, 16);
493  data._crt_rate[0] = atof(buf16);
494  is.read(buf16, 16);
495  data._crt_rate[1] = atof(buf16);
496  is.read(buf16, 16);
497  data._crt_rate[2] = atof(buf16);
498 
499  is.read(buf16, 16);
500 
501  is.read(buf8, 8);
502  data._line_cont = buf8;
503 
504  is.read(buf4, 4);
505  data._clutter_lock = buf4;
506 
507  is.read(buf4, 4);
508  data._auto_focus = buf4;
509 
510  is.read(buf16, 16);
511  data._line_spacing = atof(buf16);
512 
513  is.read(buf16, 16);
514  data._pix_spacing = atof(buf16);
515 
516  is.read(buf16, 16);
517  data._rngcmp_desg = buf16;
518 
519  is.read(buf16, 16);
520  data._dopcen_range[0] = atof(buf16);
521 
522  is.read(buf16, 16);
523  data._dopcen_range[1] = atof(buf16);
524 
529  is.read(buf2330, 2330);
530 
531  return is;
532 }
533 
534 
536  AlosPalsarRecord(rhs),
537  _seq_num(rhs._seq_num),
538  _sar_chn(rhs._sar_chn),
539  _scene_id(rhs._scene_id),
540  _scene_des(rhs._scene_des),
541  _inp_sctim(rhs._inp_sctim),
542  _asc_des(rhs._asc_des),
543  _pro_lat(rhs._pro_lat),
544  _pro_long(rhs._pro_long),
545  _pro_head(rhs._pro_head),
546  _ellip_des(rhs._ellip_des),
547  _ellip_maj(rhs._ellip_maj),
548  _ellip_min(rhs._ellip_min),
549  _earth_mass(rhs._earth_mass),
550  _grav_const(rhs._grav_const),
551  _terrain_h(rhs._terrain_h),
552  _sc_lin(rhs._sc_lin),
553  _sc_pix(rhs._sc_pix),
554  _scene_len(rhs._scene_len),
555  _scene_wid(rhs._scene_wid),
556  _nchn(rhs._nchn),
557  _mission_id(rhs._mission_id),
558  _sensor_id(rhs._sensor_id),
559  _orbit_num(rhs._orbit_num),
560  _plat_lat(rhs._plat_lat),
561  _plat_long(rhs._plat_long),
562  _plat_head(rhs._plat_head),
563  _clock_ang(rhs._clock_ang),
564  _incident_ang(rhs._incident_ang),
565  _wave_length(rhs._wave_length),
566  _motion_comp(rhs._motion_comp),
567  _pulse_code(rhs._pulse_code),
568  _chirp_ext_ind(rhs._chirp_ext_ind),
569  _fr(rhs._fr),
570  _rng_gate(rhs._rng_gate),
571  _rng_length(rhs._rng_length),
572  _baseband_f(rhs._baseband_f),
573  _rngcmp_f(rhs._rngcmp_f),
574  _gn_polar(rhs._gn_polar),
575  _gn_cross(rhs._gn_cross),
576  _chn_bits(rhs._chn_bits),
577  _quant_desc(rhs._quant_desc),
578  _i_bias(rhs._i_bias),
579  _q_bias(rhs._q_bias),
580  _iq_ratio(rhs._iq_ratio),
581  _mech_sight(rhs._mech_sight),
582  _fa(rhs._fa),
583  _sat_bintim(rhs._sat_bintim),
584  _sat_clktim(rhs._sat_clktim),
585  _sat_clkinc(rhs._sat_clkinc),
586  _fac_id(rhs._fac_id),
587  _sys_id(rhs._sys_id),
588  _ver_id(rhs._ver_id),
589  _prod_type(rhs._prod_type),
590  _algor_id(rhs._algor_id),
591  _n_azilok(rhs._n_azilok),
592  _n_rnglok(rhs._n_rnglok),
593  _bnd_azilok(rhs._bnd_azilok),
594  _bnd_rnglok(rhs._bnd_rnglok),
595  _bnd_azi(rhs._bnd_azi),
596  _bnd_rng(rhs._bnd_rng),
597  _azi_weight(rhs._azi_weight),
598  _rng_weight(rhs._rng_weight),
599  _data_inpsrc(rhs._data_inpsrc),
600  _rng_res(rhs._rng_res),
601  _azi_res(rhs._azi_res),
602  _time_dir_pix(rhs._time_dir_pix),
603  _time_dir_lin(rhs._time_dir_lin),
604  _line_cont(rhs._line_cont),
605  _clutter_lock(rhs._clutter_lock),
606  _auto_focus(rhs._auto_focus),
607  _line_spacing(rhs._line_spacing),
608  _pix_spacing(rhs._pix_spacing),
609  _rngcmp_desg(rhs._rngcmp_desg)
610 
611 
612 //to be added//
613 
614 {
615  _ellip_j[0] = rhs._ellip_j[0];
616  _ellip_j[1] = rhs._ellip_j[1];
617  _ellip_j[2] = rhs._ellip_j[2];
618  _ampl_coef[0] = rhs._ampl_coef[0];
619  _ampl_coef[1] = rhs._ampl_coef[1];
620  _ampl_coef[2] = rhs._ampl_coef[2];
621  _ampl_coef[3] = rhs._ampl_coef[3];
622  _ampl_coef[4] = rhs._ampl_coef[4];
623  _phas_coef[0] = rhs._phas_coef[0];
624  _phas_coef[1] = rhs._phas_coef[1];
625  _phas_coef[2] = rhs._phas_coef[2];
626  _phas_coef[3] = rhs._phas_coef[3];
627  _phas_coef[4] = rhs._phas_coef[4];
628 
629  _alt_dopcen[0] = rhs._alt_dopcen[0];
630  _alt_dopcen[1] = rhs._alt_dopcen[1];
631  _alt_dopcen[2] = rhs._alt_dopcen[2];
632 
633  _crt_dopcen[0] = rhs._crt_dopcen[0];
634  _crt_dopcen[1] = rhs._crt_dopcen[1];
635  _crt_dopcen[2] = rhs._crt_dopcen[2];
636 
637  _alt_rate[0] = rhs._alt_rate[0];
638  _alt_rate[1] = rhs._alt_rate[1];
639  _alt_rate[2] = rhs._alt_rate[2];
640  _crt_rate[0] = rhs._crt_rate[0];
641  _crt_rate[1] = rhs._crt_rate[1];
642  _crt_rate[2] = rhs._crt_rate[2];
643 
644  _dopcen_range[0] = rhs._dopcen_range[0];
645  _dopcen_range[1] = rhs._dopcen_range[1];
646 
647 }
648 
650 {
651  _seq_num = rhs._seq_num;
652  _sar_chn = rhs._sar_chn;
653  _scene_id = rhs._scene_id;
654  _scene_des = rhs._scene_des;
655  _inp_sctim = rhs._inp_sctim;
656  _asc_des = rhs._asc_des;
657  _pro_lat = rhs._pro_lat;
658  _pro_long = rhs._pro_long;
659  _pro_head = rhs._pro_head;
660  _ellip_des = rhs._ellip_des;
661  _ellip_maj = rhs._ellip_maj;
662  _ellip_min = rhs._ellip_min;
663  _earth_mass = rhs._earth_mass;
664  _grav_const = rhs._grav_const;
665  _terrain_h = rhs._terrain_h;
666  _sc_lin = rhs._sc_lin;
667  _sc_pix = rhs._sc_pix;
668  _scene_len = rhs._scene_len;
669  _scene_wid = rhs._scene_wid;
670  _nchn = rhs._nchn;
671  _mission_id = rhs._mission_id;
672  _sensor_id = rhs._sensor_id;
673  _orbit_num = rhs._orbit_num;
674  _plat_lat = rhs._plat_lat;
675  _plat_long = rhs._plat_long;
676  _plat_head = rhs._plat_head;
677  _clock_ang = rhs._clock_ang;
681  _pulse_code = rhs._pulse_code;
683  _fr = rhs._fr;
684  _rng_gate = rhs._rng_gate;
685  _rng_length = rhs._rng_length;
686  _baseband_f = rhs._baseband_f;
687  _rngcmp_f = rhs._rngcmp_f;
688  _gn_polar = rhs._gn_polar;
689  _gn_cross = rhs._gn_cross;
690  _chn_bits = rhs._chn_bits;
691  _quant_desc = rhs._quant_desc;
692  _i_bias = rhs._i_bias;
693  _q_bias = rhs._q_bias;
694  _iq_ratio = rhs._iq_ratio;
695  _mech_sight = rhs._mech_sight;
696  _fa = rhs._fa;
697  _sat_bintim = rhs._sat_bintim;
698  _sat_clktim = rhs._sat_clktim;
699  _sat_clkinc = rhs._sat_clkinc;
700  _fac_id = rhs._fac_id;
701  _sys_id = rhs._sys_id;
702  _ver_id = rhs._ver_id;
703  _prod_type = rhs._prod_type;
704  _algor_id = rhs._algor_id;
705  _n_azilok = rhs._n_azilok;
706  _n_rnglok = rhs._n_rnglok;
707  _bnd_azilok = rhs._bnd_azilok;
708  _bnd_rnglok = rhs._bnd_rnglok;
709  _bnd_azi = rhs._bnd_azi;
710  _bnd_rng = rhs._bnd_rng;
711  _azi_weight = rhs._azi_weight;
712  _rng_weight = rhs._rng_weight;
714  _rng_res = rhs._rng_res;
715  _azi_res = rhs._azi_res;
718  _line_cont = rhs._line_cont;
720  _auto_focus = rhs._auto_focus;
724 
725  _ellip_j[0] = rhs._ellip_j[0];
726  _ellip_j[1] = rhs._ellip_j[1];
727  _ellip_j[2] = rhs._ellip_j[2];
728  _ampl_coef[0] = rhs._ampl_coef[0];
729  _ampl_coef[1] = rhs._ampl_coef[1];
730  _ampl_coef[2] = rhs._ampl_coef[2];
731  _ampl_coef[3] = rhs._ampl_coef[3];
732  _ampl_coef[4] = rhs._ampl_coef[4];
733  _phas_coef[0] = rhs._phas_coef[0];
734  _phas_coef[1] = rhs._phas_coef[1];
735  _phas_coef[2] = rhs._phas_coef[2];
736  _phas_coef[3] = rhs._phas_coef[3];
737  _phas_coef[4] = rhs._phas_coef[4];
738 
739  _alt_dopcen[0] = rhs._alt_dopcen[0];
740  _alt_dopcen[1] = rhs._alt_dopcen[1];
741  _alt_dopcen[2] = rhs._alt_dopcen[2];
742 
743  _crt_dopcen[0] = rhs._crt_dopcen[0];
744  _crt_dopcen[1] = rhs._crt_dopcen[1];
745  _crt_dopcen[2] = rhs._crt_dopcen[2];
746 
747  _alt_rate[0] = rhs._alt_rate[0];
748  _alt_rate[1] = rhs._alt_rate[1];
749  _alt_rate[2] = rhs._alt_rate[2];
750  _crt_rate[0] = rhs._crt_rate[0];
751  _crt_rate[1] = rhs._crt_rate[1];
752  _crt_rate[2] = rhs._crt_rate[2];
753 
754  _dopcen_range[0] = rhs._dopcen_range[0];
755  _dopcen_range[1] = rhs._dopcen_range[1];
756 
757 //to be added//
758 
759 
760  return *this;
761 }
762 }
double _bnd_rng
Total range look bandwidth.
AlosPalsarDataSetSummary & operator=(const AlosPalsarDataSetSummary &rhs)
Copy operator.
double _plat_lat
Platform geodetic latitude.
std::string _ver_id
Processing version identifier.
std::string _prod_type
Product type specifier.
std::string _data_inpsrc
Data input source.
int _seq_num
from 1767 to 4096 to be added
std::string _azi_weight
Azimuth weighting designator.
std::string _rngcmp_desg
Range compression designator.
double _bnd_rnglok
Bandwidth per look in range,Hz.
double _grav_const
Gravitational constant.
std::string _asc_des
Ascending/descending.
std::string _inp_sctim
Input scene centre time.
double _azi_res
Azimuth resolution, meter.
std::string _fac_id
Processing facility identifier.
double _ellip_min
Ellipsoid semi_minor axis, km.
double _pro_long
Processed scene centre longitude.
double _alt_rate[3]
Along track Doppler rate term.
std::string _line_cont
Line content indicator.
double _pro_head
Processed scene centre headng.
std::string _sat_clkinc
Satellite clock increment.
std::string _mission_id
Mission identifier.
This class is the base class of all the record classes.
std::string _time_dir_lin
Line time direction indicator.
double _ellip_j[3]
Ellipsoid J2-4 parameters.
std::string _auto_focus
Auto-focus applied flag.
double _pro_lat
Processed scene centre latitude.
double _n_azilok
Number of azimuth looks.
double _phas_coef[5]
Range phase coefficients.
std::string _algor_id
Processing algorithm identifier.
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::string _sys_id
Processing system identifier.
This class is able to read the SAR leader data set summary record of the leader file.
std::string _sat_clktim
Satellite clock time.
std::string _time_dir_pix
Pixel time direction indicator.
double _ampl_coef[5]
Range chirp coefficients.
std::string _clutter_lock
Clutter lock applied flag.
double _ellip_maj
Ellipsoid semi-major axis, km.
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
double _terrain_h
Average terrain height, km.
double _bnd_azi
Total azimuth look bandwidth.
int _chn_bits
Number of bits per channel.
std::string _ellip_des
Ellipsoid designator.
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
std::string _quant_desc
Quantization descriptor.
double _crt_rate[3]
Cross track Doppler rate term.
std::string _pulse_code
Range pulse code specifier.
std::string _rng_weight
Range weighting designator.
std::string _sat_bintim
Satellite binary time.
double _alt_dopcen[3]
Along track Doppler frequency terms.
double _rng_res
Range resolution, meter.
std::string _motion_comp
Motion compensation indicator.
std::string _rngcmp_f
Range compressed flag.
double _dopcen_range[2]
Cross track Doppler frequency terms (in range unit: km)
double _plat_long
Platform geodetic longitude.
double _crt_dopcen[3]
Cross track Doppler frequency terms.
double _bnd_azilok
Bandwidth per look in azimuth,Hz.
std::string _baseband_f
Baseband conversion flag.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23