Skip to content

Commit

Permalink
Add proj:epsg to summaries, add proj:transform to COGs, fix transform…
Browse files Browse the repository at this point in the history
… for netcdf, write intermediate files to temporary folder
  • Loading branch information
m-mohr committed Sep 30, 2022
1 parent 3d5c1a7 commit eeb96ca
Show file tree
Hide file tree
Showing 7 changed files with 214 additions and 80 deletions.
6 changes: 5 additions & 1 deletion examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"stac_extensions": [
"https://raw.githubusercontent.com/stactools-packages/esa-cci-lc/main/extension/schema.json",
"https://stac-extensions.github.io/classification/v1.0.0/schema.json",
"https://stac-extensions.github.io/projection/v1.0.0/schema.json",
"https://stac-extensions.github.io/scientific/v1.0.0/schema.json",
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
],
Expand Down Expand Up @@ -384,7 +385,7 @@
"quality",
"cloud-optimized"
],
"description": "Number of valid satellite observations that have contributed to each pixel's classification."
"description": "Number of valid satellite observations that have contributed to each pixel's classification.\n\n**Note:** The COG doesn't contain overviews!"
},
"processed_flag": {
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
Expand Down Expand Up @@ -744,6 +745,9 @@
"description": "Permanent snow and ice",
"color_hint": "FFFFFF"
}
],
"proj:epsg": [
4326
]
}
}
76 changes: 68 additions & 8 deletions examples/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,19 @@
"color_hint": "FFFFFF"
}
],
"created": "2022-09-27T13:32:25.862366Z",
"created": "2022-09-30T10:58:11.160376Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"data",
"cloud-optimized"
Expand All @@ -328,7 +340,19 @@
"description": "Processed"
}
],
"created": "2022-09-27T13:32:25.862426Z",
"created": "2022-09-30T11:00:33.967418Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand Down Expand Up @@ -371,7 +395,19 @@
"description": "Filled"
}
],
"created": "2022-09-27T13:32:25.862460Z",
"created": "2022-09-30T11:03:25.232575Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand All @@ -382,7 +418,19 @@
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "Number of valid observations",
"description": "Number of valid satellite observations that have contributed to each pixel's classification.\n\n**Note:** The COG doesn't contain overviews!",
"created": "2022-09-27T13:32:25.862485Z",
"created": "2022-09-30T11:15:55.524294Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand All @@ -393,7 +441,19 @@
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "Number of class changes",
"description": "Number of years where land cover class changes have occurred, since 1992. 0 for stable, greater than 0 for changes.",
"created": "2022-09-27T13:32:25.862509Z",
"created": "2022-09-30T11:18:54.417065Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand Down Expand Up @@ -537,12 +597,12 @@
64800
],
"proj:transform": [
-180.0,
0.002777777777778,
0.0,
90.0,
0.0,
-0.002777777777778,
-180.0,
90.0
-0.002777777777778
],
"roles": [
"data",
Expand Down
76 changes: 68 additions & 8 deletions examples/item2.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,19 @@
"color_hint": "FFFFFF"
}
],
"created": "2022-09-29T13:31:36.299967Z",
"created": "2022-09-30T11:39:53.751396Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"data",
"cloud-optimized"
Expand All @@ -330,7 +342,19 @@
"description": "Processed"
}
],
"created": "2022-09-29T13:31:36.300024Z",
"created": "2022-09-30T11:42:19.701847Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand Down Expand Up @@ -373,7 +397,19 @@
"description": "Filled"
}
],
"created": "2022-09-29T13:31:36.300062Z",
"created": "2022-09-30T11:45:14.790327Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand All @@ -384,7 +420,19 @@
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "Number of valid observations",
"description": "Number of valid satellite observations that have contributed to each pixel's classification.\n\n**Note:** The COG doesn't contain overviews!",
"created": "2022-09-29T13:31:36.300094Z",
"created": "2022-09-30T11:57:42.435988Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand All @@ -395,7 +443,19 @@
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"title": "Number of class changes",
"description": "Number of years where land cover class changes have occurred, since 1992. 0 for stable, greater than 0 for changes.",
"created": "2022-09-29T13:31:36.300123Z",
"created": "2022-09-30T12:00:03.671412Z",
"proj:shape": [
129600,
64800
],
"proj:transform": [
-180.0,
0.002777777777777778,
0.0,
90.00000000000001,
0.0,
-0.0027777777777777783
],
"roles": [
"quality",
"cloud-optimized"
Expand Down Expand Up @@ -539,12 +599,12 @@
64800
],
"proj:transform": [
-180.0,
0.002777777777778,
0.0,
90.0,
0.0,
-0.002777777777778,
-180.0,
90.0
-0.002777777777778
],
"roles": [
"data",
Expand Down
Loading

0 comments on commit eeb96ca

Please sign in to comment.