|
@ -195,6 +195,7 @@ def animate( |
|
|
limit: int = 0, |
|
|
limit: int = 0, |
|
|
): |
|
|
): |
|
|
urls = get_file_links(url, ext) |
|
|
urls = get_file_links(url, ext) |
|
|
|
|
|
urls = list(urls) |
|
|
if len(urls) == 0: |
|
|
if len(urls) == 0: |
|
|
raise ValueError("No urls scraped") |
|
|
raise ValueError("No urls scraped") |
|
|
images = get_images(list(sorted(urls)), limit=limit) |
|
|
images = get_images(list(sorted(urls)), limit=limit) |
|
@ -259,6 +260,6 @@ if __name__ == "__main__": |
|
|
"limit": 0, |
|
|
"limit": 0, |
|
|
} |
|
|
} |
|
|
create_animations.serve( |
|
|
create_animations.serve( |
|
|
"noaa-animate", limit=8, schedule=None, parameters=sched_params |
|
|
"noaa-animate", limit=8, interval=None, parameters=sched_params |
|
|
) |
|
|
) |
|
|
# make_animation(url) |
|
|
# make_animation(url) |
|
|