readheader
Description
readheader (written by A. Y. / JCU, July 1990) inspects a landsat_rec scanline-headed Landsat file (created by addheader or calibrated by control_points) and dumps the scene metadata and per-scanline center coordinates (scanline, latitude, longitude) to an ASCII file.
CLI Options & Usage
readheader -in <landsat_rec_file> -out <header_dump.txt>
-in <landsat_rec_file>: Inputlandsat_recfile (2340scanlines).-out <header_dump.txt>: Output ASCII summary table.
Output Format
Reads landsat_rec records (0 .. 2339). From the first scanline (i == 0), writes the scene-level orbital parameters:
row,path,blueband indicatorscan_pixel_size(m),track_pixel_size(m)altitude(km),azimuth(degrees, converted from radians)
Then prints a 2340-line table of scanline_index, lat (degrees), and lon (degrees) for every scanline in the scene.