Allow has_granules in search_datasets kwargs #938
Closed
juliacollins
started this conversation in
Ideas
Replies: 1 comment
-
Closed in favor of #939. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is somewhere between a bug and a feature request. I would like to use
earthaccess.search_datasets()
to retrieve collection metadata for collections that specifically do not have associated granules. The use case is the development of a workflow that generates the UMM-G metadata for the granules that will be archived, but are not yet available. Currently theDataCollections
class setshas_granules
toTrue
for all cases, so no results are returned when I try to retrieve collection metadata for the dataset in question. The suggested change is to includehas_granules
in thekwargs
accepted bysearch_datasets
andDataCollections
. I'll work on a pull request but wanted to get this idea in the hopper in case anyone sees a problem with it.Beta Was this translation helpful? Give feedback.
All reactions