[obspy-users] load multi channel wav files in obspy

Tobias Megies megies at geophysik.uni-muenchen.de
Fri Mar 1 11:33:10 CET 2019


Hi Alexandre,

if you can share the data, you could open a ticket on github and attach
the data there, so people can have a look.

cheers,
Tobias


On 26/02/2019 20:47, Alexandre Szenicer wrote:
> Hello,
> 
> 
> I'm trying to load a .wav file containing four channels in obspy, but it
> throws an error 'Unknown format for file myfile.wav' .
> 
> 
> I guess this is related to what it says in the docs " As WAV files can
> contain only one data trace (as opposed to Mini-SEED or GSE2), the
> length of ‘st’ will be one"  (however wav files can indeed contain more
> than one channel), so obspy cannot read multi channel ones? 
> 
> 
> Is there potentially an easy fix for that?
> 
> 
> Many thanks,
> 
> 
> Alexandre Szenicer.
> 
> 
> 
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> https://lists.swapbytes.de/mailman/listinfo/obspy-users
> 

-- 
EMail: tobias.megies at lmu.de
WWW: https://www.geophysik.uni-muenchen.de

Geophysikalisches Observatorium
Ludwigshöhe 8
82256 Fürstenfeldbruck

Tel: +49 (0) 89 2180-73981
Fax: +49 (0) 89 2180-73970

Ludwig-Maximilians-Universität
Department für Geo- und Umweltwissenschaften
Sektion Geophysik
Theresienstrasse 41/IV
80333 München

Tel: +49 (0) 89 2180-4326
Fax: +49 (0) 89 2180-4205


More information about the obspy-users mailing list