Skip to content

Commit

Permalink
comment out garissa
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Jul 4, 2024
1 parent 415eb31 commit 1ad6e21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion catalogs/trilateral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ collections:
# - HLS_NDVI
# - LIS_Global_DA_Evap
# - 4D_Greenland
- GFC_Garissa_FloodExtent
# - GFC_Garissa_FloodExtent # Garissa does not work now
- SEE_solar_energy
- crop_forecast_CropOM
5 changes: 1 addition & 4 deletions generators/generate_indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,7 @@ def process_collection_file(config, file_path, catalog):
handle_WMS_endpoint(config, resource, data, catalog, wmts=True)
elif resource["Name"] == "Collection-only":
handle_collection_only(config, resource, data, catalog)
else:
raise ValueError("Type of Resource is not supported")
else:
if resource["Name"] == "GeoJSON source" or resource["Name"] == "COG source":
elif resource.get("Name") == "GeoJSON source" or resource.get("Name") == "COG source":
handle_raw_source(config, resource, data, catalog)
else:
raise ValueError("Type of Resource is not supported")
Expand Down

0 comments on commit 1ad6e21

Please sign in to comment.