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

Parse dates and paths on input #107

Closed
wants to merge 1 commit into from
Closed

Parse dates and paths on input #107

wants to merge 1 commit into from

Conversation

Peter9192
Copy link
Collaborator

WIP. So far this adds a pathparser utility.

The idea is that we use utils.get_time and utils.parse_path etc. on all inputs.

Once we step away from dataclasses in the forcing module (in #97), we'll be able to apply those functions there. We can do the same on parameter sets and model instantiation, etc.

It requires changes to the model classes, as they currently assume the internal representation of paths and dates in the forcing objects to be strings.

@sonarcloud
Copy link

sonarcloud bot commented Jun 15, 2021

@Peter9192
Copy link
Collaborator Author

Now that #143 is merged, this can be closed.

@Peter9192 Peter9192 closed this Jul 16, 2021
@BSchilperoort BSchilperoort deleted the add-pathparser branch August 29, 2024 09:08
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