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

Helpful error message if a collection doesn't exist #57

Open
mike-gangl opened this issue Mar 14, 2022 · 1 comment
Open

Helpful error message if a collection doesn't exist #57

mike-gangl opened this issue Mar 14, 2022 · 1 comment

Comments

@mike-gangl
Copy link
Contributor

Not much guidance from CMR if a collection doesn't exist. We should add a check if 0 files are found to ensure that a collection exists. This could save time for a user using this for a non-PO.DAAC provider

@shiang-luong
Copy link

I think this is fixed?

raise ValueError(f'No collections found in CMR for {collection_short_name}/{provider}') ValueError: No collections found in CMR for ddd/POCLOUD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Open Issues
Development

No branches or pull requests

2 participants