Skip to content

Commit 576a01a

Browse files
committed
Changes in description
Changes in description
1 parent 75636df commit 576a01a

8 files changed

+64
-63
lines changed

STAC/data/current/SPMN/collection.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "Collection",
33
"id": "SPMN",
44
"stac_version": "1.0.0",
5-
"description": "Merkens et al. 2016 regionalised the population projection of the SSP-Database. The produced grids have a spatial resolution of 30*30 arcsecond (approx. 1 km at the equator) and represent the population count per cell. A detailed description of the methods is given in the reference below.",
5+
"description": "Description is not available",
66
"links": [
77
{
88
"rel": "license",

STAC/data/current/SPMN/items/Mild/2050.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"stac_version": "1.0.0",
44
"id": "mild/2050.tif",
55
"properties": {
6-
"created": "2024-07-16T12:41:14.930721Z",
6+
"created": "2024-09-19T12:03:41.353027Z",
77
"proj:bbox": [
88
0.0,
99
299900.0,
@@ -105,18 +105,18 @@
105105
"href": "https://storage.googleapis.com/dgds-data-public/gca/Land_subsidence_prediction_maps_updated/mild/2050.tif",
106106
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
107107
"title": "band_data",
108-
"file:size": 18203783,
108+
"file:size": 18955819,
109109
"raster:bands": [
110110
{
111-
"nodata": NaN,
111+
"nodata": -99999.0,
112112
"data_type": "float32",
113113
"spatial_resolution": 30
114114
}
115115
],
116116
"eo:bands": [
117117
{
118118
"name": "band_data",
119-
"description": "POP_SSPs"
119+
"description": "Land subsidence prediction. EOExtension"
120120
}
121121
],
122122
"roles": [

STAC/data/current/SPMN/items/Mild/2100.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"stac_version": "1.0.0",
44
"id": "mild/2100.tif",
55
"properties": {
6-
"created": "2024-07-16T12:41:15.091311Z",
6+
"created": "2024-09-19T12:03:41.471031Z",
77
"proj:bbox": [
88
0.0,
99
299900.0,
@@ -105,18 +105,18 @@
105105
"href": "https://storage.googleapis.com/dgds-data-public/gca/Land_subsidence_prediction_maps_updated/mild/2100.tif",
106106
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
107107
"title": "band_data",
108-
"file:size": 18509016,
108+
"file:size": 19262586,
109109
"raster:bands": [
110110
{
111-
"nodata": NaN,
111+
"nodata": -99999.0,
112112
"data_type": "float32",
113113
"spatial_resolution": 30
114114
}
115115
],
116116
"eo:bands": [
117117
{
118118
"name": "band_data",
119-
"description": "POP_SSPs"
119+
"description": "Land subsidence prediction. EOExtension"
120120
}
121121
],
122122
"roles": [

STAC/data/current/SPMN/items/sterk/2050.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"stac_version": "1.0.0",
44
"id": "sterk/2050.tif",
55
"properties": {
6-
"created": "2024-07-16T12:41:15.355586Z",
6+
"created": "2024-09-19T12:03:41.659216Z",
77
"proj:bbox": [
88
0.0,
99
299900.0,
@@ -105,18 +105,18 @@
105105
"href": "https://storage.googleapis.com/dgds-data-public/gca/Land_subsidence_prediction_maps_updated/sterk/2050.tif",
106106
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
107107
"title": "band_data",
108-
"file:size": 19335840,
108+
"file:size": 20088601,
109109
"raster:bands": [
110110
{
111-
"nodata": NaN,
111+
"nodata": -99999.0,
112112
"data_type": "float32",
113113
"spatial_resolution": 30
114114
}
115115
],
116116
"eo:bands": [
117117
{
118118
"name": "band_data",
119-
"description": "POP_SSPs"
119+
"description": "Land subsidence prediction. EOExtension"
120120
}
121121
],
122122
"roles": [

STAC/data/current/SPMN/items/sterk/2100.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"stac_version": "1.0.0",
44
"id": "sterk/2100.tif",
55
"properties": {
6-
"created": "2024-07-16T12:41:15.525142Z",
6+
"created": "2024-09-19T12:03:41.772213Z",
77
"proj:bbox": [
88
0.0,
99
299900.0,
@@ -105,18 +105,18 @@
105105
"href": "https://storage.googleapis.com/dgds-data-public/gca/Land_subsidence_prediction_maps_updated/sterk/2100.tif",
106106
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
107107
"title": "band_data",
108-
"file:size": 19430084,
108+
"file:size": 20186520,
109109
"raster:bands": [
110110
{
111-
"nodata": NaN,
111+
"nodata": -99999.0,
112112
"data_type": "float32",
113113
"spatial_resolution": 30
114114
}
115115
],
116116
"eo:bands": [
117117
{
118118
"name": "band_data",
119-
"description": "POP_SSPs"
119+
"description": "Land subsidence prediction. EOExtension"
120120
}
121121
],
122122
"roles": [

STAC/data/notebooks/10_Land_subsidence_prediction_maps_updated.ipynb

+43-43
Large diffs are not rendered by default.

STAC/data/scripts/10_Land_subsidence_prediction_maps_updated_stacs.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
PROJ_NAME = "Land_subsidence_prediction_maps_updated"
6363

6464
# hard-coded STAC templates
65+
#TODO:Modify cur_cwd to adapt to your computer.
6566
CUR_CWD = pathlib.Path.cwd()
6667
STAC_DIR = CUR_CWD / "STAC/data/current"
6768
# STAC_DIR = r"D:\Projects\STAC\Repositories\global-coastal-atlas\STAC\data\current"
@@ -158,7 +159,7 @@ def create_collection(
158159
]
159160

160161
if description is None:
161-
description = "Merkens et al. 2016 regionalised the population projection of the SSP-Database. The produced grids have a spatial resolution of 30*30 arcsecond (approx. 1 km at the equator) and represent the population count per cell. A detailed description of the methods is given in the reference below."
162+
description = "Description is not available"
162163

163164
if "Creative Commons" in metadata["LICENSE"] and "4.0" in metadata["LICENSE"]:
164165
metadata["LICENSE"] = "CC-BY-4.0"
@@ -309,7 +310,7 @@ def create_asset(
309310
eo.Band.create(
310311
name=asset_title,
311312
# common_name=asset_title, # Iff in <eo#common-band-names>`
312-
description="POP_SSPs",
313+
description="Land subsidence prediction. EOExtension",
313314
)
314315
]
315316
...

STAC/data/scripts/stac_to_cloud.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
GCS_PROJECT = "DGDS - I1000482-002"
1414
BUCKET_NAME = "dgds-data-public"
1515
BUCKET_PROJ = "gca"
16-
STAC_NAME = "gca-stac4"
16+
STAC_NAME = "gca-stac6"
1717
IN_DIRNAME = "current"
1818

1919
# hard-coded input params at project level

0 commit comments

Comments
 (0)