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

Validate timestepper start/end valid and ordered #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pmslavin
Copy link
Collaborator

Fixes #41

Validates timestepper start and end values as being suitable arguments for Pandas.to_datetime and as start being strictly earlier than end

Will produce error such as...

ValueError: Timestepper {'start': '10-01-2003', 'end': '09-01-1997', 'timestep': 'M'} start value not earlier than end value

...for incorrectly ordered start and end times.

@pmslavin pmslavin linked an issue Nov 12, 2024 that may be closed by this pull request
@pmslavin pmslavin requested a review from knoxsp November 14, 2024 13:11
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.

Check start time is before end time
1 participant