[obspy-users] Problem reading GCF file... "Extended textual headers are supported yet. Please contact the developers."

Lion Krischer krischer at geophysik.uni-muenchen.de
Mon May 8 13:02:01 CEST 2017

Hi Meysam,

ObsPy for some reason thinks this is a SEG-Y file and parsing it of
course fails - I'll investigate why this happens.

For now you can force the format and ObsPy is able to read it:

>>> obspy.read("./20150825_1700z.gcf", format="gcf")
5 Trace(s) in Stream:
.DARN..HHZ | 2015-08-25T17:00:02.000000Z - 2015-08-25T17:09:21.995000Z |
200.0 Hz, 112000 samples
.DARN..HHZ | 2015-08-25T17:09:27.000000Z - 2015-08-25T17:25:41.995000Z |
200.0 Hz, 195000 samples
.DARN..HHZ | 2015-08-25T17:25:47.000000Z - 2015-08-25T17:30:41.995000Z |
200.0 Hz, 59000 samples
.DARN..HHZ | 2015-08-25T17:30:47.000000Z - 2015-08-25T17:52:01.995000Z |
200.0 Hz, 255000 samples
.DARN..HHZ | 2015-08-25T17:52:07.000000Z - 2015-08-25T18:00:01.995000Z |
200.0 Hz, 95000 samples

Note that support for GCF files is not yet part of the last released
version 1.0.3. You'll have to update to the latest developer version of
ObsPy to get it. If you need assistance in that regard please join our
chat room here: https://gitter.im/obspy/obspy



On 08.05.17 11:04, doost dar shoma rezaei wrote:
> Dear Obspy Users
> I'm trying to read gcf file by using obspy.read but for some of my
> files (see the attached example) the obspy shows the following error:
> "NotImplementedError: Extended textual headers are supported yet.
> Please contact the developers."
> If anyone had such a problem before and have a solution for it, I
> would be really appreciated to share it with me.
> Regards,
> Meysam
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> http://lists.swapbytes.de/mailman/listinfo/obspy-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20170508/1e00f215/attachment.html>

More information about the obspy-users mailing list