Skip to content

Commit

Permalink
fix: changed some entries from comma separated string to array of str…
Browse files Browse the repository at this point in the history
…ing; updated citation to be correct (#53)
  • Loading branch information
santilland authored Sep 28, 2023
1 parent 786b344 commit 7cb7d08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions collections/NPPN_net_primary_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Provider:
Roles:
- host
Citation:
- Citation: Data from Ocean Productivity site (http://science.oregonstate.edu/ocean.productivity/index.php)
- Publication:
- Citation: "Behrenfeld, MJ, PG Falkowski - Limnology and Oceanography (1997a, Volume 42: 1-20); Photosynthetic rates derived from satellite-based chlorophyll concentration;"
DOI: 10.4319/lo.1997.42.1.0001
Citation: Data from Ocean Productivity site (http://science.oregonstate.edu/ocean.productivity/index.php)
Publication:
- Citation: "Behrenfeld, MJ, PG Falkowski - Limnology and Oceanography (1997a, Volume 42: 1-20); Photosynthetic rates derived from satellite-based chlorophyll concentration;"
DOI: 10.4319/lo.1997.42.1.0001
Services:
- Endpoint: https://services.sentinel-hub.com/api/v1/statistics
Name: VEDA Statistics
Expand Down
10 changes: 5 additions & 5 deletions generators/generate_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,15 +638,15 @@ def add_collection_information(config, collection, data):

# Add extra fields to collection if available
if "Themes" in data:
collection.extra_fields["themes"] = ",".join(data["Themes"])
collection.extra_fields["themes"] = data["Themes"]
if "Tags" in data:
collection.extra_fields["keywords"] = ",".join(data["Tags"])
collection.extra_fields["keywords"] = data["Tags"]
if "Satellite" in data:
collection.extra_fields["satellite"] = ",".join(data["Satellite"])
collection.extra_fields["satellite"] = data["Satellite"]
if "Sensor" in data:
collection.extra_fields["sensor"] = ",".join(data["Sensor"])
collection.extra_fields["sensor"] = data["Sensor"]
if "Agency" in data:
collection.extra_fields["agency"] = ",".join(data["Agency"])
collection.extra_fields["agency"] = data["Agency"]


def process_catalogs(folder_path, options):
Expand Down

0 comments on commit 7cb7d08

Please sign in to comment.