Metadata to CSV Converter
As a ExSeisDat Developer I want to create a utility to print and save every x number of values for a metadata parameter as a csv/txt because I need to use it for QC and bringing the values into other visualisation programs.
Pre-Dev Notes
An end-user should be able to pick a tracer header parameter or parameters (ie Source X, Inline, etc).
Utility command CLI:
list_headers -i input_file -o output_file -p parameter1[,parameter2[,parameter3[...]]] -n output_every_n_trace
Example invocation:
list_headers -i example_file.segy -o example_file_metadata.csv -p TRACE_NUMBER,SOURCE_X,SOURCE_Y -n 5
File could look like (e.g.):
# TRACE_NUMBER, SOURCE_X, SOURCE_Y
0, ..., ...
5, ..., ...
10, ..., ...
15, ..., ...
...
Success Criteria:
User inputs a SEGY file and the program outputs a CSV file with the requested parameters and stride.