-
Notifications
You must be signed in to change notification settings - Fork 41
/
auto_update.py
21 lines (19 loc) · 1.23 KB
/
auto_update.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from leafmap import download_file
links = [
"https://github.com/giswqs/aws-open-data/raw/master/aws_open_datasets.tsv",
"https://github.com/giswqs/aws-open-data/raw/master/aws_open_datasets.json",
"https://github.com/giswqs/aws-open-data-geo/raw/master/aws_geo_datasets.tsv",
"https://github.com/giswqs/aws-open-data-geo/raw/master/aws_geo_datasets.json",
"https://github.com/giswqs/aws-open-data-stac/raw/master/aws_stac_catalogs.tsv",
"https://github.com/giswqs/aws-open-data-stac/raw/master/aws_stac_catalogs.json",
"https://github.com/giswqs/stac-index-catalogs/raw/master/stac_catalogs.tsv",
"https://github.com/giswqs/stac-index-catalogs/raw/master/stac_catalogs.json",
"https://github.com/giswqs/Earth-Engine-Catalog/raw/master/gee_catalog.tsv",
"https://github.com/giswqs/Earth-Engine-Catalog/raw/master/gee_catalog.json",
"https://github.com/giswqs/Planetary-Computer-Catalog/raw/master/pc_catalog.tsv",
"https://github.com/giswqs/Planetary-Computer-Catalog/raw/master/pc_catalog.json",
"https://github.com/giswqs/NASA-CMR-STAC/raw/master/nasa_cmr_catalog.tsv",
"https://github.com/giswqs/NASA-CMR-STAC/raw/master/nasa_cmr_catalog.json"
]
for link in links:
download_file(link, overwrite=True)