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

Cyclic times #298

Merged
merged 8 commits into from
Nov 6, 2023
Merged

Cyclic times #298

merged 8 commits into from
Nov 6, 2023

Conversation

verseve
Copy link
Contributor

@verseve verseve commented Aug 24, 2023

Issue addressed

Fixes #277

Explanation

Support different cyclic time inputs, for example monthly and daily. The time dimension name of the cyclic parameter in the input netCDF file should start with "time" (to allow for different time vectors).

Checklist

  • Updated tests or added new tests
  • Branch is up to date with master
  • Tests & pre-commit hooks pass
  • Updated documentation if needed
  • Updated changelog.md if needed

vers-w added 5 commits August 4, 2023 17:44
sub-daily time steps are not allowed
The external time dimension name should start with `time`, mainly used for different cyclic times.
Replaced monthly inflow climatology with daily (366) for testing different cyclic times.
@verseve verseve requested a review from JoostBuitink August 24, 2023 12:32
@verseve verseve requested review from dalmijn and removed request for JoostBuitink September 11, 2023 06:21
Copy link
Contributor

@dalmijn dalmijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything done here makes sense, but I can't yet really attest to some Julia schematics.
I'd approve, but probably a second opinion would be good.

@verseve
Copy link
Contributor Author

verseve commented Sep 29, 2023

Thanks for the review @dalmijn! I have asked @JoostBuitink for a 2nd review.

Copy link
Contributor

@JoostBuitink JoostBuitink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, very nice addition! I have added some more information to the logging message when cyclic times are used (the number of timesteps per variable).

Furthermore, I also took the opportunity to include a small fix in the logging messages that display which (lake) csvs are being read that had been bothering me for some time ;)

@verseve verseve merged commit 197e747 into master Nov 6, 2023
10 of 11 checks passed
@JoostBuitink JoostBuitink deleted the cyclic_times branch November 6, 2023 12:18
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.

Support different cyclic_times
4 participants