Skip to content

Commit 77d245b

Browse files
authored
Merge pull request #18 from anissa111/animation
Change image data to be over a larger time span
2 parents 7bdc3b1 + 9d83a09 commit 77d245b

File tree

55 files changed

+98717
-108543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+98717
-108543
lines changed

notebooks/animation.ipynb

+98,713-108,541
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

notebooks/scripts/goes-getter.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
r = requests.get(base_url)
77
soup = BeautifulSoup(r.text, 'html.parser')
88

9-
# get links to 20 images
9+
# get all image urls
1010
urls = []
1111
for link in soup.find_all('a'):
12-
if link.get('href').endswith('416x250.jpg') and len(urls) < 30:
12+
if link.get('href').endswith('416x250.jpg'):
1313
urls.append(link.get('href'))
1414

15+
# get a day's worth of hourly images
16+
urls = urls[::12][:24]
1517
# download images
1618
for url in urls:
1719
im = requests.get(base_url + url).content

0 commit comments

Comments
 (0)