Skip to content

Instantly share code, notes, and snippets.

View jhamman's full-sized avatar
🔨
Building Earthmover!

Joe Hamman jhamman

🔨
Building Earthmover!
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.
@jhamman
jhamman / start-notebook
Created March 8, 2018 00:51
NCAR start-notebook: adapted for use with conda/dask
#!/bin/bash
# Create trap to kill notebook when user is done
kill_server() {
if [[ $JNPID != -1 ]]; then
echo -en "\nKilling Jupyter Notebook Server with PID=$JNPID ... "
kill $JNPID
echo "done"
exit 0
else
@jhamman
jhamman / explore_shapefile.ipynb
Last active March 14, 2018 23:10
ESMF Unstructured Mesh Regridding
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhamman
jhamman / gist:77894c2a99f5d0079dc19af57a9f4a9a
Created March 15, 2018 18:38 — forked from stephenpascoe/gist:3721874
Example of reading CMIP5 data over OPeNDAP in IPython
{
"metadata": {
"name": "esgf_opendap"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@jhamman
jhamman / dask.yaml
Created October 3, 2018 19:20
CISL system wide dask configuration
distributed:
scheduler:
bandwidth: 1000000000 # GB MB/s estimated worker-worker bandwidth
worker:
memory:
target: 0.90 # Avoid spilling to disk
spill: False # Avoid spilling to disk
pause: 0.80 # fraction at which we pause worker threads
terminate: 0.95 # fraction at which we terminate the worker
comm:
@jhamman
jhamman / keybase.md
Created November 16, 2018 18:04
keybase.md

Keybase proof

I hereby claim:

  • I am jhamman on github.
  • I am jhamman (https://keybase.io/jhamman) on keybase.
  • I have a public key ASCa9ggHDxnpiQiIQJaQu7h3f4z4AwIq9XMtim36XN7Jhwo

To claim this, I am signing this object:

@jhamman
jhamman / gmet_to_zarr.ipynb
Created March 22, 2019 00:06
GMET to Zarr Example
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.
@jhamman
jhamman / xarray_and_mongodb.ipynb
Created October 7, 2019 23:26
Reading/writing xarray with mongodb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhamman
jhamman / bcsd_example.ipynb
Created October 15, 2019 17:56
xsd samples
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.