Skip to content

Instantly share code, notes, and snippets.

View jgerardsimcock's full-sized avatar

Justin Simcock jgerardsimcock

View GitHub Profile
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-6-bdb5c0ba4788> in <module>()
----> 1 import xesmf
/opt/conda/lib/python3.6/site-packages/xesmf/__init__.py in <module>()
1 from . import util
2 from . import data
----> 3 from . frontend import Regridder
#seed: 10
#this is the ouput of CSVVCurveGen
constant = {'tasmax': -41.739060383321529,
'tasmax2': 2.19043060424606,
'tasmax3': -0.036357886410900681,
'tasmax4': 1.1182497539239723e-05
}
predcovars = {'tasmax': ['loggdppc', 'hotdd_agg', 'coldd_agg'],
'tasmax2': ['loggdppc', 'hotdd_agg', 'coldd_agg'],
#seed: 10
{'attrs': Attributes
oneline: Labor productivity temperature single-stage polynomial
version: Labor_temp_2017_02_14
dependencies: 2factorcode_2_full_dd_30_10.Rdata; labor_popop_income_t...
description: generated by 2factorcode_2_full_dd_30_10.R; single-stag...
csvv-version: girdin-2017-01-10,
'coords': <Empty Coordinates>,
'covarnames': ['1',
'1',
@jgerardsimcock
jgerardsimcock / Dockerfile_airflow_osdc
Created February 16, 2017 20:51
Dockerfile for Airflow installation on osdc
# VERSION 1.7.1.3-7
# AUTHOR: Matthieu "Puckel_" Roisil
# DESCRIPTION: Basic Airflow container
# BUILD: docker build --rm -t puckel/docker-airflow .
# SOURCE: https://github.com/puckel/docker-airflow
FROM debian:jessie
MAINTAINER Puckel_
# Never prompts the user for choices on installation/configuration of packages
var combine = require('stream-combiner');
var split = require('split');
var through = require('through');
var zlib = require('zlib');
module.exports = function () {
var genreInfo;
function write(buf) {