obspy.gse2.libgse2.readHead

readHead(f)[source]

Return (and read) only the header of gse2 file as dictionary.

Currently supports only CM6 compressed GSE2 files, this should be sufficient for most cases.

Parameters:file (File Pointer) Open file pointer of GSE2 file to read, opened in binary mode, e.g. f = open(‘myfile’,’rb’)
Return type:Dictionary
Returns:Header entries.

This Page