Skip to content

Instantly share code, notes, and snippets.

View rsignell-usgs's full-sized avatar

Rich Signell rsignell-usgs

View GitHub Profile
@rsignell-usgs
rsignell-usgs / pydata_nyc_signell
Last active October 12, 2015 02:48
PyData NYC 2012, Signell Lightning Talk, Ocean Model Data Access
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "PyData NYC"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@rsignell-usgs
rsignell-usgs / tsfrom3d
Created November 19, 2012 20:26
Extract time series from 3D dataset
{
"metadata": {
"name": "Extract time series from 3D dataset"
},
"nbformat": 3,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
@rsignell-usgs
rsignell-usgs / dap2raster
Created November 26, 2012 19:38
Extract bathy data via OPeNDAP and create Arc Raster
{
"metadata": {
"name": "dap2arc_raster"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@rsignell-usgs
rsignell-usgs / opuls_ugrid.ipynb
Last active October 13, 2015 17:58
OPULS UGRID Remote Subset Demo
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 / clim.ipynb
Created December 7, 2012 20:12
Jim Manning climatology test
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 / climate_demo_dustbowl.ipynb
Last active October 13, 2015 20:27
Exploring Climate Data: Past and Future
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 / time_dap.py
Created December 10, 2012 20:33
Timing remote access to DAP
from pylab import *
import netCDF4
import time
import os
print os.getcwd()
url='http://geoport-dev.whoi.edu/thredds/dodsC/usgs/data0/bbleh/adcirc_deep/roms.ncml'
nc=netCDF4.Dataset(url);
nstep=10
tim=ones((nstep,1))
for i in range(nstep):
@rsignell-usgs
rsignell-usgs / marinexplore.ipynb
Created December 11, 2012 15:42
MarineXplore DAP test
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 / stick.ipynb
Created January 8, 2013 23:11
Vector Wind Stick Plot
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 / do_WCS.bash
Created January 10, 2013 22:17
bash script to extract NED data via WCS. This NED data is not the latest, however.
#!/bin/bash
curl -o ned.tif 'http://ags.cr.usgs.gov/ArcGIS/services/NED_1/MapServer/WCSServer?request=GetCoverage&version=1.0.0&service=WCS&format=GeoTIFF&CRS=EPSG:4326&coverage=1&bbox=-71.0,41.5,-70.5,42.0&resx=0.0002777777779&resy=0.0002777777779'