Skip to content

Commit

Permalink
Fixed provider, failed test run
Browse files Browse the repository at this point in the history
  • Loading branch information
mathvansoest committed Jul 10, 2024
1 parent 9bd9e4d commit cf976f2
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion current/ss_wc/Hsmean-mapbox/Hsmean-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:48:23.105591Z"
"datetime": "2024-07-10T11:12:27.668578Z"
},
"geometry": {
"type": "Polygon",
Expand Down
2 changes: 1 addition & 1 deletion current/ss_wc/SSp99-mapbox/SSp99-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:48:23.105591Z"
"datetime": "2024-07-10T11:12:27.668578Z"
},
"geometry": {
"type": "Polygon",
Expand Down
4 changes: 3 additions & 1 deletion current/ss_wc/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,9 @@
{
"name": "Universidad de Cantabria, Instituto de Hidraulica Ambiental de la Universidad de Cantabria 'IHCantabria'",
"description": " IHCantabria is a collaborative research institute formed by the partnership of the Universidad de Cantabria and the Government of Cantabria. It is actively engaged in scientific and technical endeavors pertaining to continental and coastal water engineering. Its overarching vision is to establish itself as a leading institution known for providing innovative solutions rooted in scientific excellence. These solutions are centered around the integrated management of socio-ecological water systems, with the ultimate aim of contributing to a more sustainable global environment.",
"roles": "provider",
"roles": [
"provider"
],
"url": "www.ihcantabria.com"
}
],
Expand Down
2 changes: 1 addition & 1 deletion current/ss_wc/tidal_range-mapbox/tidal_range-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:48:23.105591Z"
"datetime": "2024-07-10T11:12:27.668578Z"
},
"geometry": {
"type": "Polygon",
Expand Down
2 changes: 1 addition & 1 deletion current/twl/RP1-mapbox/RP1-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:50:59.186281Z"
"datetime": "2024-07-10T11:12:34.778539Z"
},
"geometry": {
"type": "Polygon",
Expand Down
2 changes: 1 addition & 1 deletion current/twl/RP100-mapbox/RP100-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:50:59.187273Z"
"datetime": "2024-07-10T11:12:34.778539Z"
},
"geometry": {
"type": "Polygon",
Expand Down
2 changes: 1 addition & 1 deletion current/twl/RP1000-mapbox/RP1000-mapbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"deltares:type": "circle",
"deltares:stations": "locationId",
"deltares:onclick": {},
"datetime": "2024-07-10T10:50:59.187273Z"
"datetime": "2024-07-10T11:12:34.779536Z"
},
"geometry": {
"type": "Polygon",
Expand Down
4 changes: 3 additions & 1 deletion current/twl/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,9 @@
{
"name": "Universidad de Cantabria, Instituto de Hidr\u00e1ulica Ambiental de la Universidad de Cantabria 'IHCantabria'",
"description": " IHCantabria is a collaborative research institute formed by the partnership of the Universidad de Cantabria and the Government of Cantabria. It is actively engaged in scientific and technical endeavors pertaining to continental and coastal water engineering. Its overarching vision is to establish itself as a leading institution known for providing innovative solutions rooted in scientific excellence. These solutions are centered around the integrated management of socio-ecological water systems, with the ultimate aim of contributing to a more sustainable global environment.",
"roles": "provider",
"roles": [
"provider"
],
"url": "www.ihcantabria.com"
}
],
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_stacs/19_ss_wc_stacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_paint_props(item_key: str):
temporal_extent=METADATA["TEMPORAL_EXTENT"],
providers=[pystac.Provider(name=METADATA['PROVIDERS']['name'],
url=METADATA['PROVIDERS']['url'],
roles=METADATA['PROVIDERS']['roles'],
roles=[METADATA['PROVIDERS']['roles']], # NOTE: roles is plural and for that reason should be a list
description=METADATA['PROVIDERS']['description'])]
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/create_stacs/20_twl_stacs.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_paint_props(item_key: str):
temporal_extent=METADATA["TEMPORAL_EXTENT"],
providers=[pystac.Provider(name=METADATA['PROVIDERS']['name'],
url=METADATA['PROVIDERS']['url'],
roles=METADATA['PROVIDERS']['roles'],
roles=[METADATA['PROVIDERS']['roles']], # NOTE: roles is plural and for that reason should be a list
description=METADATA['PROVIDERS']['description'])]
)

Expand Down

0 comments on commit cf976f2

Please sign in to comment.