Skip to content
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

change the need to specify 'provider' for specifying archive_center with python-cmr #523

Open
briannapagan opened this issue Apr 16, 2024 · 0 comments

Comments

@briannapagan
Copy link
Contributor

briannapagan commented Apr 16, 2024

In reviewing recent PR's like: #518 where under tests/unit/test_collection_queries.py we are hardcoding these queries:

query = DataCollections().cloud_hosted(True).daac("OBDAAC")
assert query.params["provider"] == "OB_DAAC"
query = DataCollections().daac("ASDC").cloud_hosted(True)
assert query.params["provider"] == "LARC_CLOUD"
query = DataCollections().cloud_hosted(True).daac("ASDC")
assert query.params["provider"] == "LARC_CLOUD"

Can we not just integrate from python_cmr the ability to search by archive_center, instead of manually adding each DAAC?

@briannapagan briannapagan changed the title change the need to specify 'provider' for specifying archive_center change the need to specify 'provider' for specifying archive_center with python-cmr Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant