Skip to content

Instantly share code, notes, and snippets.

View rsignell-usgs's full-sized avatar

Rich Signell rsignell-usgs

View GitHub Profile
more /etc/apache2/sites-enabled/010-usgs_geoport
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName geoport.whoi.edu
DocumentRoot /var/www
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header always set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding"
@rsignell-usgs
rsignell-usgs / iris_bug.ipynb
Last active August 29, 2015 13:56
possible bug in iris 1.7.0-dev
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"metadata": {
"name": "",
"signature": "sha256:d4d2f2b3d6ec405cef4547a442d52b1f7a6a24a6494f7f67806356625800095e"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:f690f121702a4740aa2e624914c793ad75f740d558c89d491eec164062ed4846"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:9b4c9cdcd5d9c026aca41a403b593bc5b12ddc7df01c86ea23b75974003692ff"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
[testbed@testbed2 ~]$ ipython notebook --profile=newprofile --no-browser --ip=130.39.13.11 --port=5631
2014-02-18 18:52:11.266 [NotebookApp] Using existing profile dir: u'/home/testbed/.config/ipython/profile_newprofile'
2014-02-18 18:52:11.272 [NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
2014-02-18 18:52:11.278 [NotebookApp] Serving notebooks from local directory: /home/testbed
2014-02-18 18:52:11.278 [NotebookApp] The IPython Notebook is running at: http://130.39.13.11:5631/
2014-02-18 18:52:11.278 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
2014-02-18 18:52:11.827 [tornado.general] WARNING | Invalid cookie signature 'YjZlMTkyYTEtMWVhOC00YjIxLTg4MDctZjM5YWJmNDJiZjNl|1392770387|6ca45afdb020dcd2a95baa2583231e8e4a4f6056'
2014-02-18 18:52:11.827 [tornado.application] ERROR | Uncaught exception in /kernels/866f2140-b7b3-49b0-b61f-a33b14af978f/shell
Traceback (most recent call last):
File "/home/testbed/anacond
<?xml version="1.0" encoding="UTF-8"?>
<ogc:Filter_Capabilities>
<ogc:Spatial_Capabilities>
<ogc:GeometryOperands>
<ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand>
<ogc:GeometryOperand>gml:Point</ogc:GeometryOperand>
</ogc:GeometryOperands>
<ogc:SpatialOperators>
<ogc:SpatialOperator name="BBOX"/>
<ogc:SpatialOperator name="Contains"/>
@rsignell-usgs
rsignell-usgs / agg.ncml
Created March 28, 2014 12:01
aggregation for ROMS data
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
<aggregation dimName="ocean_time" type="joinExisting">
<scan location="." regExp=".*roms_his_arch_[0-9]{8}\.nc$" subdirs="false"/>
</aggregation>
</netcdf>
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.