Skip to content

Instantly share code, notes, and snippets.

View ThomasMGeo's full-sized avatar
🤙

Thomas Martin ThomasMGeo

🤙
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ThomasMGeo
ThomasMGeo / gxf_import.py
Created October 30, 2024 16:34
GXF Reader
import numpy as np
def read_gxf_raw(infile):
"""
Read a GXF file and return raw data list and headers.
Following official GXF specifications from Geosoft.
Parameters:
infile (str): Path to the GXF file