-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support searching for available zarr stores #59
Comments
For the second option, maybe adding DOI to the searchable fields to find all the zarr stores from a particular data collection. |
@briannapagan, I'm not sure this totally makes sense as logic that belongs in We must simply filter the results that the CMR returns to us, as you have written in your example. If we were to add such logic to For example, I would suggest simplifying your code to something like so (which would remain in your code, not be put into zarr_stores = [var for var in VariableQuery().get_all() if "instance_information" in var]
# OR
zarr_stores = [var for var in VariableQuery().provider(provider).get_all() if "instance_information" in var] |
Hi @chuckwondo thanks for the feedback. There are CMR endpoints that we can build into We haven't added much to the
I want the same now for |
What I'm saying is that the CMR does not support querying by {
"errors": [
"Parameter [instance_information] was not recognized."
]
} This means that the only way to perform filtering is after you get your query results back from the CMR. You cannot tell the CMR not to return variables that do or don't have associated |
However, if you mean |
Sorry @chuckwondo I meant |
@liredell this would require for DOI to be searchable by variables, that is a feature that would be requested from CMR. |
At GES DISC we are getting ready to expose our production public zarr stores. Lots of open questions remain on how to make these zarr stores easily searchable, especially because we publish zarr stores at the variable, not the collection level.
In umm_json we are specifying
zarr
as theinstance_information
, example here:https://cmr.earthdata.nasa.gov/search/variables.umm_json?instance-format=zarr&provider=GES_DISC
I think
python_cmr
so far hasn't brought over many of the functionalities in the CMR API forVariableQuery
and I would like to add a piece of code to help make searching for variable zarr stores more intuitive to the user:Any thoughts/feedback before I suggest a PR to add
instance_information
as an additional query parameter inVariableQuery
?The text was updated successfully, but these errors were encountered: