Skip to content

Instantly share code, notes, and snippets.

@cigrainger
Created February 28, 2016 17:45
Show Gist options
  • Save cigrainger/48cf8d637b8eced0ee5f to your computer and use it in GitHub Desktop.
Save cigrainger/48cf8d637b8eced0ee5f to your computer and use it in GitHub Desktop.
temp_precip = []
for i,p in enumerate(correct_precip):
if i % 6 == 0:
temp_precip.append(p)
else:
temp_precip.append(p-correct_precip[i-1])
if i % 10000 == 0:
print i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment