Skip to content

Commit

Permalink
additions to make the STAC work
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneKras committed Oct 24, 2024
1 parent de9a58d commit 1aa6969
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 313 deletions.
12 changes: 0 additions & 12 deletions STAC/data/current/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@
"type": "application/json",
"title": "The Shoreline Monitor"
},
{
"rel": "child",
"href": "./world_pop/collection.json",
"type": "application/json",
"title": "World Population"
},
{
"rel": "child",
"href": "./world_gdp/collection.json",
"type": "application/json",
"title": "World Gridded GDP"
},
{
"rel": "child",
"href": "./shore_mon_hr/collection.json",
Expand Down
299 changes: 0 additions & 299 deletions STAC/data/current/catalog2.json

This file was deleted.

6 changes: 4 additions & 2 deletions STAC/data/scripts/SOTC/stac_to_cloud_sotc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@
GCS_PROJECT = "DGDS - I1000482-002"
BUCKET_NAME = "dgds-data-public"
BUCKET_PROJ = "gca/SOTC"
STAC_NAME = "gca-stac_sotc"
STAC_NAME = "gca-sotc"
IN_DIRNAME = "current"

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

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

# load google credentials
Expand Down

0 comments on commit 1aa6969

Please sign in to comment.