Skip to content

Commit

Permalink
Removed invalid check on STAC
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinBabe committed Sep 10, 2024
1 parent cdb102c commit 278613d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/openeo_gfmap/fetching/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ def _get_generic_fetcher(
elif collection_name == "AGERA5":
band_mapping = BASE_WEATHER_MAPPING
elif is_stac and (AGERA5_TERRASCOPE_STAC in collection_name):
if backend not in [Backend.TERRASCOPE, Backend.FED]:
raise ValueError(
f"Collection {collection_name} is only supported on Terrascope/FED backend."
)
band_mapping = AGERA5_STAC_MAPPING

def generic_default_fetcher(
Expand Down

0 comments on commit 278613d

Please sign in to comment.