24 static ossimTrace traceExec (
"ossimCeosData:exec");
25 static ossimTrace traceDebug (
"ossimCeosData:debug");
27 static const ossimFilename CEOS_VOL_DIR_FILENAME =
"vdf_dat.001";
28 static const ossimFilename CEOS_LEADER_FILENAME =
"lea_01.001";
29 static const ossimFilename CEOS_IMAGE_FILENAME =
"dat_01.001";
30 static const ossimFilename CEOS_TRAILER_FILENAME =
"tra_01.001";
41 theVolDirFileName (volDirFile),
42 theLeaderFileName (leaderFile),
43 theImageFileName (imageFile),
44 theTrailerFileName (trailerFile),
60 static const char MODULE[] =
"ossimCeosData Constructor #1";
61 if (traceExec())
CLOG <<
"entering..." << endl;
65 if (traceExec())
CLOG <<
"returning..." << endl;
92 static const char MODULE[] =
"ossimCeosData Constructor #1";
93 if (traceExec())
CLOG <<
"entering..." << endl;
105 if (traceExec())
CLOG <<
"returning..." << endl;
115 static const char MODULE[] =
"ossimCeosData::dump(ostream& stream)";
116 if (traceExec())
CLOG <<
"entering..." << endl;
118 stream <<
"\nDump of ossimCeosData Object -----------------------------" << endl;
123 stream <<
"\n\n\tvol_desc_rec not present." << endl;
128 stream <<
"\n\n\ttext_rec not present." << endl;
133 stream <<
"\n\n\timop_desc_rec not present." << endl;
138 stream <<
"\n\n\tdataset_sum_rec not present." << endl;
143 stream <<
"\n\n\tqual_sum_rec not present." << endl;
148 stream <<
"\n\n\tsdr_hist_rec not present." << endl;
153 stream <<
"\n\n\tpdr16_hist_rec not present." << endl;
158 stream <<
"\n\n\tpdr8_hist_rec not present." << endl;
163 stream <<
"\n\n\tproc_parm_rec not present." << endl;
168 stream <<
"\n\n\tmap_proj_rec not present." << endl;
173 stream <<
"\n\n\tpos_data_rec not present." << endl;
178 stream <<
"\n\n\tatt_data_rec not present." << endl;
183 stream <<
"\n\n\tradi_data_rec not present." << endl;
188 stream <<
"\n\n\tradi_comp_rec not present." << endl;
190 stream <<
"\nEnd of ossimCeosData Object Dump -------------------------" << endl;
192 if (traceExec())
CLOG <<
"returning..." << endl;
204 stream <<
"\n\n\tContents of vol_desc_rec:\n";
205 stream <<
"\n\t ascii_flag \""; stream.write(p->
ascii_flag, 2);
206 stream <<
"\"\n\t format_doc \""; stream.write(p->
format_doc, 12);
207 stream <<
"\"\n\t format_ver \""; stream.write(p->
format_ver, 2);
208 stream <<
"\"\n\t format_rev \""; stream.write(p->
format_rev, 2);
209 stream <<
"\"\n\t software_id \""; stream.write(p->
software_id, 12);
210 stream <<
"\"\n\t phyvol_id \""; stream.write(p->
phyvol_id, 16);
211 stream <<
"\"\n\t logvol_id \""; stream.write(p->
logvol_id, 16);
212 stream <<
"\"\n\t volset_id \""; stream.write(p->
volset_id, 16);
213 stream <<
"\"\n\t phyvol_cnt \""; stream.write(p->
phyvol_cnt, 2);
214 stream <<
"\"\n\t first_phyvol \""; stream.write(p->
first_phyvol, 2);
215 stream <<
"\"\n\t last_phyvol \""; stream.write(p->
last_phyvol, 2);
216 stream <<
"\"\n\t curr_phyvol \""; stream.write(p->
curr_phyvol, 2);
217 stream <<
"\"\n\t first_file \""; stream.write(p->
first_file, 4);
218 stream <<
"\"\n\t volset_log \""; stream.write(p->
volset_log, 4);
219 stream <<
"\"\n\t phyvol_log \""; stream.write(p->
phyvol_log, 4);
220 stream <<
"\"\n\t logvol_date \""; stream.write(p->
logvol_date, 8);
221 stream <<
"\"\n\t logvol_time \""; stream.write(p->
logvol_time, 8);
222 stream <<
"\"\n\t logvol_country \"";
224 stream <<
"\"\n\t logvol_agency \""; stream.write(p->
logvol_agency, 8);
225 stream <<
"\"\n\t logvol_facility \"";
227 stream <<
"\"\n\t n_filepoint \""; stream.write(p->
n_filepoint, 4);
228 stream <<
"\"\n\t n_voldir \""; stream.write(p->
n_voldir, 4);
229 stream <<
"\"\n\t product_id \""; stream.write(p->
product_id, 8);
231 stream <<
"\"" << endl;
242 stream <<
"\n\n\tContents of text_rec:\n\t";
243 stream <<
"\n\t ascii_flag \""; stream.write(p->
ascii_flag, 2);
244 stream <<
"\"\n\t cont_flag \""; stream.write(p->
cont_flag, 2);
245 stream <<
"\"\n\t product_type \""; stream.write(p->
product_type, 40);
246 stream <<
"\"\n\t product_create \"";
248 stream <<
"\"\n\t phyvol_id \""; stream.write(p->
phyvol_id, 40);
249 stream <<
"\"\n\t scene_id \""; stream.write(p->
scene_id, 40);
250 stream <<
"\"\n\t scene_loc \""; stream.write(p->
scene_loc, 40);
251 stream <<
"\"" << endl;
262 stream <<
"\n\n\tContents of imop_desc_rec:\n\t";
263 stream <<
"\n\t ascii_flag \""; stream.write(p->
ascii_flag, 2);
264 stream <<
"\"\n\t spare1 \""; stream.write(p->
spare1, 2);
265 stream <<
"\"\n\t format_doc \""; stream.write(p->
format_doc, 12);
266 stream <<
"\"\n\t format_rev \""; stream.write(p->
format_rev, 2);
267 stream <<
"\"\n\t design_rev \""; stream.write(p->
design_rev, 2);
268 stream <<
"\"\n\t software_id \""; stream.write(p->
software_id, 12);
269 stream <<
"\"\n\t file_num \""; stream.write(p->
file_num, 4);
270 stream <<
"\"\n\t file_name \""; stream.write(p->
file_name, 16);
271 stream <<
"\"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
272 stream <<
"\"\n\t seq_loc \""; stream.write(p->
seq_loc, 8);
273 stream <<
"\"\n\t seq_len \""; stream.write(p->
seq_len, 4);
274 stream <<
"\"\n\t rec_code \""; stream.write(p->
rec_code, 4);
275 stream <<
"\"\n\t code_loc \""; stream.write(p->
code_loc, 8);
276 stream <<
"\"\n\t code_len \""; stream.write(p->
code_len, 4);
277 stream <<
"\"\n\t rec_len \""; stream.write(p->
rec_len, 4);
278 stream <<
"\"\n\t rlen_loc \""; stream.write(p->
rlen_loc, 8);
279 stream <<
"\"\n\t rlen_len \""; stream.write(p->
rlen_len, 4);
280 stream <<
"\"\n\t spare2 \""; stream.write(p->
spare2, 4);
281 stream <<
"\"\n\t spare3 \""; stream.write(p->
spare3, 64);
282 stream <<
"\"\n\t n_dataset \""; stream.write(p->
n_dataset, 6);
283 stream <<
"\"\n\t l_dataset \""; stream.write(p->
l_dataset, 6);
284 stream <<
"\"\n\t spare4 \""; stream.write(p->
spare4, 24);
285 stream <<
"\"\n\t nbit \""; stream.write(p->
nbit, 4);
286 stream <<
"\"\n\t nsamp \""; stream.write(p->
nsamp, 4);
287 stream <<
"\"\n\t nbyte \""; stream.write(p->
nbyte, 4);
288 stream <<
"\"\n\t justify \""; stream.write(p->
justify, 4);
289 stream <<
"\"\n\t nchn \""; stream.write(p->
nchn, 4);
290 stream <<
"\"\n\t nlin \""; stream.write(p->
nlin, 8);
291 stream <<
"\"\n\t nleft \""; stream.write(p->
nleft, 4);
292 stream <<
"\"\n\t ngrp \""; stream.write(p->
ngrp, 8);
293 stream <<
"\"\n\t nright \""; stream.write(p->
nright, 4);
294 stream <<
"\"\n\t ntop \""; stream.write(p->
ntop, 4);
295 stream <<
"\"\n\t nbott \""; stream.write(p->
nbott, 4);
296 stream <<
"\"\n\t intleav \""; stream.write(p->
intleav, 4);
297 stream <<
"\"\n\t nrec_lin \""; stream.write(p->
nrec_lin, 2);
298 stream <<
"\"\n\t nrec_chn \""; stream.write(p->
nrec_chn, 2);
299 stream <<
"\"\n\t n_prefix \""; stream.write(p->
n_prefix, 4);
300 stream <<
"\"\n\t n_sar \""; stream.write(p->
n_sar, 8);
301 stream <<
"\"\n\t n_suffix \""; stream.write(p->
n_suffix, 4);
302 stream <<
"\"\n\t spare5 \""; stream.write(p->
spare5, 4);
303 stream <<
"\"\n\t lin_loc \""; stream.write(p->
lin_loc, 8);
304 stream <<
"\"\n\t chn_loc \""; stream.write(p->
chn_loc, 8);
305 stream <<
"\"\n\t tim_loc \""; stream.write(p->
tim_loc, 8);
306 stream <<
"\"\n\t left_loc \""; stream.write(p->
left_loc, 8);
307 stream <<
"\"\n\t right_loc \""; stream.write(p->
right_loc, 8);
308 stream <<
"\"\n\t pad_ind \""; stream.write(p->
pad_ind, 4);
309 stream <<
"\"\n\t spare6 \""; stream.write(p->
spare6, 28);
310 stream <<
"\"\n\t qual_loc \""; stream.write(p->
qual_loc, 8);
311 stream <<
"\"\n\t cali_loc \""; stream.write(p->
cali_loc, 8);
312 stream <<
"\"\n\t gain_loc \""; stream.write(p->
gain_loc, 8);
313 stream <<
"\"\n\t bias_loc \""; stream.write(p->
bias_loc, 8);
314 stream <<
"\"\n\t type_id \""; stream.write(p->
type_id, 28);
315 stream <<
"\"\n\t type_code \""; stream.write(p->
type_code, 4);
316 stream <<
"\"\n\t left_fill \""; stream.write(p->
left_fill, 4);
317 stream <<
"\"\n\t right_fill \""; stream.write(p->
right_fill, 4);
318 stream <<
"\"\n\t pix_rng \""; stream.write(p->
pix_rng, 8);
319 stream <<
"\"" << endl;
330 stream <<
"\n\n\tContents of dataset_sum_rec:\n\t \"";
331 stream <<
"\n\t seq_num \""; stream.write(p->
seq_num, 4);
332 stream <<
"\"\n\t sar_chn \""; stream.write(p->
sar_chn, 4);
333 stream <<
"\"\n\t scene_id \""; stream.write(p->
scene_id, 16);
334 stream <<
"\"\n\t scene_des \""; stream.write(p->
scene_des, 32);
335 stream <<
"\"\n\t inp_sctim \""; stream.write(p->
inp_sctim, 32);
336 stream <<
"\"\n\t asc_des \""; stream.write(p->
asc_des, 16);
337 stream <<
"\"\n\t pro_lat \""; stream.write(p->
pro_lat, 16);
338 stream <<
"\"\n\t pro_long \""; stream.write(p->
pro_long, 16);
339 stream <<
"\"\n\t pro_head \""; stream.write(p->
pro_head, 16);
340 stream <<
"\"\n\t ellip_des \""; stream.write(p->
ellip_des, 16);
341 stream <<
"\"\n\t ellip_maj \""; stream.write(p->
ellip_maj, 16);
342 stream <<
"\"\n\t ellip_min \""; stream.write(p->
ellip_min, 16);
343 stream <<
"\"\n\t earth_mass \""; stream.write(p->
earth_mass, 16);
344 stream <<
"\"\n\t grav_const \""; stream.write(p->
grav_const, 16);
345 stream <<
"\"\n\t ellip_j[0] \""; stream.write(p->
ellip_j[0], 16);
346 stream <<
"\"\n\t ellip_j[1] \""; stream.write(p->
ellip_j[1], 16);
347 stream <<
"\"\n\t ellip_j[2] \""; stream.write(p->
ellip_j[2], 16);
348 stream <<
"\"\n\t spare1 \""; stream.write(p->
spare1, 16);
349 stream <<
"\"\n\t terrain_h \""; stream.write(p->
terrain_h, 16);
350 stream <<
"\"\n\t sc_lin \""; stream.write(p->
sc_lin, 8);
351 stream <<
"\"\n\t sc_pix \""; stream.write(p->
sc_pix, 8);
352 stream <<
"\"\n\t scene_len \""; stream.write(p->
scene_len, 16);
353 stream <<
"\"\n\t scene_wid \""; stream.write(p->
scene_wid, 16);
354 stream <<
"\"\n\t spare2 \""; stream.write(p->
spare2, 16);
355 stream <<
"\"\n\t nchn \""; stream.write(p->
nchn, 4);
356 stream <<
"\"\n\t spare3 \""; stream.write(p->
spare3, 4);
357 stream <<
"\"\n\t mission_id \""; stream.write(p->
mission_id, 16);
358 stream <<
"\"\n\t sensor_id \""; stream.write(p->
sensor_id, 32);
359 stream <<
"\"\n\t orbit_num \""; stream.write(p->
orbit_num, 8);
360 stream <<
"\"\n\t plat_lat \""; stream.write(p->
plat_lat, 8);
361 stream <<
"\"\n\t plat_long \""; stream.write(p->
plat_long, 8);
362 stream <<
"\"\n\t plat_head \""; stream.write(p->
plat_head, 8);
363 stream <<
"\"\n\t clock_ang \""; stream.write(p->
clock_ang, 8);
364 stream <<
"\"\n\t incident_ang \""; stream.write(p->
incident_ang, 8);
365 stream <<
"\"\n\t spare4 \""; stream.write(p->
spare4, 8);
366 stream <<
"\"\n\t wave_length \""; stream.write(p->
wave_length, 16);
367 stream <<
"\"\n\t motion_comp \""; stream.write(p->
motion_comp, 2);
368 stream <<
"\"\n\t pulse_code \""; stream.write(p->
pulse_code, 16);
369 stream <<
"\"\n\t ampl_coef[0] \""; stream.write(p->
ampl_coef[0], 16);
370 stream <<
"\"\n\t ampl_coef[1] \""; stream.write(p->
ampl_coef[1], 16);
371 stream <<
"\"\n\t ampl_coef[2] \""; stream.write(p->
ampl_coef[2], 16);
372 stream <<
"\"\n\t ampl_coef[3] \""; stream.write(p->
ampl_coef[3], 16);
373 stream <<
"\"\n\t ampl_coef[4] \""; stream.write(p->
ampl_coef[4], 16);
374 stream <<
"\"\n\t phas_coef[0] \""; stream.write(p->
phas_coef[0], 16);
375 stream <<
"\"\n\t phas_coef[1] \""; stream.write(p->
phas_coef[1], 16);
376 stream <<
"\"\n\t phas_coef[2] \""; stream.write(p->
phas_coef[2], 16);
377 stream <<
"\"\n\t phas_coef[3] \""; stream.write(p->
phas_coef[3], 16);
378 stream <<
"\"\n\t phas_coef[4] \""; stream.write(p->
phas_coef[4], 16);
379 stream <<
"\"\n\t chirp_ext_ind \""; stream.write(p->
chirp_ext_ind, 8);
380 stream <<
"\"\n\t spare5 \""; stream.write(p->
spare5, 8);
381 stream <<
"\"\n\t fr \""; stream.write(p->
fr, 16);
382 stream <<
"\"\n\t rng_gate \""; stream.write(p->
rng_gate, 16);
383 stream <<
"\"\n\t rng_length \""; stream.write(p->
rng_length, 16);
384 stream <<
"\"\n\t baseband_f \""; stream.write(p->
baseband_f, 4);
385 stream <<
"\"\n\t rngcmp_f \""; stream.write(p->
rngcmp_f, 4);
386 stream <<
"\"\n\t gn_polar \""; stream.write(p->
gn_polar, 16);
387 stream <<
"\"\n\t gn_cross \""; stream.write(p->
gn_cross, 16);
388 stream <<
"\"\n\t chn_bits \""; stream.write(p->
chn_bits, 8);
389 stream <<
"\"\n\t quant_desc \""; stream.write(p->
quant_desc, 12);
390 stream <<
"\"\n\t i_bias \""; stream.write(p->
i_bias, 16);
391 stream <<
"\"\n\t q_bias \""; stream.write(p->
q_bias, 16);
392 stream <<
"\"\n\t iq_ratio \""; stream.write(p->
iq_ratio, 16);
393 stream <<
"\"\n\t spare6 \""; stream.write(p->
spare6, 16);
394 stream <<
"\"\n\t spare7 \""; stream.write(p->
spare7, 16);
395 stream <<
"\"\n\t ele_sight \""; stream.write(p->
ele_sight, 16);
396 stream <<
"\"\n\t mech_sight \""; stream.write(p->
mech_sight, 16);
397 stream <<
"\"\n\t echo_track \""; stream.write(p->
echo_track, 4);
398 stream <<
"\"\n\t fa \""; stream.write(p->
fa, 16);
399 stream <<
"\"\n\t elev_beam \""; stream.write(p->
elev_beam, 16);
400 stream <<
"\"\n\t azim_beam \""; stream.write(p->
azim_beam, 16);
401 stream <<
"\"\n\t sat_bintim \""; stream.write(p->
sat_bintim, 16);
402 stream <<
"\"\n\t sat_clktim \""; stream.write(p->
sat_clktim, 32);
403 stream <<
"\"\n\t sat_clkinc \""; stream.write(p->
sat_clkinc, 8);
404 stream <<
"\"\n\t spare8 \""; stream.write(p->
spare8, 8);
405 stream <<
"\"\n\t fac_id \""; stream.write(p->
fac_id, 16);
406 stream <<
"\"\n\t sys_id \""; stream.write(p->
sys_id, 8);
407 stream <<
"\"\n\t ver_id \""; stream.write(p->
ver_id, 8);
408 stream <<
"\"\n\t fac_code \""; stream.write(p->
fac_code, 16);
409 stream <<
"\"\n\t lev_code \""; stream.write(p->
lev_code, 16);
410 stream <<
"\"\n\t prod_type \""; stream.write(p->
prod_type, 32);
411 stream <<
"\"\n\t algor_id \""; stream.write(p->
algor_id, 32);
412 stream <<
"\"\n\t n_azilok \""; stream.write(p->
n_azilok, 16);
413 stream <<
"\"\n\t n_rnglok \""; stream.write(p->
n_rnglok, 16);
414 stream <<
"\"\n\t bnd_azilok \""; stream.write(p->
bnd_azilok, 16);
415 stream <<
"\"\n\t bnd_rnglok \""; stream.write(p->
bnd_rnglok, 16);
416 stream <<
"\"\n\t bnd_azi \""; stream.write(p->
bnd_azi, 16);
417 stream <<
"\"\n\t bnd_rng \""; stream.write(p->
bnd_rng, 16);
418 stream <<
"\"\n\t azi_weight \""; stream.write(p->
azi_weight, 32);
419 stream <<
"\"\n\t rng_weight \""; stream.write(p->
rng_weight, 32);
420 stream <<
"\"\n\t data_inpsrc \""; stream.write(p->
data_inpsrc, 16);
421 stream <<
"\"\n\t rng_res \""; stream.write(p->
rng_res, 16);
422 stream <<
"\"\n\t azi_res \""; stream.write(p->
azi_res, 16);
423 stream <<
"\"\n\t radi_stretch[0] \"";
425 stream <<
"\"\n\t radi_stretch[1] \"";
427 stream <<
"\"\n\t alt_dopcen[0] \""; stream.write(p->
alt_dopcen[0],16);
428 stream <<
"\"\n\t alt_dopcen[1] \""; stream.write(p->
alt_dopcen[1],16);
429 stream <<
"\"\n\t alt_dopcen[2] \""; stream.write(p->
alt_dopcen[2],16);
430 stream <<
"\"\n\t spare9 \""; stream.write(p->
spare9, 16);
431 stream <<
"\"\n\t crt_dopcen[0] \""; stream.write(p->
crt_dopcen[0],16);
432 stream <<
"\"\n\t crt_dopcen[1] \""; stream.write(p->
crt_dopcen[1],16);
433 stream <<
"\"\n\t crt_dopcen[2] \""; stream.write(p->
crt_dopcen[2],16);
434 stream <<
"\"\n\t time_dir_pix \""; stream.write(p->
time_dir_pix, 8);
435 stream <<
"\"\n\t time_dir_lin \""; stream.write(p->
time_dir_lin, 8);
436 stream <<
"\"\n\t alt_rate[0] \""; stream.write(p->
alt_rate[0], 16);
437 stream <<
"\"\n\t alt_rate[1] \""; stream.write(p->
alt_rate[1], 16);
438 stream <<
"\"\n\t alt_rate[2] \""; stream.write(p->
alt_rate[2], 16);
439 stream <<
"\"\n\t spare10 \""; stream.write(p->
spare10, 16);
440 stream <<
"\"\n\t crt_rate[0] \""; stream.write(p->
crt_rate[0], 16);
441 stream <<
"\"\n\t crt_rate[1] \""; stream.write(p->
crt_rate[1], 16);
442 stream <<
"\"\n\t crt_rate[2] \""; stream.write(p->
crt_rate[2], 16);
443 stream <<
"\"\n\t spare11 \""; stream.write(p->
spare11, 16);
444 stream <<
"\"\n\t line_cont \""; stream.write(p->
line_cont, 8);
445 stream <<
"\"\n\t clutter_lock \""; stream.write(p->
clutter_lock, 4);
446 stream <<
"\"\n\t auto_focus \""; stream.write(p->
auto_focus, 4);
447 stream <<
"\"\n\t line_spacing \""; stream.write(p->
line_spacing, 16);
448 stream <<
"\"\n\t pix_spacing \""; stream.write(p->
pix_spacing, 16);
449 stream <<
"\"\n\t rngcmp_desg \""; stream.write(p->
rngcmp_desg, 16);
450 stream <<
"\"" << endl;
461 stream <<
"\n\n\tContents of qual_sum_rec:\n\t";
462 stream <<
"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
463 stream <<
"\"\n\t sar_chn \""; stream.write(p->
sar_chn, 4);
464 stream <<
"\"\n\t cali_date \""; stream.write(p->
cali_date, 6);
465 stream <<
"\"\n\t nchn \""; stream.write(p->
nchn, 4);
466 stream <<
"\"\n\t islr \""; stream.write(p->
islr, 16);
467 stream <<
"\"\n\t pslr \""; stream.write(p->
pslr, 16);
468 stream <<
"\"\n\t azi_ambig \""; stream.write(p->
azi_ambig, 16);
469 stream <<
"\"\n\t rng_ambig \""; stream.write(p->
rng_ambig, 16);
470 stream <<
"\"\n\t snr \""; stream.write(p->
snr, 16);
471 stream <<
"\"\n\t ber \""; stream.write(p->
ber, 16);
472 stream <<
"\"\n\t rng_res \""; stream.write(p->
rng_res, 16);
473 stream <<
"\"\n\t azi_res \""; stream.write(p->
azi_res, 16);
474 stream <<
"\"\n\t rad_res \""; stream.write(p->
rad_res, 16);
475 stream <<
"\"\n\t dyn_rng \""; stream.write(p->
dyn_rng, 16);
476 stream <<
"\"\n\t rad_unc_db \""; stream.write(p->
rad_unc_db, 16);
477 stream <<
"\"\n\t rad_unc_deg \""; stream.write(p->
rad_unc_deg, 16);
481 stream <<
"\"\n\t rad_unc[" << i <<
"]:";
482 stream <<
"\n\t db \"";
484 stream <<
"\"\n\t deg \"";
487 stream <<
"\"\n\t alt_locerr \""; stream.write(p->
alt_locerr, 16);
488 stream <<
"\"\n\t crt_locerr \""; stream.write(p->
crt_locerr, 16);
489 stream <<
"\"\n\t alt_scale \""; stream.write(p->
alt_scale, 16);
490 stream <<
"\"\n\t crt_scale \""; stream.write(p->
crt_scale, 16);
491 stream <<
"\"\n\t dis_skew \""; stream.write(p->
dis_skew, 16);
492 stream <<
"\"\n\t ori_err \""; stream.write(p->
ori_err, 16);
495 stream <<
"\"\n\t misreg[" << i <<
"]:";
496 stream <<
"\n\t alt_m \"";
498 stream <<
"\"\n\t crt_m \"";
501 stream <<
"\"\n\t nesz \""; stream.write(p->
nesz, 16);
502 stream <<
"\"\n\t enl \""; stream.write(p->
enl, 16);
503 stream <<
"\"\n\t tb_update \""; stream.write(p->
tb_update, 8);
504 stream <<
"\"" << endl;
515 stream <<
"\n\n\tContents of sdr_hist_rec:\n\t";
516 stream <<
"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
517 stream <<
"\"\n\t sar_chn \""; stream.write(p->
sar_chn, 4);
518 stream <<
"\"\n\t ntab \""; stream.write(p->
ntab, 8);
519 stream <<
"\"\n\t ltab \""; stream.write(p->
ltab, 8);
520 stream <<
"\"\n\t htab[0] (only one sdr_htab_rec declared in data struct):";
521 stream <<
"\n\t hist_desc \"";
523 stream <<
"\"\n\t nrec \""; stream.write(p->
htab.
nrec, 4);
524 stream <<
"\"\n\t tab_seq \""; stream.write(p->
htab.
tab_seq, 4);
525 stream <<
"\"\n\t nbin \""; stream.write(p->
htab.
nbin, 8);
526 stream <<
"\"\n\t ns_lin \""; stream.write(p->
htab.
ns_lin, 8);
527 stream <<
"\"\n\t ns_pix \""; stream.write(p->
htab.
ns_pix, 8);
528 stream <<
"\"\n\t ngrp_lin \""; stream.write(p->
htab.
ngrp_lin, 8);
529 stream <<
"\"\n\t ngrp_pix \""; stream.write(p->
htab.
ngrp_pix, 8);
530 stream <<
"\"\n\t nsamp_lin \""; stream.write(p->
htab.
nsamp_lin,8);
531 stream <<
"\"\n\t nsamp_pix \""; stream.write(p->
htab.
nsamp_pix,8);
532 stream <<
"\"\n\t min_smp \""; stream.write(p->
htab.
min_smp, 16);
533 stream <<
"\"\n\t max_smp \""; stream.write(p->
htab.
max_smp, 16);
534 stream <<
"\"\n\t mean_smp \""; stream.write(p->
htab.
mean_smp,16);
535 stream <<
"\"\n\t std_smp \""; stream.write(p->
htab.
std_smp, 16);
536 stream <<
"\"\n\t smp_inc \""; stream.write(p->
htab.
smp_inc, 16);
537 stream <<
"\"\n\t min_hist \""; stream.write(p->
htab.
min_hist,16);
538 stream <<
"\"\n\t max_hist \""; stream.write(p->
htab.
max_hist,16);
539 stream <<
"\"\n\t mean_hist \"";
541 stream <<
"\"\n\t std_hist \""; stream.write(p->
htab.
std_hist,16);
542 stream <<
"\"\n\t nhist \""; stream.write(p->
htab.
nhist, 8);
543 stream <<
"\"\n\t [Use debugger to view histogram]";
555 stream <<
"\n\n\tContents of pdr16_hist_rec:\n\t";
556 stream <<
"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
557 stream <<
"\"\n\t sar_chn \""; stream.write(p->
sar_chn, 4);
558 stream <<
"\"\n\t ntab \""; stream.write(p->
ntab, 8);
559 stream <<
"\"\n\t ltab \""; stream.write(p->
ltab, 8);
561 char buf[] =
"12345678";
562 strncpy(buf, p->
ntab, 8);
564 for (
int i=0; i<
n; i++)
566 stream <<
"\"\n\t htab[" << i <<
"]:";
567 stream <<
"\n\t hist_desc \"";
569 stream <<
"\"\n\t nrec \"";
571 stream <<
"\"\n\t tab_seq \"";
573 stream <<
"\"\n\t nbin \"";
575 stream <<
"\"\n\t ns_lin \"";
577 stream <<
"\"\n\t ns_pix \"";
579 stream <<
"\"\n\t ngrp_lin \"";
581 stream <<
"\"\n\t ngrp_pix \"";
583 stream <<
"\"\n\t nsamp_lin \"";
585 stream <<
"\"\n\t nsamp_pix \"";
587 stream <<
"\"\n\t min_smp \"";
589 stream <<
"\"\n\t max_smp \"";
591 stream <<
"\"\n\t mean_smp \"";
593 stream <<
"\"\n\t std_smp \"";
595 stream <<
"\"\n\t smp_inc \"";
597 stream <<
"\"\n\t min_hist \"";
599 stream <<
"\"\n\t max_hist \"";
601 stream <<
"\"\n\t mean_hist \"";
603 stream <<
"\"\n\t std_hist \"";
605 stream <<
"\"\n\t nhist \"";
607 stream <<
"\n\t [Use debugger to view histogram]";
609 stream <<
"\"" << endl;
620 stream <<
"\n\n\tContents of pdr18hist_rec:\n\t";
621 stream <<
"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
622 stream <<
"\"\n\t sar_chn \""; stream.write(p->
sar_chn, 4);
623 stream <<
"\"\n\t ntab \""; stream.write(p->
ntab, 8);
624 stream <<
"\"\n\t ltab \""; stream.write(p->
ltab, 8);
625 stream <<
"\"\n\t htab[0] (only one sdr_htab_rec declared in data struct):";
626 stream <<
"\n\t hist_desc \"";
628 stream <<
"\"\n\t nrec \""; stream.write(p->
htab.
nrec, 4);
629 stream <<
"\"\n\t tab_seq \""; stream.write(p->
htab.
tab_seq, 4);
630 stream <<
"\"\n\t nbin \""; stream.write(p->
htab.
nbin, 8);
631 stream <<
"\"\n\t ns_lin \""; stream.write(p->
htab.
ns_lin, 8);
632 stream <<
"\"\n\t ns_pix \""; stream.write(p->
htab.
ns_pix, 8);
633 stream <<
"\"\n\t ngrp_lin \""; stream.write(p->
htab.
ngrp_lin, 8);
634 stream <<
"\"\n\t ngrp_pix \""; stream.write(p->
htab.
ngrp_pix, 8);
635 stream <<
"\"\n\t nsamp_lin \""; stream.write(p->
htab.
nsamp_lin,8);
636 stream <<
"\"\n\t nsamp_pix \""; stream.write(p->
htab.
nsamp_pix,8);
637 stream <<
"\"\n\t min_smp \""; stream.write(p->
htab.
min_smp, 16);
638 stream <<
"\"\n\t max_smp \""; stream.write(p->
htab.
max_smp, 16);
639 stream <<
"\"\n\t mean_smp \""; stream.write(p->
htab.
mean_smp,16);
640 stream <<
"\"\n\t std_smp \""; stream.write(p->
htab.
std_smp, 16);
641 stream <<
"\"\n\t smp_inc \""; stream.write(p->
htab.
smp_inc, 16);
642 stream <<
"\"\n\t min_hist \""; stream.write(p->
htab.
min_hist,16);
643 stream <<
"\"\n\t max_hist \""; stream.write(p->
htab.
max_hist,16);
644 stream <<
"\"\n\t mean_hist \"";
646 stream <<
"\"\n\t std_hist \""; stream.write(p->
htab.
std_hist,16);
647 stream <<
"\"\n\t nhist \""; stream.write(p->
htab.
nhist, 16);
648 stream <<
"\"\n\t [Use debugger to view histogram]";
660 stream <<
"\n\n\tContents of proc_parm_rec:\n\t";
661 stream <<
"\n\t slow_time_coef[1] \"";
663 stream <<
"\"\n\t rec_seq \""; stream.write(p->
rec_seq, 4);
664 stream <<
"\"\n\t spare1 \""; stream.write(p->
spare1, 4);
665 stream <<
"\"\n\t inp_media \""; stream.write(p->
inp_media, 3);
666 stream <<
"\"\n\t n_tape_id \""; stream.write(p->
n_tape_id, 4);
667 stream <<
"\"\n\t tape_id[0] \""; stream.write(p->
tape_id[0], 8);
668 stream <<
"\"\n\t exp_ing_start \""; stream.write(p->
exp_ing_start,21);
669 stream <<
"\"\n\t exp_ing_stop \""; stream.write(p->
exp_ing_stop, 21);
670 stream <<
"\"\n\t act_ing_start \""; stream.write(p->
act_ing_start,21);
671 stream <<
"\"\n\t act_ing_stop \""; stream.write(p->
act_ing_stop, 21);
672 stream <<
"\"\n\t proc_start \""; stream.write(p->
proc_start, 21);
673 stream <<
"\"\n\t proc_stop \""; stream.write(p->
proc_stop, 21);
674 stream <<
"\"\n\t mn_sig_lev[0] \""; stream.write(p->
mn_sig_lev[0],16);
675 stream <<
"\"\n\t mn_sig_lev[1] \""; stream.write(p->
mn_sig_lev[1],16);
676 stream <<
"\"\n\t mn_sig_lev[2] \""; stream.write(p->
mn_sig_lev[2],16);
677 stream <<
"\"\n\t mn_sig_lev[3] \""; stream.write(p->
mn_sig_lev[3],16);
678 stream <<
"\"\n\t mn_sig_lev[4] \""; stream.write(p->
mn_sig_lev[4],16);
679 stream <<
"\"\n\t mn_sig_lev[5] \""; stream.write(p->
mn_sig_lev[5],16);
680 stream <<
"\"\n\t mn_sig_lev[6] \""; stream.write(p->
mn_sig_lev[6],16);
681 stream <<
"\"\n\t mn_sig_lev[7] \""; stream.write(p->
mn_sig_lev[7],16);
682 stream <<
"\"\n\t mn_sig_lev[8] \""; stream.write(p->
mn_sig_lev[8],16);
683 stream <<
"\"\n\t mn_sig_lev[9] \""; stream.write(p->
mn_sig_lev[9],16);
684 stream <<
"\"\n\t scr_data_ind \""; stream.write(p->
scr_data_ind, 4);
685 stream <<
"\"\n\t miss_ln \""; stream.write(p->
miss_ln, 8);
686 stream <<
"\"\n\t rej_ln \""; stream.write(p->
rej_ln, 8);
687 stream <<
"\"\n\t large_gap \""; stream.write(p->
large_gap, 8);
688 stream <<
"\"\n\t bit_err_rate \""; stream.write(p->
bit_err_rate, 16);
689 stream <<
"\"\n\t fm_crc_err \""; stream.write(p->
fm_crc_err, 16);
690 stream <<
"\"\n\t date_incons \""; stream.write(p->
date_incons, 8);
691 stream <<
"\"\n\t prf_changes \""; stream.write(p->
prf_changes, 8);
692 stream <<
"\"\n\t delay_changes \""; stream.write(p->
delay_changes, 8);
693 stream <<
"\"\n\t skipd_frams \""; stream.write(p->
skipd_frams, 8);
694 stream <<
"\"\n\t rej_bf_start \""; stream.write(p->
rej_bf_start, 8);
695 stream <<
"\"\n\t rej_few_fram \""; stream.write(p->
rej_few_fram, 8);
696 stream <<
"\"\n\t rej_many_fram \""; stream.write(p->
rej_many_fram, 8);
697 stream <<
"\"\n\t rej_mchn_err \""; stream.write(p->
rej_mchn_err, 8);
698 stream <<
"\"\n\t rej_vchn_err \""; stream.write(p->
rej_vchn_err, 8);
699 stream <<
"\"\n\t rej_rec_type \""; stream.write(p->
rej_rec_type, 8);
700 stream <<
"\"\n\t sens_config \""; stream.write(p->
sens_config, 10);
701 stream <<
"\"\n\t sens_orient \""; stream.write(p->
sens_orient, 9);
702 stream <<
"\"\n\t sych_marker \""; stream.write(p->
sych_marker, 8);
703 stream <<
"\"\n\t rng_ref_src \""; stream.write(p->
rng_ref_src, 12);
704 stream <<
"\"\n\t rng_amp_coef[0] \"";
706 stream <<
"\"\n\t rng_amp_coef[1] \"";
708 stream <<
"\"\n\t rng_amp_coef[2] \"";
710 stream <<
"\"\n\t rng_amp_coef[3] \"";
712 stream <<
"\"\n\t rng_phas_coef[0] \"";
714 stream <<
"\"\n\t rng_phas_coef[1] \"";
716 stream <<
"\"\n\t rng_phas_coef[2] \"";
718 stream <<
"\"\n\t rng_phas_coef[3] \"";
720 stream <<
"\"\n\t err_amp_coef[0] \"";
722 stream <<
"\"\n\t err_amp_coef[1] \"";
724 stream <<
"\"\n\t err_amp_coef[2] \"";
726 stream <<
"\"\n\t err_amp_coef[3] \"";
728 stream <<
"\"\n\t err_phas_coef[0] \"";
730 stream <<
"\"\n\t err_phas_coef[1] \"";
732 stream <<
"\"\n\t err_phas_coef[2] \"";
734 stream <<
"\"\n\t err_phas_coef[3] \"";
736 stream <<
"\"\n\t pulse_bandw \""; stream.write(p->
pulse_bandw, 4);
737 stream <<
"\"\n\t adc_samp_rate \""; stream.write(p->
adc_samp_rate, 5);
738 stream <<
"\"\n\t rep_agc_attn \""; stream.write(p->
rep_agc_attn, 16);
739 stream <<
"\"\n\t gn_corctn_fctr \"";
741 stream <<
"\"\n\t rep_energy_gn \""; stream.write(p->
rep_energy_gn,16);
742 stream <<
"\"\n\t orb_data_src \""; stream.write(p->
orb_data_src, 11);
743 stream <<
"\"\n\t pulse_cnt_1 \""; stream.write(p->
pulse_cnt_1, 4);
744 stream <<
"\"\n\t pulse_cnt_2 \""; stream.write(p->
pulse_cnt_2, 4);
745 stream <<
"\"\n\t beam_edge_rqd \""; stream.write(p->
beam_edge_rqd, 3);
746 stream <<
"\"\n\t beam_edge_conf \"";
748 stream <<
"\"\n\t pix_overlap \""; stream.write(p->
pix_overlap, 4);
749 stream <<
"\"\n\t n_beams \""; stream.write(p->
n_beams, 4);
750 stream <<
"\"\n\t [Use debugger to view contents of beam_info record] ";
751 stream <<
"\n\t n_pix_updates \""; stream.write(p->
n_pix_updates, 4);
752 stream <<
"\"\n\t [Use debugger to view contents of pix_count record] ";
753 stream <<
"\n\t pwin_start \""; stream.write(p->
pwin_start, 16);
754 stream <<
"\"\n\t pwin_end \""; stream.write(p->
pwin_end, 16);
755 stream <<
"\"\n\t recd_type \""; stream.write(p->
recd_type, 9);
756 stream <<
"\"\n\t temp_set_inc \""; stream.write(p->
temp_set_inc, 16);
757 stream <<
"\"\n\t n_temp_set \""; stream.write(p->
n_temp_set, 4);
758 stream <<
"\"\n\t [Use debugger to view contents of temp record] ";
759 stream <<
"\n\t n_image_pix \""; stream.write(p->
n_image_pix, 8);
760 stream <<
"\"\n\t prc_zero_pix \""; stream.write(p->
prc_zero_pix, 16);
761 stream <<
"\"\n\t prc_satur_pix \""; stream.write(p->
prc_satur_pix,16);
762 stream <<
"\"\n\t img_hist_mean \""; stream.write(p->
img_hist_mean,16);
763 stream <<
"\"\n\t img_cumu_dist[0] \"";
765 stream <<
"\"\n\t img_cumu_dist[1] \"";
767 stream <<
"\"\n\t img_cumu_dist[2] \"";
769 stream <<
"\"\n\t pre_img_gn \""; stream.write(p->
pre_img_gn, 16);
770 stream <<
"\"\n\t post_img_gn \""; stream.write(p->
post_img_gn, 16);
771 stream <<
"\"\n\t dopcen_inc \""; stream.write(p->
dopcen_inc, 16);
772 stream <<
"\"\n\t n_dopcen \""; stream.write(p->
n_dopcen, 4);
773 stream <<
"\"\n\t [Use debugger to view contents of dopcen_est record] ";
774 stream <<
"\n\t dop_amb_err \""; stream.write(p->
dop_amb_err, 4);
775 stream <<
"\"\n\t dopamb_conf \""; stream.write(p->
dopamb_conf, 16);
776 stream <<
"\"\n\t eph_orb_data[0] \"";
778 stream <<
"\"\n\t eph_orb_data[1] \"";
780 stream <<
"\"\n\t eph_orb_data[2] \"";
782 stream <<
"\"\n\t eph_orb_data[3] \"";
784 stream <<
"\"\n\t eph_orb_data[4] \"";
786 stream <<
"\"\n\t eph_orb_data[5] \"";
788 stream <<
"\"\n\t eph_orb_data[6] \"";
790 stream <<
"\"\n\t appl_type \""; stream.write(p->
appl_type, 12);
791 stream <<
"\"\n\t slow_time_coef[1] \"";
793 stream <<
"\"\n\t slow_time_coef[2] \"";
795 stream <<
"\"\n\t slow_time_coef[3] \"";
797 stream <<
"\"\n\t slow_time_coef[4] \"";
799 stream <<
"\"\n\t n_srgr \""; stream.write(p->
n_srgr, 4);
800 stream <<
"\"\n\t [Use debugger to view contents of srgr_coefset record]";
801 stream <<
"\n\t pixel_spacing \""; stream.write(p->
pixel_spacing,16);
802 stream <<
"\"\n\t gics_reqd \""; stream.write(p->
gics_reqd, 3);
803 stream <<
"\"\n\t wo_number \""; stream.write(p->
wo_number, 8);
804 stream <<
"\"\n\t wo_date \""; stream.write(p->
wo_date, 20);
805 stream <<
"\"\n\t satellite_id \""; stream.write(p->
satellite_id, 10);
806 stream <<
"\"\n\t user_id \""; stream.write(p->
user_id, 20);
807 stream <<
"\"\n\t complete_msg \""; stream.write(p->
complete_msg, 3);
808 stream <<
"\"\n\t scene_id \""; stream.write(p->
scene_id, 5);
809 stream <<
"\"\n\t density_in \""; stream.write(p->
density_in, 4);
810 stream <<
"\"\n\t media_id \""; stream.write(p->
media_id, 8);
811 stream <<
"\"\n\t angle_first \""; stream.write(p->
angle_first, 16);
812 stream <<
"\"\n\t angle_last \""; stream.write(p->
angle_last, 16);
813 stream <<
"\"\n\t prod_type \""; stream.write(p->
prod_type, 3);
814 stream <<
"\"\n\t map_system \""; stream.write(p->
map_system, 16);
815 stream <<
"\"\n\t centre_lat \""; stream.write(p->
centre_lat, 22);
816 stream <<
"\"\n\t centre_long \""; stream.write(p->
centre_long, 22);
817 stream <<
"\"\n\t span_x \""; stream.write(p->
span_x, 22);
818 stream <<
"\"\n\t span_y \""; stream.write(p->
span_y, 22);
819 stream <<
"\"\n\t apply_dtm \""; stream.write(p->
apply_dtm, 3);
820 stream <<
"\"\n\t density_out \""; stream.write(p->
density_out, 4);
821 stream <<
"\"\n\t state_time \""; stream.write(p->
state_time, 21);
822 stream <<
"\"\n\t num_state_vectors \"";
824 stream <<
"\"\n\t state_time_inc \"";
826 stream <<
"\"" << endl;
837 stream <<
"\n\n\tContents of map_proj_rec:\n\t";
838 stream <<
"\n\t spare1 \""; stream.write(p->
spare1, 16);
839 stream <<
"\"\n\t map_desc \""; stream.write(p->
map_desc, 32);
840 stream <<
"\"\n\t n_pixel \""; stream.write(p->
n_pixel, 16);
841 stream <<
"\"\n\t n_line \""; stream.write(p->
n_line, 16);
842 stream <<
"\"\n\t pixel_spacing \""; stream.write(p->
pixel_spacing,16);
843 stream <<
"\"\n\t line_spacing \""; stream.write(p->
line_spacing, 16);
844 stream <<
"\"\n\t osc_orient \""; stream.write(p->
osc_orient, 16);
845 stream <<
"\"\n\t orb_incl \""; stream.write(p->
orb_incl, 16);
846 stream <<
"\"\n\t asc_node \""; stream.write(p->
asc_node, 16);
847 stream <<
"\"\n\t isc_dist \""; stream.write(p->
isc_dist, 16);
848 stream <<
"\"\n\t geo_alt \""; stream.write(p->
geo_alt, 16);
849 stream <<
"\"\n\t isc_vel \""; stream.write(p->
isc_vel, 16);
850 stream <<
"\"\n\t plat_head \""; stream.write(p->
plat_head, 16);
851 stream <<
"\"\n\t ref_ellip \""; stream.write(p->
ref_ellip, 32);
852 stream <<
"\"\n\t semi_major \""; stream.write(p->
semi_major, 16);
853 stream <<
"\"\n\t semi_minor \""; stream.write(p->
semi_minor, 16);
854 stream <<
"\"\n\t datum_shift[0] \"";
856 stream <<
"\"\n\t datum_shift[1] \"";
858 stream <<
"\"\n\t datum_shift[2] \"";
860 stream <<
"\"\n\t aux_datum_shift[0] \"";
862 stream <<
"\"\n\t aux_datum_shift[1] \"";
864 stream <<
"\"\n\t aux_datum_shift[2] \"";
866 stream <<
"\"\n\t scal_ellip \""; stream.write(p->
scal_ellip, 16);
867 stream <<
"\"\n\t proj_desc \""; stream.write(p->
proj_desc, 32);
868 stream <<
"\"\n\t utm_desc \""; stream.write(p->
utm_desc, 32);
869 stream <<
"\"\n\t utm_zone_sig \""; stream.write(p->
utm_zone_sig, 4);
870 stream <<
"\"\n\t utm_east_orig \""; stream.write(p->
utm_east_orig,16);
871 stream <<
"\"\n\t utm_north_orig \"";
873 stream <<
"\"\n\t utm_cent_long \""; stream.write(p->
utm_cent_long,16);
874 stream <<
"\"\n\t utm_cent_lat \""; stream.write(p->
utm_cent_lat, 16);
875 stream <<
"\"\n\t utm_stand_par[0] \"";
877 stream <<
"\"\n\t utm_stand_par[1] \"";
879 stream <<
"\"\n\t utm_scale \""; stream.write(p->
utm_scale, 16);
880 stream <<
"\"\n\t ups_desc \""; stream.write(p->
ups_desc, 32);
881 stream <<
"\"\n\t ups_cent_long \""; stream.write(p->
ups_cent_long,16);
882 stream <<
"\"\n\t ups_cent_lat \""; stream.write(p->
ups_cent_lat, 16);
883 stream <<
"\"\n\t ups_scale \""; stream.write(p->
ups_scale, 16);
884 stream <<
"\"\n\t nsp_desc \""; stream.write(p->
nsp_desc, 32);
885 stream <<
"\"\n\t nsp_east_orig \""; stream.write(p->
nsp_east_orig,16);
886 stream <<
"\"\n\t nsp_north_orig \"";
888 stream <<
"\"\n\t nsp_cent_long \""; stream.write(p->
nsp_cent_long,16);
889 stream <<
"\"\n\t nsp_cent_lat \""; stream.write(p->
nsp_cent_lat, 16);
890 stream <<
"\"\n\t nsp_stand_par[0] \"";
892 stream <<
"\"\n\t nsp_stand_par[1] \"";
894 stream <<
"\"\n\t nsp_stand_par[2] \"";
896 stream <<
"\"\n\t nsp_stand_par[3] \"";
898 stream <<
"\"\n\t nsp_stand_mer[0] \"";
900 stream <<
"\"\n\t nsp_stand_mer[1] \"";
902 stream <<
"\"\n\t nsp_stand_mer[2] \"";
904 stream <<
"\"\n\t nsp_spare[0] \""; stream.write(p->
nsp_spare[0], 16);
905 stream <<
"\"\n\t nsp_spare[1] \""; stream.write(p->
nsp_spare[1], 16);
906 stream <<
"\"\n\t nsp_spare[2] \""; stream.write(p->
nsp_spare[2], 16);
907 stream <<
"\"\n\t nsp_spare[3] \""; stream.write(p->
nsp_spare[3], 16);
908 stream <<
"\"\n\t corner_ne[0] \""; stream.write(p->
corner_ne[0], 16);
909 stream <<
"\"\n\t corner_ne[1] \""; stream.write(p->
corner_ne[1], 16);
910 stream <<
"\"\n\t corner_ne[2] \""; stream.write(p->
corner_ne[2], 16);
911 stream <<
"\"\n\t corner_ne[3] \""; stream.write(p->
corner_ne[3], 16);
912 stream <<
"\"\n\t corner_ne[4] \""; stream.write(p->
corner_ne[4], 16);
913 stream <<
"\"\n\t corner_ne[5] \""; stream.write(p->
corner_ne[5], 16);
914 stream <<
"\"\n\t corner_ne[6] \""; stream.write(p->
corner_ne[6], 16);
915 stream <<
"\"\n\t corner_ne[7] \""; stream.write(p->
corner_ne[7], 16);
916 stream <<
"\"\n\t corner_ll[0] \""; stream.write(p->
corner_ll[0], 16);
917 stream <<
"\"\n\t corner_ll[1] \""; stream.write(p->
corner_ll[1], 16);
918 stream <<
"\"\n\t corner_ll[2] \""; stream.write(p->
corner_ll[2], 16);
919 stream <<
"\"\n\t corner_ll[3] \""; stream.write(p->
corner_ll[3], 16);
920 stream <<
"\"\n\t corner_ll[4] \""; stream.write(p->
corner_ll[4], 16);
921 stream <<
"\"\n\t corner_ll[5] \""; stream.write(p->
corner_ll[5], 16);
922 stream <<
"\"\n\t corner_ll[6] \""; stream.write(p->
corner_ll[6], 16);
923 stream <<
"\"\n\t corner_ll[7] \""; stream.write(p->
corner_ll[7], 16);
924 stream <<
"\"\n\t terr_height[0] \"";
926 stream <<
"\"\n\t terr_height[1] \"";
928 stream <<
"\"\n\t terr_height[2] \"";
930 stream <<
"\"\n\t terr_height[3] \"";
932 stream <<
"\"\n\t lp_conv_coef[0] \"";
934 stream <<
"\"\n\t lp_conv_coef[1] \"";
936 stream <<
"\"\n\t lp_conv_coef[2] \"";
938 stream <<
"\"\n\t lp_conv_coef[3] \"";
940 stream <<
"\"\n\t lp_conv_coef[4] \"";
942 stream <<
"\"\n\t lp_conv_coef[5] \"";
944 stream <<
"\"\n\t lp_conv_coef[6] \"";
946 stream <<
"\"\n\t lp_conv_coef[7] \"";
948 stream <<
"\"\n\t mp_conv_coef[0] \"";
950 stream <<
"\"\n\t mp_conv_coef[1] \"";
952 stream <<
"\"\n\t mp_conv_coef[2] \"";
954 stream <<
"\"\n\t mp_conv_coef[3] \"";
956 stream <<
"\"\n\t mp_conv_coef[4] \"";
958 stream <<
"\"\n\t mp_conv_coef[5] \"";
960 stream <<
"\"\n\t mp_conv_coef[6] \"";
962 stream <<
"\"\n\t mp_conv_coef[7] \"";
964 stream <<
"\"\n\t dem_type \""; stream.write(p->
dem_type, 4);
965 stream <<
"\"\n\t spare3 \""; stream.write(p->
spare3, 32);
966 stream <<
"\"" << endl;
977 stream <<
"\n\n\tContents of pos_data_rec:\n\t";
978 stream <<
"\n\t orbit_ele_desg \""; stream.write(p->
orbit_ele_desg, 32);
979 stream <<
"\"\n\t orbit_ele[0] \""; stream.write(p->
orbit_ele[0], 16);
980 stream <<
"\"\n\t orbit_ele[1] \""; stream.write(p->
orbit_ele[1], 16);
981 stream <<
"\"\n\t orbit_ele[2] \""; stream.write(p->
orbit_ele[2], 16);
982 stream <<
"\"\n\t orbit_ele[3] \""; stream.write(p->
orbit_ele[3], 16);
983 stream <<
"\"\n\t orbit_ele[4] \""; stream.write(p->
orbit_ele[4], 16);
984 stream <<
"\"\n\t orbit_ele[5] \""; stream.write(p->
orbit_ele[5], 16);
985 stream <<
"\"\n\t ndata \""; stream.write(p->
ndata, 4);
986 stream <<
"\"\n\t year \""; stream.write(p->
year, 4);
987 stream <<
"\"\n\t month \""; stream.write(p->
month, 4);
988 stream <<
"\"\n\t day \""; stream.write(p->
day, 4);
989 stream <<
"\"\n\t gmt_day \""; stream.write(p->
gmt_day, 4);
990 stream <<
"\"\n\t gmt_sec \""; stream.write(p->
gmt_sec, 22);
991 stream <<
"\"\n\t data_int \""; stream.write(p->
data_int, 22);
992 stream <<
"\"\n\t ref_coord \""; stream.write(p->
ref_coord, 64);
993 stream <<
"\"\n\t hr_angle \""; stream.write(p->
hr_angle, 22);
994 stream <<
"\"\n\t alt_poserr \""; stream.write(p->
alt_poserr, 16);
995 stream <<
"\"\n\t crt_poserr \""; stream.write(p->
crt_poserr, 16);
996 stream <<
"\"\n\t rad_poserr \""; stream.write(p->
rad_poserr, 16);
997 stream <<
"\"\n\t alt_velerr \""; stream.write(p->
alt_velerr, 16);
998 stream <<
"\"\n\t crt_velerr \""; stream.write(p->
crt_velerr, 16);
999 stream <<
"\"\n\t rad_velerr \""; stream.write(p->
rad_velerr, 16);
1000 stream <<
"\"\n\t [Use debugger to view contents of pos_vect record]";
1012 stream <<
"\n\n\tContents of att_data_rec:\n\t";
1013 stream <<
"\n\t npoint \""; stream.write(p->
npoint, 4);
1014 stream <<
"\"\n\t [Use debugger to view contents of att_vect record]";
1015 stream <<
"\n\t pitch_bias \""; stream.write(p->
pitch_bias, 14);
1016 stream <<
"\"\n\t roll_bias \""; stream.write(p->
roll_bias, 14);
1017 stream <<
"\"\n\t yaw_bias \""; stream.write(p->
yaw_bias, 14);
1018 stream <<
"\"" << endl;
1029 stream <<
"\n\n\tContents of radi_data_rec:\n\t";
1030 stream <<
"\n\t seq_num \""; stream.write(p->
seq_num, 4);
1031 stream <<
"\"\n\t n_data \""; stream.write(p->
n_data, 4);
1032 stream <<
"\"\n\t field_size \""; stream.write(p->
field_size, 8);
1033 stream <<
"\"\n\t [Use debugger to view contents of dset record]";
1045 stream <<
"\n\n\tContents of radi_comp_rec:\n\t";
1046 stream <<
"\n\t seq_num \""; stream.write(p->
seq_num, 4);
1047 stream <<
"\"\n\t chan_ind \""; stream.write(p->
chan_ind, 4);
1048 stream <<
"\"\n\t n_dset \""; stream.write(p->
n_dset, 8);
1049 stream <<
"\"\n\t dset_size \""; stream.write(p->
dset_size, 8);
1050 stream <<
"\"\n\t [Use debugger to view contents of dset record]";
1063 static const char MODULE[] =
"ossimCeosData::loadCeosFile()";
1064 if (traceExec())
CLOG <<
" Entered method." << endl;
1067 char bufI6[] =
"123456";
1078 CLOG <<
" ERROR:\n\tCannot open CEOS Volume Directory file: " 1092 CLOG <<
"DEBUG\n -- List of Records Present ---" << endl;
1105 CLOG <<
" ERROR:\n\tCannot open CEOS Leader file: " 1118 numRecords = atoi(bufI6);
1123 if (traceDebug()) clog <<
"\t Leader: dataSetSumRec" << endl;
1130 numRecords = atoi(bufI6);
1135 if (traceDebug()) clog <<
"\t Leader: qualSumRec" << endl;
1142 numRecords = atoi(bufI6);
1149 if (traceDebug()) clog <<
"\t Leader: sdrHistRec & pdr16HistRec" 1157 numRecords = atoi(bufI6);
1162 if (traceDebug()) clog <<
"\t Leader: procParmRec" << endl;
1169 numRecords = atoi(bufI6);
1174 if (traceDebug()) clog <<
"\t Leader: mapProjRec" << endl;
1181 numRecords = atoi(bufI6);
1186 if (traceDebug()) clog <<
"\t Leader: posDataRec" << endl;
1193 numRecords = atoi(bufI6);
1198 if (traceDebug()) clog <<
"\t Leader: attDataRec" << endl;
1205 numRecords = atoi(bufI6);
1210 if (traceDebug()) clog <<
"\t Leader: radiDataRec" << endl;
1217 numRecords = atoi(bufI6);
1222 if (traceDebug()) clog <<
"\t Leader: radiCompRec" << endl;
1251 CLOG <<
" ERROR:\n\tCannot open CEOS Trailer file: " 1263 numRecords = atoi(bufI6);
1268 if (traceDebug()) clog <<
"\t Trailer: dataSetSumRec" << endl;
1275 numRecords = atoi(bufI6);
1280 if (traceDebug()) clog <<
"\t Trailer: qualSumRec" << endl;
1287 numRecords = atoi(bufI6);
1294 if (traceDebug()) clog <<
"\t Trailer: sdrHistRec & pdr8HistRec" 1302 numRecords = atoi(bufI6);
1307 if (traceDebug()) clog <<
"\t Trailer: procParmRec" << endl;
1314 numRecords = atoi(bufI6);
1319 if (traceDebug()) clog <<
"\t Trailer: attDataRec" << endl;
1326 numRecords = atoi(bufI6);
1331 if (traceDebug()) clog <<
"\t Trailer: radiDataRec" << endl;
1338 numRecords = atoi(bufI6);
1343 if (traceDebug()) clog <<
"\t Trailer: radiCompRec" << endl;
1349 if (traceExec())
CLOG <<
" Exiting method." << endl;
1362 static const char MODULE[] =
"ossimCeosData::sizeOfNextRec(FILE* fptr)";
1363 if (traceExec())
CLOG <<
"entering..." << endl;
1366 static int DESC_REC_SIZE = 12;
1368 fread(&descRec, DESC_REC_SIZE, 1, fptr);
1369 fseek(fptr, (
long) -DESC_REC_SIZE, SEEK_CUR);
1374 <<
"\n\t length = " << descRec.
length << endl;
1377 if (traceExec())
CLOG <<
"returning..." << endl;
radi_data_rec radiDataRec
struct pdr8_htab_rec htab
dataset_sum_rec * theDataSetSumRec
void dumpSdrHistRec(std::ostream &) const
struct rad_unc_rec rad_unc[16]
void dumpPdr16HistRec(std::ostream &) const
radi_comp_rec * theRadiCompRec
radi_data_rec radiDataRec
char err_phas_coef[4][16]
void dump(std::ostream &strm=std::clog) const
dataset_sum_rec dataSetSumRec
struct misreg_rec misreg[16]
pdr8_hist_rec pdr8HistRec
const imop_desc_rec * imopDescRec() const
pos_data_rec * thePosDataRec
void dumpDataSetSumRec(std::ostream &) const
map_proj_rec * theMapProjRec
ossimFilename theLeaderFileName
pdr8_hist_rec * thePdr8HistRec
void dumpQualSumRec(std::ostream &) const
radi_data_rec * theRadiDataRec
SarTrailerFile theSarTrailerFile
char utm_stand_par[2][16]
void dumpVolDescRec(std::ostream &) const
proc_parm_rec * theProcParmRec
ossimFilename theVolDirFileName
void dumpPosDataRec(std::ostream &) const
void dumpRadiCompRec(std::ostream &) const
ossim_int32 sizeOfNextRec(FILE *)
char aux_datum_shift[3][16]
os2<< "> n<< " > nendobj n
pdr16_hist_rec pdr16HistRec
const char * chars() const
For backward compatibility.
void dumpTextRec(std::ostream &) const
dataset_sum_rec dataSetSumRec
void dumpPdr8HistRec(std::ostream &) const
att_data_rec * theAttDataRec
char rng_phas_coef[4][16]
void dumpRadiDataRec(std::ostream &) const
imop_desc_rec theImopDescRec
char nsp_stand_par[4][16]
vol_desc_rec * theVolDescRec
void dumpImopDescRec(std::ostream &) const
void dumpProcParmRec(std::ostream &) const
proc_parm_rec procParmRec
pdr16_hist_rec * thePdr16HistRec
char nsp_stand_mer[3][16]
radi_comp_rec radiCompRec
char slow_time_coef[5][22]
char img_cumu_dist[3][16]
VolumeDirectoryFile theVolumeDirectory
ossimCeosData(const ossimFilename &volDirFile, const ossimFilename &leaderFile, const ossimFilename &imageFile, const ossimFilename &trailerFile)
ossimFilename dirCat(const ossimFilename &file) const
proc_parm_rec procParmRec
ossimFilename theImageFileName
qual_sum_rec * theQualSumRec
void dumpAttDataRec(std::ostream &) const
SarLeaderFile theSarLeaderFile
char num_state_vectors[4]
struct pdr16_htab_rec htab[2]
std::basic_ostream< char > ostream
Base class for char output streams.
void dumpMapProjRec(std::ostream &) const
ossimFilename theTrailerFileName
sdr_hist_rec * theSdrHistRec
radi_comp_rec radiCompRec