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

Improve error message when time bounds are out of order #145

Open
celiaou-podaac opened this issue Aug 9, 2023 · 0 comments
Open

Improve error message when time bounds are out of order #145

celiaou-podaac opened this issue Aug 9, 2023 · 0 comments

Comments

@celiaou-podaac
Copy link

Currently, if the provided -sd is a later time than -ed, the user will see a message ending with:
urllib.error.HTTPError: HTTP Error 400: Bad Request

Suggestion to improve the error message for this case to use something like:
Start date and end date are out of order. End date needs to be a later time than start date.

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

No branches or pull requests

1 participant