File tree Expand file tree Collapse file tree
src/point_collocation/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ def _search_earthaccess(
733733 If ``earthaccess`` is not installed.
734734 ValueError
735735 If ``source_kwargs`` does not contain at least one of ``"short_name"``,
736- ``"collection_id "``, or ``"doi"``.
736+ ``"concept_id "``, or ``"doi"``.
737737 """
738738 try :
739739 import earthaccess # type: ignore[import-untyped]
@@ -744,11 +744,11 @@ def _search_earthaccess(
744744 ) from exc
745745
746746 base_kwargs : dict [str , Any ] = dict (source_kwargs or {})
747- _COLLECTION_ID_KEYS = {"short_name" , "collection_id " , "doi" }
748- if not _COLLECTION_ID_KEYS .intersection (base_kwargs ):
747+ _CONCEPT_ID_KEYS = {"short_name" , "concept_id " , "doi" }
748+ if not _CONCEPT_ID_KEYS .intersection (base_kwargs ):
749749 raise ValueError (
750750 "'source_kwargs' must contain at least one of 'short_name', "
751- "'collection_id ', or 'doi' when data_source='earthaccess'."
751+ "'concept_id ', or 'doi' when data_source='earthaccess'."
752752 )
753753
754754 # Extract granule_name for post-search filtering (faster than passing to search_data).
You can’t perform that action at this time.
0 commit comments