Skip to content

Support for monthly/yearly data #739

Answered by dbrakenhoff
TLMueller asked this question in Q&A
Discussion options

You must be logged in to vote

I got your email and had a look at your code. The reason you're seeing an error is that the internal computation time step is still daily ("D"). This is the default setting in pastas.

When running solve, you see this warning, which indicates that pastas is trying to up-sample the stresses but it could not, because the settings were not defined (=None):

To summarize, this is what is happening:

  1. Your model is initialized with a default time step of 1 day.
  2. Your time series are all already nicely resampled to month-end values. When you solve, the model looks at the first and last date for which all stresses are available to compute tmin/tmax.
  3. It then creates a simulation index based on tmin,…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@TLMueller
Comment options

Comment options

You must be logged in to vote
4 replies
@TLMueller
Comment options

@dbrakenhoff
Comment options

@TLMueller
Comment options

@dbrakenhoff
Comment options

Answer selected by TLMueller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants