Skip to content

Instantly share code, notes, and snippets.

View RichardScottOZ's full-sized avatar

RichardScottOZ

  • Australia
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.
@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