Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
I plan something for the next 4 months, and life changes in the next 4 weeks

Shamir Alavi dg1223

💭
I plan something for the next 4 months, and life changes in the next 4 weeks
View GitHub Profile
@dg1223
dg1223 / DEDOMENA.ipynb
Created Oct 21, 2019
Our coding workspace
View DEDOMENA.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View download_nasa_earth_images.py
import requests
import shutil
import os
def download_MODIS_image(num_images, year, month, day, max_day, max_month, end_date):
# input params
# param 1: number of images to download (for this URL, don't go over 80)
# param 2: date of image; e.g. date = '2012-07-09'