Skip to content

Instantly share code, notes, and snippets.

View pblankenau2's full-sized avatar

Philip Blankenau pblankenau2

  • Idaho Department of Water Resources
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.
@rsignell-usgs
rsignell-usgs / odc-landsat.ipynb
Created February 17, 2022 20:34
odc-landsat.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FROM osgeo/gdal:ubuntu-full-3.2.2 AS builder-image
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update && apt-get install --no-install-recommends -y \
python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \
apt-get clean && rm -rf /var/lib/apt/lists/*
RUN python3.9 -m venv /home/myuser/venv
ENV PATH="/home/myuser/venv/bin:$PATH"
@jdbcode
jdbcode / ee_filmstrip_gif.ipynb
Last active October 3, 2022 17:54
ee_filmstrip_gif.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mortcanty
mortcanty / s1multitempclass.ipynb
Last active February 6, 2025 18:29
S1MultitempClass.ipynb
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.
@dustypomerleau
dustypomerleau / abbreviated-squash-and-rebase-workflow.sh
Last active April 3, 2023 03:56
An abbreviated guide to the Git squash-and-rebase workflow with relevant commands
# Github fork button
git clone <my-fork-url>
git remote add upstream <original-repo-url>
# check remotes are both configured
git remote -v
# Time to work
# update your master branch
git fetch upstream master # git fetch upstream will grab all branches
@scottyhq
scottyhq / xarray-rasterio.ipynb
Created December 4, 2018 04:44
rasterio and xarray working together
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mwaskom
mwaskom / palettes.png
Last active July 9, 2024 20:35
Show all seaborn palettes and simulate what they look like with various color vision deficiencies. (The 10-element seaborn palettes will be part of the forthcoming 0.9 release).
palettes.png
import sys
import httplib2
from googleapiclient import discovery
from oauth2client.client import GoogleCredentials
from oauth2client.service_account import ServiceAccountCredentials
from apiclient.http import MediaFileUpload
KEY_FILE='/.config/gclib/sa_key.json'
FT_SCOPE = 'https://www.googleapis.com/auth/fusiontables'
DRIVE_SCOPE = 'https://www.googleapis.com/auth/drive'