Skip to content

Instantly share code, notes, and snippets.

View drewbo's full-sized avatar

Drew Bollinger drewbo

  • @cloud-gov (work) + personal projects
  • Washington, DC
View GitHub Profile

Development Seed Handbook

Welcome to Development Seed!

Here are some tips for understanding our workflow and culture. This is written to help people new to the team dive right in, and as a refresher for everyone on the strategy behind how we work. There are no official rules or policies here (all the gritty stuff is in the playbook). Please note: everything is evolving, and this is a snapshot. When we find ways to work that work better, we use them. Don't be afraid to suggest something new.

Flat

@drewbo
drewbo / eppPNY.markdown
Created September 11, 2015 22:07
eppPNY

Let's make Landsat API have better search syntax

General Rules (replacing Lucene)

  • Instead of search?search=, let's just start adding params after search?
  • Instead of joining params with +AND+, let's use &
  • Instead of :, let's use =
  • Instead of using [X+TO+Y], let's use [X,Y] (and maybe sort them afterwards if they were flipped?)

Fields (many are empty, let's not document those)

For importing UTF-8 encoded csv files into Excel 2013 (Windows):

  1. Open a new Excel worksheet
  2. On the 'Data' tab, select 'From Text' in the 'Get External Data' section

  1. Select the file to import
  2. On the first step of the Import Wizard, selected 'Delimited' and 'File origin': '65001: Unicode (UTF-8)'

MODIS downloads are stored as .hdf files which makes them non-trivial to interact with.

I've previously mentioned using HEG but for a more streamlined approach we're going to want to use gdal.

Compiling GDAL with HDF4 support can actually be done fairly easily using brew although information on this was a bear to find. Thanks to Wood Sun we can do this via three commands

brew tap homebrew/versions
brew install hdf4
brew install https://raw.githubusercontent.com/geoalchimista/homebrew/master/formulae/gdal.rb --with-hdf4
@drewbo
drewbo / EaKEYo.markdown
Created December 13, 2014 19:00
EaKEYo

My temporary solution for something that only needs filters

{"filter":{"and":["term1","term2","term3]},"size":500}

@drewbo
drewbo / KWH.csv
Last active August 29, 2015 14:10
Implementing
Date Value
11:07 AM Thu Nov 13 2014 5.0097812
11:12 AM Thu Nov 13 2014 5.115377
11:17 AM Thu Nov 13 2014 4.878398
11:22 AM Thu Nov 13 2014 4.7319595
11:27 AM Thu Nov 13 2014 4.8122583
11:32 AM Thu Nov 13 2014 4.8450874
11:37 AM Thu Nov 13 2014 4.8571357
11:42 AM Thu Nov 13 2014 4.950128
11:47 AM Thu Nov 13 2014 5.00631
@drewbo
drewbo / _.md
Created September 17, 2014 18:33
cartogram-test
@drewbo
drewbo / README.md
Created September 16, 2014 21:34
An aRanger arrangment.

An arrangement of items made through aRanger.