Skip to content

Instantly share code, notes, and snippets.

View RichardScottOZ's full-sized avatar

RichardScottOZ

  • Australia
View GitHub Profile
@wgurecky
wgurecky / par_dask_griddata.py
Last active October 24, 2023 21:22
Parallel scipy griddata with Dask
#!/usr/bin/python3
#!/usr/bin/env python
#-*- coding: utf-8 -*-
#==============================================================================
# Copyright (c) 2018, William Gurecky
# All rights reserved.
#
# DESCRIPTION:
# Inspired from stack overflow question:
# https://stackoverflow.com/questions/52227599/interpolate-griddata-uses-only-one-core
@chrisRedwine
chrisRedwine / pip_install
Created July 20, 2016 18:00
Pip install a specific github repo tag or branch
# From https://coderwall.com/p/-wbo5q/pip-install-a-specific-github-repo-tag-or-branch
pip install -e git://github.com/{ username }/{ reponame }.git@{ tag name }#egg={ desired egg name }
@edsu
edsu / wpd2txt.py
Last active July 24, 2022 06:19
convert a wordperfect file to messy text
#!/usr/bin/env python
import sys
"""
For each character c, if its value is:
#13: treat as newline
#128, #160: treat as space ' '
#169..#171, #173, #174: treat as dash '-'
#192..#236: skip ahead and ignore all characters until another occurrence
@rsignell-usgs
rsignell-usgs / csw_plots.ipynb
Created June 4, 2013 14:11
CSW access with plots
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.