Skip to content

Instantly share code, notes, and snippets.

View smacfarlane's full-sized avatar

Scott Macfarlane smacfarlane

  • Seattle, Washington
View GitHub Profile
@smacfarlane
smacfarlane / ASSIST Output
Created January 31, 2014 19:43
SIGRID Conversion
{
"ice": {
"open_water_lookup_code": null,
"thick_ice_lookup_code": null,
"thin_ice_lookup_code": null,
"total_concentration": 4
},
"ice_observations": [
{
"biota_lookup_code": null,
@smacfarlane
smacfarlane / modis2awips
Created August 6, 2012 17:23
Quick load of modis data using pytroll
#!/usr/bin/env python2
#First, lets load up the scene into pytroll
import os
import fnmatch
import datetime
import glob
from mpop.scene import assemble_segments
from mpop.satellites import PolarFactory
from mpop.satin import hdfeos_l1b