Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Aug 2, 2023
1 parent 3de148f commit 1998bb7
Show file tree
Hide file tree
Showing 94 changed files with 2,977 additions and 126 deletions.
6 changes: 3 additions & 3 deletions stac/stac-generator/stac-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,6 @@ def insert_value(field, value_list, listed_fields, doc):
stac_item = create_stac_item(document, title)
index_catalog.add_item(stac_item)

index_catalog.normalize_and_save(
root_href="stac_dist/",
catalog_type=pystac.CatalogType.SELF_CONTAINED)
index_catalog.normalize_and_save(
root_href="stac_dist/",
catalog_type=pystac.CatalogType.SELF_CONTAINED)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "ALOS_PALSAR2_AGRICULTURE",
"properties": {
"start_datetime": "2019-02-06T00:00:00Z",
Expand Down Expand Up @@ -106,7 +106,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/ALOS_PALSAR2_L2_1_10M/ALOS_PALSAR2_L2_1_10M.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "ALOS_PALSAR2_L2_1_10M",
"properties": {
"start_datetime": "2019-03-06T00:00:00Z",
Expand Down Expand Up @@ -106,7 +106,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/ALOS_PALSAR2_L2_1_3M/ALOS_PALSAR2_L2_1_3M.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "ALOS_PALSAR2_L2_1_3M",
"properties": {
"start_datetime": "2019-03-21T00:00:00Z",
Expand Down Expand Up @@ -96,7 +96,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "ALOS_PALSAR2_RICE_PADDY_FIELD_MAP",
"properties": {
"start_datetime": "2019-03-01T00:00:00Z",
Expand Down Expand Up @@ -96,7 +96,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"type": "Feature",
"stac_version": "2.2.0",
"id": "Administrative_boundaries_of_EEA38_and_the_United_Kingdom",
"properties": {
"cube:dimensions": {
"x": {
"axis": "x",
"extent": [
-180,
180
],
"reference_system": "ESPG:4326",
"type": "spatial"
},
"y": {
"axis": "y",
"extent": [
-90,
90
],
"reference_system": "ESPG:4326",
"type": "spatial"
},
"time": {
"values": [
"2000-01-01T00:00:00"
],
"type": "temporal"
}
},
"datetime": "2000-01-01T00:00:00Z"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-180.0,
-90.0
],
[
-180.0,
90.0
],
[
180.0,
90.0
],
[
180.0,
-90.0
],
[
-180.0,
-90.0
]
]
]
},
"links": [
{
"rel": "root",
"href": "../catalog.json",
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
"href": "../catalog.json",
"type": "application/json",
"title": "data-access catalog"
}
],
"assets": {},
"bbox": [
-180.0,
-90.0,
180.0,
90.0
],
"stac_extensions": [
"https://stac-extensions.github.io/datacube/v2.0.0/schema.json"
]
}
5 changes: 3 additions & 2 deletions stac_dist/CAMS_GLC/CAMS_GLC.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CAMS_GLC",
"properties": {
"start_datetime": "2017-01-01T00:00:00Z",
Expand Down Expand Up @@ -98,7 +98,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/CDS_2M_TEMP_2020/CDS_2M_TEMP_2020.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CDS_2M_TEMP_2020",
"properties": {
"start_datetime": "2019-01-01T00:00:00Z",
Expand Down Expand Up @@ -96,7 +96,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/CNES_LAND_COVER_MAP/CNES_LAND_COVER_MAP.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CNES_LAND_COVER_MAP",
"properties": {
"start_datetime": "2016-01-01T00:00:00Z",
Expand Down Expand Up @@ -129,7 +129,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/CNR_CHL/CNR_CHL.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CNR_CHL",
"properties": {
"start_datetime": "2020-01-04T00:00:00Z",
Expand Down Expand Up @@ -96,7 +96,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/CNR_TSM/CNR_TSM.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CNR_TSM",
"properties": {
"start_datetime": "2020-01-04T00:00:00Z",
Expand Down Expand Up @@ -96,7 +96,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/COPERNICUS_30/COPERNICUS_30.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "COPERNICUS_30",
"properties": {
"cube:dimensions": {
Expand Down Expand Up @@ -132,7 +132,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
5 changes: 3 additions & 2 deletions stac_dist/CORINE_LAND_COVER/CORINE_LAND_COVER.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CORINE_LAND_COVER",
"properties": {
"start_datetime": "1990-01-01T00:00:00Z",
Expand Down Expand Up @@ -120,7 +120,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "Feature",
"stac_version": "1.0.0",
"stac_version": "2.2.0",
"id": "CORINE_LAND_COVER_ACCOUNTING_LAYERS",
"properties": {
"start_datetime": "2000-01-01T00:00:00Z",
Expand Down Expand Up @@ -119,7 +119,8 @@
{
"rel": "root",
"href": "https://fairicube.github.io/data-requests/catalog.json",
"type": "application/json"
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"type": "Feature",
"stac_version": "2.2.0",
"id": "City___Urban_Audit_2021_10m_raster",
"properties": {
"cube:dimensions": {
"x": {
"axis": "x",
"extent": [
-180,
180
],
"reference_system": "ESPG:4326",
"type": "spatial"
},
"y": {
"axis": "y",
"extent": [
-90,
90
],
"reference_system": "ESPG:4326",
"type": "spatial"
},
"time": {
"values": [
"2000-01-01T00:00:00"
],
"type": "temporal"
}
},
"datetime": "2000-01-01T00:00:00Z"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-180.0,
-90.0
],
[
-180.0,
90.0
],
[
180.0,
90.0
],
[
180.0,
-90.0
],
[
-180.0,
-90.0
]
]
]
},
"links": [
{
"rel": "root",
"href": "../catalog.json",
"type": "application/json",
"title": "data-access catalog"
},
{
"rel": "parent",
"href": "../catalog.json",
"type": "application/json",
"title": "data-access catalog"
}
],
"assets": {},
"bbox": [
-180.0,
-90.0,
180.0,
90.0
],
"stac_extensions": [
"https://stac-extensions.github.io/datacube/v2.0.0/schema.json"
]
}
Loading

0 comments on commit 1998bb7

Please sign in to comment.