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 time_offset #237

Merged
merged 4 commits into from
Oct 2, 2020
Merged

Improve time_offset #237

merged 4 commits into from
Oct 2, 2020

Conversation

rubencalje
Copy link
Collaborator

@rubencalje rubencalje commented Oct 2, 2020

See issue #207 and #231

Short Description

This pull request finally solves the problem we have with the time-offset and also problems that arise when changing frequency. There are no new features, just existing ones that should work better. For example, you can now use any supported frequency (e.g. '7D') in example_900, so together with the time_offset of 9 hours. Also when a user now tries to use a model with two stresses that contain different time-offsets (for example daily precipitation at 9:00 and daily evaporation at 1:00, which is common in the netherlands), the user will receive an error explaining the problem, so he can solve it. In the past the model would fail because the simulation did not contain any values (see issue #207).

Checklist before PR can be merged:

@raoulcollenteur raoulcollenteur added this to the 0.16.0 milestone Oct 2, 2020
@raoulcollenteur raoulcollenteur added bug Indicates an unintended behavior or coding error development Indicates development of new features labels Oct 2, 2020
arguments weere unused after the changes.
@raoulcollenteur raoulcollenteur merged commit 9ea2886 into dev Oct 2, 2020
@raoulcollenteur
Copy link
Member

Looks good! Gonna merge and close those two issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unintended behavior or coding error development Indicates development of new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants