OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
sph.cpp
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 #include <EnvisatAsar/sph.h>
13 #include <EnvisatAsar/mph.h>
14 
15 namespace ossimplugins
16 {
17  sph::sph() : EnvisatAsarRecord("sph_rec")
18  {
19  this->_num_dsd = 18;
20  this->_size_dsd = 280;
21  }
22 
23  sph::sph(const mph& data) : EnvisatAsarRecord("sph_rec")
24  {
25  this->_num_dsd = data._num_dsd ;
26  this->_size_dsd = data._dsd_size;
27  }
28 
30  {
31  }
32 
33 
35  {
36  os<<"sph_desc_title:"<<data._sph_desc_title.c_str()<<std::endl;
37 
38  os<<"sph_desc:"<<data._sph_desc.c_str()<<std::endl;
39 
40  os<<"strip_cont_ind_title:"<<data._strip_cont_ind_title.c_str()<<std::endl;
41 
42  os<<"strip_cont_ind std::string:"<<data._strip_cont_ind.c_str()<<std::endl;
43 
44  os<<"slice_pos_title:"<<data._slice_pos_title.c_str()<<std::endl;
45 
46  os<<"slice_position:"<<data._slice_position.c_str()<<std::endl;
47 
48  os<<"num_slices_title:"<<data._num_slices_title.c_str()<<std::endl;
49 
50  os<<"num_slices:"<<data._num_slices.c_str()<<std::endl;
51 
52  os<<"first_line_time_title:"<<data._first_line_time_title.c_str()<<std::endl;
53 
54  os<<"first_line_time:"<<data._first_line_time.c_str()<<std::endl;
55 
56  os<<"last_line_time_title:"<<data._last_line_time_title.c_str()<<std::endl;
57 
58  os<<"last_line_time:"<<data._last_line_time.c_str()<<std::endl;
59 
60  os<<"first_near_lat_title:"<<data._first_near_lat_title.c_str()<<std::endl;
61 
62  os<<"first_near_lat:"<<data._first_near_lat.c_str()<<std::endl;
63 
64  os<<"first_near_lat_units:"<<data._first_near_lat_units.c_str()<<std::endl;
65 
66  os<<"first_near_long_title:"<<data._first_near_long_title.c_str()<<std::endl;
67 
68  os<<"first_near_long:"<<data._first_near_long.c_str()<<std::endl;
69 
70  os<<"first_near_long_units:"<<data._first_near_long_units.c_str()<<std::endl;
71 
72  os<<"first_mid_lat_title:"<<data._first_mid_lat_title.c_str()<<std::endl;
73 
74  os<<"first_mid_lat:"<<data._first_mid_lat.c_str()<<std::endl;
75 
76  os<<"first_mid_lat_units:"<<data._first_mid_lat_units.c_str()<<std::endl;
77 
78  os<<"first_mid_long_title:"<<data._first_mid_long_title.c_str()<<std::endl;
79 
80  os<<"first_mid_long:"<<data._first_mid_long.c_str()<<std::endl;
81 
82  os<<"first_mid_long_units:"<<data._first_mid_long_units.c_str()<<std::endl;
83 
84  os<<"first_far_lat_title:"<<data._first_far_lat_title.c_str()<<std::endl;
85 
86  os<<"first_far_lat:"<<data._first_far_lat.c_str()<<std::endl;
87 
88  os<<"first_far_lat_units:"<<data._first_far_lat_units.c_str()<<std::endl;
89 
90  os<<"first_far_long_title:"<<data._first_far_long_title.c_str()<<std::endl;
91 
92  os<<"first_far_long:"<<data._first_far_long.c_str()<<std::endl;
93 
94  os<<"first_far_long_units:"<<data._first_far_long_units.c_str()<<std::endl;
95 
96  os<<"last_near_lat_title:"<<data._last_near_lat_title.c_str()<<std::endl;
97 
98  os<<"last_near_lat:"<<data._last_near_lat.c_str()<<std::endl;
99 
100  os<<"last_near_lat_units:"<<data._last_near_lat_units.c_str()<<std::endl;
101 
102  os<<"last_near_long_title:"<<data._last_near_long_title.c_str()<<std::endl;
103 
104  os<<"last_near_long:"<<data._last_near_long.c_str()<<std::endl;
105 
106  os<<"last_near_long_units:"<<data._last_near_long_units.c_str()<<std::endl;
107 
108  os<<"last_mid_lat_title:"<<data._last_mid_lat_title.c_str()<<std::endl;
109 
110  os<<"last_mid_lat:"<<data._last_mid_lat.c_str()<<std::endl;
111 
112  os<<"last_mid_lat_units:"<<data._last_mid_lat_units.c_str()<<std::endl;
113 
114  os<<"last_mid_long_title:"<<data._last_mid_long_title.c_str()<<std::endl;
115 
116  os<<"last_mid_long:"<<data._last_mid_long.c_str()<<std::endl;
117 
118  os<<"last_mid_long_units:"<<data._last_mid_long_units.c_str()<<std::endl;
119 
120  os<<"last_far_lat_title:"<<data._last_far_lat_title.c_str()<<std::endl;
121 
122  os<<"last_far_lat:"<<data._last_far_lat.c_str()<<std::endl;
123 
124  os<<"last_far_lat_units:"<<data._last_far_lat_units.c_str()<<std::endl;
125 
126  os<<"last_far_long_title:"<<data._last_far_long_title.c_str()<<std::endl;
127 
128  os<<"last_far_long:"<<data._last_far_long.c_str()<<std::endl;
129 
130  os<<"last_far_long_units:"<<data._last_far_long_units.c_str()<<std::endl;
131 
132  os<<"swath_title:"<<data._swath_title.c_str()<<std::endl;
133 
134  os<<"swath:"<<data._swath.c_str()<<std::endl;
135 
136  os<<"pass_title:"<<data._pass_title.c_str()<<std::endl;
137 
138  os<<"pass:"<<data._pass.c_str()<<std::endl;
139 
140  os<<"sample_type_title:"<<data._sample_type_title.c_str()<<std::endl;
141 
142  os<<"sample_type:"<<data._sample_type.c_str()<<std::endl;
143 
144  os<<"algo_title:"<<data._algo_title.c_str()<<std::endl;
145 
146  os<<"algorithm:"<<data._algorithm.c_str()<<std::endl;
147 
148  os<<"mds1_tx_rx_polar_title:"<<data._mds1_tx_rx_polar_title.c_str()<<std::endl;
149 
150  os<<"mds1_tx_rx_polar:"<<data._mds1_tx_rx_polar.c_str()<<std::endl;
151 
152  os<<"mds2_tx_rx_polar_title:"<<data._mds2_tx_rx_polar_title.c_str()<<std::endl;
153 
154  os<<"mds2_tx_rx_polar:"<<data._mds2_tx_rx_polar.c_str()<<std::endl;
155 
156  os<<"compression_title:"<<data._compression_title.c_str()<<std::endl;
157 
158  os<<"compression:"<<data._compression.c_str()<<std::endl;
159 
160  os<<"azimut_looks_title:"<<data._azimut_looks_title.c_str()<<std::endl;
161 
162  os<<"azimut_looks:"<<data._azimut_looks.c_str()<<std::endl;
163 
164  os<<"range_looks_title:"<<data._range_looks_title.c_str()<<std::endl;
165 
166  os<<"range_looks:"<<data._range_looks.c_str()<<std::endl;
167 
168  os<<"range_spacing_title:"<<data._range_spacing_title.c_str()<<std::endl;
169 
170  os<<"range_spacing:"<<data._range_spacing.c_str()<<std::endl;
171 
172  os<<"range_spacing_unit:"<<data._range_spacing_unit.c_str()<<std::endl;
173 
174  os<<"azimut_spacing_title:"<<data._azimut_spacing_title.c_str()<<std::endl;
175 
176  os<<"azimut_spacing:"<<data._azimut_spacing.c_str()<<std::endl;
177 
178  os<<"azimut_spacing_unit:"<<data._azimut_spacing_unit.c_str()<<std::endl;
179 
180  os<<"line_time_interval_title:"<<data._line_time_interval_title.c_str()<<std::endl;
181 
182  os<<"line_time_interval:"<<data._line_time_interval.c_str()<<std::endl;
183 
184  os<<"line_time_interv_units:"<<data._line_time_interv_units.c_str()<<std::endl;
185 
186  os<<"line_length_title:"<<data._line_length_title.c_str()<<std::endl;
187 
188  os<<"line_length:"<<data._line_length.c_str()<<std::endl;
189 
190  os<<"line_length_units:"<<data._line_length_units.c_str()<<std::endl;
191 
192  os<<"data_type_title:"<<data._data_type_title.c_str()<<std::endl;
193 
194  os<<"data_type:"<<data._data_type.c_str()<<std::endl;
195 
196  return os;
197 
198  }
199 
201  {
202  char buf64[65];
203  buf64[64] = '\0';
204  char buf32[33];
205  buf32[32] = '\0';
206  char buf27[28];
207  buf27[27] = '\0';
208  char buf16[17];
209  buf16[16]='\0';
210  char buf15[16];
211  buf15[15] = '\0';
212  char buf14[15];
213  buf14[14] = '\0';
214  char buf13[14];
215  buf13[13] = '\0';
216  char buf12[13];
217  buf12[12] = '\0';
218  char buf11[12];
219  buf11[11] = '\0';
220  char buf10[11];
221  buf10[10] = '\0';
222  char buf9[10];
223  buf9[9] = '\0';
224  char buf8[9];
225  buf8[8] = '\0';
226  char buf7[8];
227  buf7[7] = '\0';
228  char buf6[7];
229  buf6[6] = '\0';
230  char buf5[6];
231  buf5[5] = '\0';
232  char buf4[5];
233  buf4[4] = '\0';
234  char buf3[4];
235  buf3[3] = '\0';
236  // char buf2[3];
237  // buf2[2] = '\0';
238  char buf1[1];
239 
240 
241  is.read(buf15,15);
242  data._sph_desc_title = buf15;
243 
244  is.read(buf1,1);
245 
246  is.read(buf32,28);
247  buf32[28] = '\0';
248  data._sph_desc = buf32;
249 
250  is.read(buf1,1);
251 
252  is.read(buf1,1);
253 
254  is.read(buf32,31);
255  buf32[31] = '\0';
256  data._strip_cont_ind_title = buf32;
257 
258  is.read(buf4,4);
259  data._strip_cont_ind = buf4;
260 
261  is.read(buf1,1);
262 
263  is.read(buf15,15);
264  data._slice_pos_title = buf15;
265 
266  is.read(buf4,4);
267  data._slice_position = buf4;
268 
269  is.read(buf1,1);
270 
271  is.read(buf11,11);
272  data._num_slices_title = buf11;
273 
274  is.read(buf4,4);
275  data._num_slices = buf4;
276 
277  is.read(buf1,1);
278 
279  is.read(buf16,16);
280  data._first_line_time_title = buf16;
281 
282  is.read(buf1,1);
283 
284  is.read(buf27,27);
285  data._first_line_time = buf27;
286 
287  is.read(buf1,1);
288 
289  is.read(buf1,1);
290 
291  is.read(buf15,15);
292  data._last_line_time_title = buf15;
293 
294  is.read(buf1,1);
295 
296  is.read(buf27,27);
297  data._last_line_time = buf27;
298 
299  is.read(buf1,1);
300 
301  is.read(buf1,1);
302 
303  is.read(buf15,15);
304  data._first_near_lat_title = buf15;
305 
306  is.read(buf11,11);
307  data._first_near_lat = buf11;
308 
309  is.read(buf10,10);
310  data._first_near_lat_units = buf10;
311 
312  is.read(buf1,1);
313 
314  is.read(buf16,16);
315  data._first_near_long_title = buf16;
316 
317  is.read(buf11,11);
318  data._first_near_long = buf11;
319 
320  is.read(buf10,10);
321  data._first_near_long_units = buf10;
322 
323  is.read(buf1,1);
324 
325  is.read(buf14,14);
326  data._first_mid_lat_title = buf14;
327 
328  is.read(buf11,11);
329  data._first_mid_lat = buf11;
330 
331  is.read(buf10,10);
332  data._first_mid_lat_units = buf10;
333 
334  is.read(buf1,1);
335 
336  is.read(buf15,15);
337  data._first_mid_long_title = buf15;
338 
339  is.read(buf11,11);
340  data._first_mid_long = buf11;
341 
342  is.read(buf10,10);
343  data._first_mid_long_units = buf10;
344 
345  is.read(buf1,1);
346 
347  is.read(buf14,14);
348  data._first_far_lat_title = buf14;
349 
350  is.read(buf11,11);
351  data._first_far_lat = buf11;
352 
353  is.read(buf10,10);
354  data._first_far_lat_units = buf10;
355 
356  is.read(buf1,1);
357 
358  is.read(buf15,15);
359  data._first_far_long_title = buf15;
360 
361  is.read(buf11,11);
362  data._first_far_long = buf11;
363 
364  is.read(buf10,10);
365  data._first_far_long_units = buf10;
366 
367  is.read(buf1,1);
368 
369  is.read(buf14,14);
370  data._last_near_lat_title = buf14;
371 
372  is.read(buf11,11);
373  data._last_near_lat = buf11;
374 
375  is.read(buf10,10);
376  data._last_near_lat_units = buf10;
377 
378  is.read(buf1,1);
379 
380  is.read(buf15,15);
381  data._last_near_long_title = buf15;
382 
383  is.read(buf11,11);
384  data._last_near_long = buf11;
385 
386  is.read(buf10,10);
387  data._last_near_long_units = buf10;
388 
389  is.read(buf1,1);
390 
391  is.read(buf13,13);
392  data._last_mid_lat_title = buf13;
393 
394  is.read(buf11,11);
395  data._last_mid_lat = buf11;
396 
397  is.read(buf10,10);
398  data._last_mid_lat_units = buf10;
399 
400  is.read(buf1,1);
401 
402  is.read(buf14,14);
403  data._last_mid_long_title = buf14;
404 
405  is.read(buf11,11);
406  data._last_mid_long = buf11;
407 
408  is.read(buf10,10);
409  data._last_mid_long_units = buf10;
410 
411  is.read(buf1,1);
412 
413  is.read(buf13,13);
414  data._last_far_lat_title = buf13;
415 
416  is.read(buf11,11);
417  data._last_far_lat = buf11;
418 
419  is.read(buf10,10);
420  data._last_far_lat_units = buf10;
421 
422  is.read(buf1,1);
423 
424  is.read(buf14,14);
425  data._last_far_long_title = buf14;
426 
427  is.read(buf11,11);
428  data._last_far_long = buf11;
429 
430  is.read(buf10,10);
431  data._last_far_long_units = buf10;
432 
433  is.read(buf1,1);
434 
435  is.read(buf64,35);
436 
437  is.read(buf1,1);
438 
439  is.read(buf6,6);
440  data._swath_title = buf6;
441 
442  is.read(buf1,1);
443 
444  is.read(buf3,3);
445  data._swath = buf3;
446 
447  is.read(buf1,1);
448 
449  is.read(buf1,1);
450 
451  is.read(buf5,5);
452  data._pass_title = buf5;
453 
454  is.read(buf1,1);
455 
456  is.read(buf10,10);
457  data._pass = buf10;
458 
459  is.read(buf1,1);
460 
461  is.read(buf1,1);
462 
463  is.read(buf12,12);
464  data._sample_type_title = buf12;
465 
466  is.read(buf1,1);
467 
468  is.read(buf8,8);
469  data._sample_type = buf8;
470 
471  is.read(buf1,1);
472 
473  is.read(buf1,1);
474 
475  is.read(buf10,10);
476  data._algo_title = buf10;
477 
478  is.read(buf1,1);
479 
480  is.read(buf7,7);
481  data._algorithm = buf7;
482 
483  is.read(buf1,1);
484 
485  is.read(buf1,1);
486 
487  is.read(buf32,17);
488  buf32[17] = '\0';
489  data._mds1_tx_rx_polar_title = buf32;
490 
491  is.read(buf1,1);
492 
493  is.read(buf3,3);
494  data._mds1_tx_rx_polar = buf3;
495 
496  is.read(buf1,1);
497 
498  is.read(buf1,1);
499 
500  is.read(buf32,17);
501  buf32[17] = '\0';
502  data._mds2_tx_rx_polar_title = buf32;
503 
504  is.read(buf1,1);
505 
506  is.read(buf3,3);
507  data._mds2_tx_rx_polar = buf3;
508 
509  is.read(buf1,1);
510 
511  is.read(buf1,1);
512 
513  is.read(buf12,12);
514  data._compression_title = buf12;
515 
516  is.read(buf1,1);
517 
518  is.read(buf5,5);
519  data._compression = buf5;
520 
521  is.read(buf1,1);
522 
523  is.read(buf1,1);
524 
525  is.read(buf14,14);
526  data._azimut_looks_title = buf14;
527 
528  is.read(buf4,4);
529  data._azimut_looks = buf4;
530 
531  is.read(buf1,1);
532 
533  is.read(buf12,12);
534  data._range_looks_title = buf12;
535 
536  is.read(buf4,4);
537  data._range_looks = buf4;
538 
539  is.read(buf1,1);
540 
541  is.read(buf14,14);
542  data._range_spacing_title = buf14;
543 
544  is.read(buf15,15);
545  data._range_spacing = buf15;
546 
547  is.read(buf3,3);
548  data._range_spacing_unit = buf3;
549 
550  is.read(buf1,1);
551 
552  is.read(buf16,16);
553  data._azimut_spacing_title = buf16;
554 
555  is.read(buf15,15);
556  data._azimut_spacing = buf15;
557 
558  is.read(buf3,3);
559  data._azimut_spacing_unit = buf3;
560 
561  is.read(buf1,1);
562 
563  is.read(buf32,19);
564  buf32[19] = '\0';
565  data._line_time_interval_title = buf32;
566 
567  is.read(buf15,15);
568  data._line_time_interval = buf15;
569 
570  is.read(buf3,3);
571  data._line_time_interv_units = buf3;
572 
573  is.read(buf1,1);
574 
575  is.read(buf12,12);
576  data._line_length_title = buf12;
577 
578  is.read(buf6,6);
579  data._line_length = buf6;
580 
581  is.read(buf9,9);
582  data._line_length_units = buf9;
583 
584  is.read(buf1,1);
585 
586  is.read(buf10,10);
587  data._data_type_title = buf10;
588 
589  is.read(buf1,1);
590 
591  is.read(buf5,5);
592  data._data_type = buf5;
593 
594  is.read(buf1,1);
595 
596  is.read(buf1,1);
597 
598  is.read(buf64,50);
599 
600  is.read(buf1,1);
601 
602  for (int i = 0; i<data._num_dsd; i++)
603  {
604  dsd dsd_rec;
605  is>>dsd_rec;
606  data._dsd_vector.push_back(dsd_rec);
607  }
608 
609  //char *buffer = (char* )malloc(data._num_dsd*data._size_dsd);
610  //is.read(buffer, data._num_dsd*data._size_dsd);
611 
612  return is;
613  }
614 
615 
616  sph::sph(const sph& rhs):
617  EnvisatAsarRecord(rhs),
618  _sph_desc_title(rhs._sph_desc_title),
619  _sph_desc(rhs._sph_desc),
620  _strip_cont_ind_title(rhs._strip_cont_ind_title),
621  _strip_cont_ind(rhs._strip_cont_ind),
622  _slice_pos_title(rhs._slice_pos_title),
623  _slice_position(rhs._slice_position),
624  _num_slices_title(rhs._num_slices_title),
625  _num_slices(rhs._num_slices),
626  _first_line_time_title(rhs._first_line_time_title),
627  _first_line_time(rhs._first_line_time),
628  _last_line_time_title(rhs._last_line_time_title),
629  _last_line_time(rhs._last_line_time),
630  _first_near_lat_title(rhs._first_near_lat_title),
631  _first_near_lat(rhs._first_near_lat),
632  _first_near_lat_units(rhs._first_near_lat_units),
633  _first_near_long_title(rhs._first_near_long_title),
634  _first_near_long(rhs._first_near_long),
635  _first_near_long_units(rhs._first_near_long_units),
636  _first_mid_lat_title(rhs._first_mid_lat_title),
637  _first_mid_lat(rhs._first_mid_lat),
638  _first_mid_lat_units(rhs._first_mid_lat_units),
639  _first_mid_long_title(rhs._first_mid_long_title),
640  _first_mid_long(rhs._first_mid_long),
641  _first_mid_long_units(rhs._first_mid_long_units),
642  _first_far_lat_title(rhs._first_far_lat_title),
643  _first_far_lat(rhs._first_far_lat),
644  _first_far_lat_units(rhs._first_far_lat_units),
645  _first_far_long_title(rhs._first_far_long_title),
646  _first_far_long(rhs._first_far_long),
647  _first_far_long_units(rhs._first_far_long_units),
648  _last_near_lat_title(rhs._last_near_lat_title),
649  _last_near_lat(rhs._last_near_lat),
650  _last_near_lat_units(rhs._last_near_lat_units),
651  _last_near_long_title(rhs._last_near_long_title),
652  _last_near_long(rhs._last_near_long),
653  _last_near_long_units(rhs._last_near_long_units),
654  _last_mid_lat_title(rhs._last_mid_lat_title),
655  _last_mid_lat(rhs._last_mid_lat),
656  _last_mid_lat_units(rhs._last_mid_lat_units),
657  _last_mid_long_title(rhs._last_mid_long_title),
658  _last_mid_long(rhs._last_mid_long),
659  _last_mid_long_units(rhs._last_mid_long_units),
660  _last_far_lat_title(rhs._last_far_lat_title),
661  _last_far_lat(rhs._last_far_lat),
662  _last_far_lat_units(rhs._last_far_lat_units),
663  _last_far_long_title(rhs._last_far_long_title),
664  _last_far_long(rhs._last_far_long),
665  _last_far_long_units(rhs._last_far_long_units),
666  _swath_title(rhs._swath_title),
667  _swath(rhs._swath),
668  _pass_title(rhs._pass_title),
669  _pass(rhs._pass),
670  _sample_type_title(rhs._sample_type_title),
671  _sample_type(rhs._sample_type),
672  _algo_title(rhs._algo_title),
673  _algorithm(rhs._algorithm),
674  _mds1_tx_rx_polar_title(rhs._mds1_tx_rx_polar_title),
675  _mds1_tx_rx_polar(rhs._mds1_tx_rx_polar),
676  _mds2_tx_rx_polar_title(rhs._mds2_tx_rx_polar_title),
677  _mds2_tx_rx_polar(rhs._mds2_tx_rx_polar),
678  _compression_title(rhs._compression_title),
679  _compression(rhs._compression),
680  _azimut_looks_title(rhs._azimut_looks_title),
681  _azimut_looks(rhs._azimut_looks),
682  _range_looks_title(rhs._range_looks_title),
683  _range_looks(rhs._range_looks),
684  _range_spacing_title(rhs._range_spacing_title),
685  _range_spacing(rhs._range_spacing),
686  _range_spacing_unit(rhs._range_spacing_unit),
687  _azimut_spacing_title(rhs._azimut_spacing_title),
688  _azimut_spacing(rhs._azimut_spacing),
689  _azimut_spacing_unit(rhs._azimut_spacing_unit),
690  _line_time_interval_title(rhs._line_time_interval_title),
691  _line_time_interval(rhs._line_time_interval),
692  _line_time_interv_units(rhs._line_time_interv_units),
693  _line_length_title(rhs._line_length_title),
694  _line_length(rhs._line_length),
695  _line_length_units(rhs._line_length_units),
696  _data_type_title(rhs._data_type_title),
697  _data_type(rhs._data_type)
698  {}
699 
700 
701  sph& sph::operator=(const sph& rhs)
702  {
704  _sph_desc = rhs._sph_desc;
710  _num_slices = rhs._num_slices;
752  _swath = rhs._swath;
753  _pass_title = rhs._pass_title;
754  _pass = rhs._pass;
757  _algo_title = rhs._algo_title;
758  _algorithm = rhs._algorithm;
782  _data_type = rhs._data_type;
783 
784  return *this;
785  }
786 }
std::string _mds2_tx_rx_polar
mds2_tx_rx_polar
Definition: sph.h:926
std::vector< dsd > _dsd_vector
DSD records
Definition: sph.h:1010
This class is able to read the SAR sph record of the ASAR file.
Definition: sph.h:27
std::string _first_mid_lat_units
first_mid_lat_units
Definition: sph.h:770
std::string _last_far_long_title
last_far_long_title
Definition: sph.h:870
std::string _last_line_time
last_line_time
Definition: sph.h:734
std::string _first_mid_long_title
first_mid_long_title
Definition: sph.h:774
std::string _mds1_tx_rx_polar_title
mds1_tx_rx_polar_title
Definition: sph.h:914
std::string _first_mid_lat
first_mid_lat
Definition: sph.h:766
std::string _azimut_spacing_unit
azimut_spacing_unit
Definition: sph.h:974
std::string _first_mid_long_units
first_mid_long_units
Definition: sph.h:782
std::string _azimut_looks_title
azimut_looks_title
Definition: sph.h:938
std::string _mds1_tx_rx_polar
mds1_tx_rx_polar
Definition: sph.h:918
std::string _last_far_long
last_far_long
Definition: sph.h:874
std::string _first_mid_long
first_mid_long
Definition: sph.h:778
std::string _line_length
line_length
Definition: sph.h:994
std::string _first_far_long
first_far_long
Definition: sph.h:802
std::string _num_slices_title
num_slices_title
Definition: sph.h:714
std::string _last_near_lat_units
last_near_lat_units
Definition: sph.h:818
std::string _sph_desc
sph_desc
Definition: sph.h:694
std::string _first_line_time_title
first_line_time_title
Definition: sph.h:722
std::string _strip_cont_ind_title
strip_cont_ind_title
Definition: sph.h:698
std::string _num_slices
num_slices
Definition: sph.h:718
std::string _first_near_long
first_near_long
Definition: sph.h:754
std::string _last_far_lat_units
last_far_lat_units
Definition: sph.h:866
std::string _last_near_lat
last_near_lat
Definition: sph.h:814
std::string _last_mid_long_title
last_mid_long_title
Definition: sph.h:846
std::string _last_near_long_title
last_near_long_title
Definition: sph.h:822
std::string _last_far_lat_title
last_far_lat_title
Definition: sph.h:858
virtual ~sph()
Destructor.
Definition: sph.cpp:29
std::string _azimut_spacing_title
azimut_spacing_title
Definition: sph.h:966
std::string _algo_title
algo_title
Definition: sph.h:906
std::string _strip_cont_ind
strip_cont_ind
Definition: sph.h:702
std::string _last_mid_lat_title
last_mid_lat_title
Definition: sph.h:834
int _num_dsd
num_dsd
Definition: mph.h:961
std::string _range_spacing_title
range_spacing_title
Definition: sph.h:954
std::string _slice_position
slice_position
Definition: sph.h:710
std::string _range_spacing_unit
range_spacing_unit
Definition: sph.h:962
std::string _sample_type_title
sample_type_title
Definition: sph.h:898
std::string _last_far_lat
last_far_lat
Definition: sph.h:862
std::string _first_near_long_title
first_near_long_title
Definition: sph.h:750
std::string _last_far_long_units
last_far_long_units
Definition: sph.h:878
std::string _first_far_lat
first_far_lat
Definition: sph.h:790
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
std::string _first_mid_lat_title
first_mid_lat_title
Definition: sph.h:762
std::string _last_mid_lat
last_mid_lat
Definition: sph.h:838
std::string _first_line_time
first_line_time
Definition: sph.h:726
std::string _last_mid_long
last_mid_long
Definition: sph.h:850
std::string _data_type_title
data_type_title
Definition: sph.h:1002
int _dsd_size
dsd_size
Definition: mph.h:969
std::string _line_length_title
line_length_title
Definition: sph.h:990
std::string _first_near_long_units
first_near_long_units
Definition: sph.h:758
std::string _slice_pos_title
slice_pos_title
Definition: sph.h:706
std::string _line_time_interval
line_time_interval
Definition: sph.h:982
std::string _first_near_lat
first_near_lat
Definition: sph.h:742
std::string _last_mid_long_units
last_mid_long_units
Definition: sph.h:854
std::string _last_mid_lat_units
last_mid_lat_units
Definition: sph.h:842
std::string _range_looks_title
range_looks_title
Definition: sph.h:946
This class is able to read the ASAR mph record of the leader file.
Definition: mph.h:25
long _num_dsd
Number of Data Set Descriptors (DSD)
Definition: sph.h:673
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
std::string _last_near_lat_title
last_near_lat_title
Definition: sph.h:810
std::string _pass_title
pass_title
Definition: sph.h:890
std::string _swath
swath
Definition: sph.h:886
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
std::string _compression_title
compression_title
Definition: sph.h:930
std::string _line_time_interval_title
line_time_interval_title
Definition: sph.h:978
std::string _range_looks
range_looks
Definition: sph.h:950
std::string _algorithm
algorithm
Definition: sph.h:910
std::string _range_spacing
range_spacing
Definition: sph.h:958
std::string _sph_desc_title
sph_desc_title
Definition: sph.h:690
std::string _mds2_tx_rx_polar_title
mds2_tx_rx_polar_title
Definition: sph.h:922
std::string _data_type
data_type
Definition: sph.h:1006
This class is the base class of all the Envisat ASAR record classes.
std::string _last_near_long_units
last_near_long_units
Definition: sph.h:830
std::string _first_far_lat_units
first_far_lat_units
Definition: sph.h:794
std::string _line_length_units
line_length_units
Definition: sph.h:998
long _size_dsd
Size of each Data Set Descriptors (DSD)
Definition: sph.h:685
std::string _first_near_lat_units
first_near_lat_units
Definition: sph.h:746
std::string _pass
pass
Definition: sph.h:894
std::string _last_near_long
last_near_long
Definition: sph.h:826
std::string _last_line_time_title
last_line_time_title
Definition: sph.h:730
sph & operator=(const sph &rhs)
Copy operator.
Definition: sph.cpp:701
std::string _azimut_looks
azimut_looks
Definition: sph.h:942
std::string _first_far_lat_title
first_far_lat_title
Definition: sph.h:786
std::string _swath_title
swath_title
Definition: sph.h:882
std::string _azimut_spacing
azimut_spacing
Definition: sph.h:970
std::string _line_time_interv_units
line_time_interv_units
Definition: sph.h:986
std::string _sample_type
sample_type
Definition: sph.h:902
sph()
Constructor.
Definition: sph.cpp:17
std::string _first_far_long_title
first_far_long_title
Definition: sph.h:798
std::string _compression
compression
Definition: sph.h:934
std::string _first_far_long_units
first_far_long_units
Definition: sph.h:806
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
This class is able to read the ASAR dsd record.
Definition: dsd.h:24
std::string _first_near_lat_title
first_near_lat_title
Definition: sph.h:738