Skip to content

Instantly share code, notes, and snippets.

View carderne's full-sized avatar

Chris Arderne carderne

View GitHub Profile
@carderne
carderne / grd_to_tif.py
Created October 10, 2022 12:02 — forked from jesserobertson/grd_to_tif.py
Convert all Geosoft *.grd files to geotiff in a directory (recursively)
import pathlib
from itertools import product
from tqdm import tqdm
import rasterio
import geosoft
import geosoft.gxpy.gx as gx
import geosoft.gxpy.coordinate_system as gxcs
import geosoft.gxpy.grid as gxgrid