Skip to content

Instantly share code, notes, and snippets.

View darkblue-b's full-sized avatar
👁️
.

Brian M Hamlin darkblue-b

👁️
.
View GitHub Profile
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2013 Brian Hamlin - darkblueb
# Copyright (c) 2013 The Open Source Geospatial Foundation.
# Licensed under the GNU LGPL version >= 2.1.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 2.1 of the License,
import psycopg2
import time
conn = psycopg2.connect("dbname=text_test0")
curs = conn.cursor()
base_chars = ( 'A','C','G','T','U')
base_strs_t = (
'AACGTAACGTAACGTAACGTAACGTAACGTAACGTAACGT',
@darkblue-b
darkblue-b / SanMateo_CA_IRIS_0.ipynb
Created January 16, 2015 08:12
IRIS plot of elevation data in netCDF form
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darkblue-b
darkblue-b / live85_py.txt
Created January 17, 2015 04:38
Live 8.5 python by rough category
cartopy,click
imposm
iris
descartes
eoxserver
fiona
geoexplorer,geolinks
geopandas,geoserver
gps,geonode
kmlbase,kmldom,kmlengine
@darkblue-b
darkblue-b / cartopy-features-test0.ipynb
Created January 22, 2015 08:01
a notebook test of cartopy cached features
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darkblue-b
darkblue-b / demo0
Created January 26, 2015 06:11
demo of sql
{
"metadata": {
"name": "",
"signature": "sha256:bbbc5656b2b4c49bbc4736cc7a82b55d4ecd4eb9bd4ad0b47403d953b72b67e1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@darkblue-b
darkblue-b / demo00
Created January 26, 2015 06:21
gaez18 display demo0
{
"metadata": {
"name": "",
"signature": "sha256:14c8540323e4853e738486ac9fcfa6a3986e00a100985fccd4b57b91bdc4f59d"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@darkblue-b
darkblue-b / WFS-in-cartopy.ipynb
Created January 28, 2015 18:00
WFS from rsignell
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darkblue-b
darkblue-b / fiona_nc_ex0.ipynb
Created February 2, 2015 05:22
ipynb farmville
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.