Converting .MSEED Into .SAC

Thank you all for the reply and information!

Jonathan,

The string “name” in the code is unique for each MSEED data.

Thanks,
Rauf.

Masyitha,

Even if I indent the “for” loop, still the code converts just the first MSEED data!

Thanks,
Rauf.

Dear Obspy Users,

Does anybody else have an idea why the attached code doesn’t work? I think the issue is with the ”tr.write” function! Do we have any other write function the that saves data as .SAC files?

Thanks again for your help,
Rauf