Skip to content

Commit

Permalink
fix organization name
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Jan 14, 2025
1 parent 0efd630 commit d59323f
Show file tree
Hide file tree
Showing 28 changed files with 38 additions and 37 deletions.
10 changes: 5 additions & 5 deletions stac/stac-generator/test/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ def validate_item(item: pystac.item.Item):
assert len(properties["dataSource"]) > 0, "dataSource string must not be empty"

# validate Owner/Organisation
assert "providers" in properties, "No dataSource in the stac item"
assert "providers" in properties, "No providers in the stac item"
assert isinstance(properties["providers"], list), "providers must be a list"
for provider in properties["providers"]:
assert "organization" in provider.keys() or "name" in provider.keys()
assert "organization" in provider.keys() or "organization_name" in provider.keys()
if "organization" in provider.keys():
assert isinstance(provider["organization"], str), "provider's organization must be a string"
assert len(provider["organization"]) > 0, " provider's organization must not be empty"
if "name" in provider.keys():
assert isinstance(provider["name"], str), "provider name must be a string"
assert len(provider["name"]) > 0, "provider name string must not be empty"
if "organization_name" in provider.keys():
assert isinstance(provider["organization_name"], str), "provider name must be a string"
assert len(provider["organization_name"]) > 0, "provider name string must not be empty"

# validate Horizontal section
assert isinstance(item.bbox, list), "bbox must be a list"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"providers": [
{
"organization_name": "space4environment",
"organization": "space4environment",
"name": "space4environment",
"comments": "",
"doc_link": "",
"organization_email": "[email protected]",
Expand All @@ -34,7 +34,7 @@
},
{
"organization_name": "ECMWF",
"organization": "ECMWF",
"name": "ECMWF",
"comments": "",
"doc_link": "https://confluence.ecmwf.int/display/CKB/Climate+variables+for+cities+in+Europe+from+2008+to+2017+documentation#heading-4Exampledata",
"organization_email": "",
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/corine_land_cover/corine_land_cover.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providers": [
{
"organization_name": null,
"organization": "EEA",
"name": "EEA",
"comments": "The present 100m raster dataset is the 2018 CLC status layer modified for the purpose of consistent statistical analysis in the land cover change accounting system at EEA.\n\nCORINE Land Cover (CLC) data are produced from 1986 for European (EEA member or cooperating) countries. Altogether five mapping inventories were implemented in this period, producing five status layers (CLC1990, CLC2000, CLC2006, CLC2012, CLC2018) and four CLC-Change (CLCC) layers for the corresponding periods (1990-2000, 2000-2006, 2006-2012, 2012-2018). Pan-European CLC and CLCC data are available as vector and raster products.",
"doc_link": "https://land.copernicus.eu/pan-european/corine-land-cover",
"organization_email": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The DLT raster product provides a basic land cover classification with 3 thematic classes (all non-tree covered areas, broadleaved and coniferous) at 10m spatial resolution and covers the full of EEA38 area and the United Kingdom.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"comments": "The production of the high resolution forest layers was coordinated by the European Environment Agency (EEA) in the frame of the EU Copernicus programme.",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The DLT raster product provides a basic land cover classification with 3 thematic classes (all non-tree covered areas, broadleaved and coniferous) at 20m spatial resolution and covers the full of EEA38 area and the United Kingdom.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"comments": "The production of the high resolution forest layers was coordinated by the European Environment Agency (EEA) in the frame of the EU Copernicus programme.",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions stac_dist/eu_demography/eu_demography.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"providers": [
{
"organization_name": "EC Eurostat",
"organization": "EC Eurostat",
"name": "EC Eurostat",
"doc_link": "https://ec.europa.eu/eurostat/web/gisco/geodata/population-distribution/geostat",
"project_purpose": "data provider (population at LAU level); data hosting."
},
{
"organization_name": "EC Joint Research Centre",
"organization": "EC Joint Research Centre",
"name": "EC Joint Research Centre",
"doc_link": "https://ec.europa.eu/eurostat/web/gisco/geodata/population-distribution/geostat",
"project_purpose": "methodological development; implementation."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The European Settlement Map is a spatial raster dataset that is mapping human settlements in Europe based on Copernicus Very High Resolution optical coverage for reference year 2015 (VHR_IMAGE_2015). It follows-up on the previous ESM_2012 derived from 2.5 m resolution SPOT-5/6 images acquired in the context of the pan-European GMES/Copernicus (Core_003) dataset for the reference year 2012. The ESM_2015 product exploits the Copernicus VHR_IMAGE_2015 dataset made of satellite images Pleiades, Deimos-02, WorldView-2, WorldView-3, GeoEye-01 and Spot 6/7 ranging from 2014 to 2016.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"organization_email": "mailto:[email protected]"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The European Settlement Map is a spatial raster dataset that is mapping human settlements in Europe, based on Copernicus Very High Resolution optical coverage for reference year 2018. ESM 2018 exploits the Copernicus VHR_IMAGE_2018 dataset made of satellite images Pleiades 1A & 1B, SuperView-1, Kompsat-3/3A and PlanetScope with backup missions of Spot-6/7, TripleSat and Deimos-2 ranging from 2017 to 2019. It classifies the residential and non-residential buildings at a spatial resolution of 2 meters.",
"providers": [
{
"organization": "European Commission, Joint Research Centre",
"name": "European Commission, Joint Research Centre",
"doc_link": "",
"organization_email": "[email protected]"
}
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/forest_type_10m/forest_type_10m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "The High Resolution Layer Forest 2018 status layer Forest Type provides a forest classification with 3 thematic classes (all non-forest areas / broadleaved forest / coniferous forest) at 10m spatial resolution and with a Minimum Mapping Unit (MMU) of 0.5 ha. This raster layer is largely following the FAO (Food and Agriculture Organisation of the United Nations) forest definition with tree covered areas in agricultural and urban context excluded and covers the full of EEA38 area and the United Kingdom.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/forest_type_20m/forest_type_20m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 20 m a forest classification with three thematic classes (all non-forest areas / broadleaved forest / coniferous forest).",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "European Environment Agency",
"roles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providers": [
{
"organization_name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"organization": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"comments": "For download create account/regsiter (free)",
"doc_link": "https://sedac.ciesin.columbia.edu/data/set/ferman-v1-pest-chemgrids-v1-01/docs",
"organization_email": "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providers": [
{
"organization_name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"organization": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"comments": "For download create account/regsiter (free)",
"doc_link": "https://sedac.ciesin.columbia.edu/data/set/ferman-v1-pest-chemgrids-v1-01/docs",
"organization_email": "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providers": [
{
"organization_name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"organization": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"comments": "For download create account/regsiter (free)",
"doc_link": "https://sedac.ciesin.columbia.edu/data/set/ferman-v1-pest-chemgrids-v1-01/docs",
"organization_email": "[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"providers": [
{
"organization_name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"organization": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"name": "NASA Socioeconomic Data and Applications Center (SEDAC)",
"comments": "For download create account/regsiter (free)",
"doc_link": "https://sedac.ciesin.columbia.edu/data/set/ferman-v1-pest-chemgrids-v1-01/docs",
"organization_email": "[email protected]",
Expand Down
3 changes: 2 additions & 1 deletion stac_dist/grassland_10m/grassland_10m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"description": "Provides at pan-European level in the spatial resolution of 10 m a basic land cover classification with two thematic classes (grassland / non-grassland).",
"providers": [
{
"organization": "European Environment Agency",

"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/grassland_20m/grassland_20m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 20 m a basic land cover classification with two thematic classes (grassland / non-grassland).",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/imperviousness_10m/imperviousness_10m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 10 m the sealing density in the range from 0% to 100%.",
"providers": [
{
"organization": "Environment",
"name": "Environment",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/imperviousness_20m/imperviousness_20m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 20 m the sealing density in the range from 0% to 100%.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"providers": [
{
"organization_name": "FAIRiCUBE",
"organization": "FAIRiCUBE",
"name": "FAIRiCUBE",
"organization_email": "[email protected]",
"roles": [
"processor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"providers": [
{
"organization_name": "space4environment",
"organization": "space4environment",
"name": "space4environment",
"comments": "",
"doc_link": "",
"organization_email": "[email protected]",
Expand All @@ -29,7 +29,7 @@
},
{
"organization_name": "Administration du cadastre et de la topographie",
"organization": "Administration du cadastre et de la topographie",
"name": "Administration du cadastre et de la topographie",
"doc_link": "https://data.public.lu/fr/datasets/lidar-2019-modele-numerique-de-terrain-mnt/",
"roles": [
"producer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level information on information on linear structures such as hedgerows, as well as patches of woody features at 5m resolution.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level information on information on linear structures such as hedgerows, as well as patches of woody features at 5m resolution.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"providers": [
{
"organization_name": "FAIRiCUBE",
"organization": "space4environment",
"name": "space4environment",
"organization_email": "[email protected]",
"roles": [
"processor"
Expand All @@ -20,7 +20,7 @@
},
{
"organization_name": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"organization": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"name": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"doc_link": "https://esdac.jrc.ec.europa.eu/content/chemical-properties-european-scale-based-lucas-topsoil-data#tabs-0-description=0",
"roles": [
"producer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"providers": [
{
"organization_name": "FAIRiCUBE",
"organization": "space4environment",
"name": "space4environment",
"organization_email": "[email protected]",
"roles": [
"processor"
Expand All @@ -20,7 +20,7 @@
},
{
"organization_name": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"organization": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"name": "JOINT RESEARCH CENTRE European Soil Data Centre (ESDAC)",
"doc_link": "https://esdac.jrc.ec.europa.eu/content/chemical-properties-european-scale-based-lucas-topsoil-data#tabs-0-description=0",
"roles": [
"producer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 10 m the level of tree cover density in a range from 0% to 100%.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 20 m the level of tree cover density in a range from 0% to 100%.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/water_and_wetness_10m/water_and_wetness_10m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 10 m the occurrence of water and wet surfaces over the period from 2009 to 2015.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down
2 changes: 1 addition & 1 deletion stac_dist/water_and_wetness_20m/water_and_wetness_20m.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "Provides at pan-European level in the spatial resolution of 20 m the occurrence of water and wet surfaces over the period from 2009 to 2015.",
"providers": [
{
"organization": "European Environment Agency",
"name": "European Environment Agency",
"doc_link": "https://land.copernicus.eu/",
"organization_email": "[email protected]",
"roles": [
Expand Down

0 comments on commit d59323f

Please sign in to comment.