The Greeks have a saying, Those with no brain, have legs.
Meaning if you can't think of a smart solution, seek for a longer one. I
used the mseed2sac converter. The new release has a -N option to add the
network code to header (among others). I tested it with the package and
the whole process went smooth with no errors (with the sac files). I
went even further and used the sac2mseed converter, since I know Tom
hates SAC files. Again everything went smooth.
For anyone interested, the mseed2sac converter aside from the conversion
and addition to details to the SAC header, automatically merges the
mseed to one SAC file (restrictions apply to gaps).
Off to produce some results that make sense now.
Ilias
On 16/10/2017 03:27 PM, Thomas Lecocq wrote:
Hi Ilias,
This is most probably because your modified files (names) don't
actually include the network code inside the data (read: in the header
of the data chunks in miniseed, when read by obspy).
if scan_archive doesn't NET, STA and COMP, it's not worth going
further down the workflow.
Best regards,
Tom