plaintextmetadata — Plain Text Metadata

The plaintextmetadata file contains a generic metadata parser for plain text formatted inputs

New in version 0.2.0.

class amg.plaintextmetadata.PcAlignMetadata(datafile)[source]

This class supports metadata as written by the NASA Ames Stereo Pipeline pc_align application.

Parameters

datafile (str) – The path to the input data

data

of lines read from the plaintext file

Type

list

vertical_accuracy_test_name

The name or description of the test used to assess vertical accuracy

Type

str

median_error

The median offset between the DTM and whatever ground source was used by pc_align

Type

float

vertical_accuracy_value

The value to be reported for the vertical accuracy of this metadata object. This is currently the median, but this class can be extended to support any value reported by pc_align.

Type

float