Skip to content

Instantly share code, notes, and snippets.

View RichardScottOZ's full-sized avatar

RichardScottOZ

View GitHub Profile
@RichardScottOZ
RichardScottOZ / vectorized_sklearn_xr.ipynb
Created April 27, 2024 19:05 — forked from aaronspring/vectorized_sklearn_xr.ipynb
vectorized `sklearn` with `xarray`
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@RichardScottOZ
RichardScottOZ / reproject_resample.py
Created November 2, 2024 06:08 — forked from ljstrnadiii/reproject_resample.py
Resample/Reproject Cogs w/ Dask + Rioxarray
import logging
import subprocess as sp
import tempfile
import threading
import geopandas as gpd
import numpy as np
import rioxarray
import xarray as xr
from rasterio.enums import Resampling
@RichardScottOZ
RichardScottOZ / paradox.py
Created April 14, 2026 22:09 — forked from BertrandBordage/paradox.py
Python Paradox database reader
# coding: utf-8
"""
Converts Paradox databases to Python objects or CSV.
You don't need any dependency (except Python) to make this module work.
This module is incomplete but reads most Paradox `.DB` files.
If this module is not fast or complete enough for you, consider using pxview.
"""