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

Format dates #101

Merged
merged 2 commits into from
Apr 8, 2024
Merged

Format dates #101

merged 2 commits into from
Apr 8, 2024

Conversation

ocefpaf
Copy link
Member

@ocefpaf ocefpaf commented Apr 8, 2024

If the date is ambiguous pandas defaults to individual parsing using dateutil, which is slower. B/c the dates in ERDDAP should always be in the same format it is safe to prescribe it and error out if the parsing fails.

@MathewBiddle this should avoid the parsing warnings you are seeing when using gliderpy.

@ocefpaf ocefpaf merged commit b31fbe1 into ioos:main Apr 8, 2024
12 checks passed
@ocefpaf ocefpaf deleted the format_dates branch April 8, 2024 19:23
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

Successfully merging this pull request may close these issues.

1 participant