-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathauto_update.py
More file actions
32 lines (30 loc) · 2.38 KB
/
auto_update.py
File metadata and controls
32 lines (30 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
# Copernicus Metadata
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/tsv/copernicus_atmosphere.tsv",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/json/copernicus_atmosphere.json",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/tsv/copernicus_climate.tsv",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/json/copernicus_climate.json",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/tsv/copernicus_emergency.tsv",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/json/copernicus_emergency.json",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/tsv/copernicus_land.tsv",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/json/copernicus_land.json",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/tsv/copernicus_marine.tsv",
"https://github.com/do-me/Copernicus-Services-Products-Metadata/raw/main/outputs/json/copernicus_marine.json"
]
for link in links:
download_file(link, overwrite=True)