Merge Altitudes


Suprisingly, none of the bathy or waveform files contained altitude data. Instead, I used the altitudes extracted from the _ImageIndex.txt files. I used the altitude to investigate its influence to the optical surface or seabed backscatter, so I needed a lat lon altitude file. Of each flight line the _ImageIndex.txt file lists information suchs as timestamps, lat lon, roll, pitch, etc etc. I first pull out the altitudes and store it in an ascii file. This file is fed in mergeAltitude along with a merged file. The program searches the through the merged file, scan by scan, and dumps out the lat lon and altitude of each beam.


1) get altitudes from ??_ImageIndex.txt files:

awk '{print $2" " $11}' < 03DS06100_003_060703_1759_A_FL031_ImageIndex.txt > 1759.altitude
awk '{print $2" " $11}' < 03DS06100_003_060703_1759_A_FL251_ImageIndex.txt >> 1759.altitude
awk '{print $2" " $11}' < 03DS06100_003_060703_1759_A_FL261_ImageIndex.txt >> 1759.altitude
awk '{print $2" " $11}' < 03DS06100_003_060703_1759_A_FL271_ImageIndex.txt >> 1759.altitude
..............................................................................
..............................................................................
..............................................................................
..............................................................................

2) use mergeAltitude to get lat lon alt at each beam:

mergeAltitude -in merged_file -alt altitudefile.ascii -out outfile

Back
__________________________
Last modified: 2-9-08 Pim.
~