Skip to content

Instantly share code, notes, and snippets.

View geraldmc's full-sized avatar
🏠
Working from home

Gerald McCollam geraldmc

🏠
Working from home
  • Terre Bon Bioscience LLC
  • Houma, LA
View GitHub Profile
@geraldmc
geraldmc / cover.py
Last active July 26, 2016 19:44
filter landsat for cloud cover
import json
from collections import OrderedDict
result = []
with open('out.json', 'r') as f:
d = json.load(f, object_hook=OrderedDict)
results = d['results']
for i, data in enumerate(results):
if data['cloud'] < 20: