I'm reading in a segy file that contains a number of traces, from
multiple shots, which I will write out as single trace sac files.
I want to populate the sac meta data fields (example, evla, evlo,
stla, stlo) before I write out the sac file, using values I've
calculated from the segy.trace_header.
Is there anyway to convert a segy trace to a sac trace, without
writing out a temporary file?
I can do it if I write the segy file out as a sac using;
and then read it back in and populate the necessary fields, but Id
rather not have to write out this temporary file.
Appending the keys to an empty sac class for the segy trace didnt work.