Skip to content

Commit 1aa6969

Browse files
committed
additions to make the STAC work
1 parent de9a58d commit 1aa6969

File tree

3 files changed

+4
-313
lines changed

3 files changed

+4
-313
lines changed

STAC/data/current/catalog.json

-12
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@
2828
"type": "application/json",
2929
"title": "The Shoreline Monitor"
3030
},
31-
{
32-
"rel": "child",
33-
"href": "./world_pop/collection.json",
34-
"type": "application/json",
35-
"title": "World Population"
36-
},
37-
{
38-
"rel": "child",
39-
"href": "./world_gdp/collection.json",
40-
"type": "application/json",
41-
"title": "World Gridded GDP"
42-
},
4331
{
4432
"rel": "child",
4533
"href": "./shore_mon_hr/collection.json",

STAC/data/current/catalog2.json

-299
This file was deleted.

STAC/data/scripts/SOTC/stac_to_cloud_sotc.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
GCS_PROJECT = "DGDS - I1000482-002"
1414
BUCKET_NAME = "dgds-data-public"
1515
BUCKET_PROJ = "gca/SOTC"
16-
STAC_NAME = "gca-stac_sotc"
16+
STAC_NAME = "gca-sotc"
1717
IN_DIRNAME = "current"
1818

1919
# hard-coded input params at project level
2020
coclico_data_dir = pathlib.Path(p_drive, "11207608-coclico", "FASTTRACK_DATA")
2121

2222
# upload dir to gcs from local drive
23-
source_dir_fp = str(pathlib.Path(__file__).parent.parent.parent.joinpath(IN_DIRNAME))
23+
source_dir_fp = str(
24+
pathlib.Path(__file__).parent.parent.parent.joinpath(IN_DIRNAME)
25+
)
2426
# source_dir_fp=r"C:\Users\rowe\Documents\GitHub\global-coastal-atlas\STAC\data\current"
2527

2628
# load google credentials

0 commit comments

Comments
 (0)