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

N inputs but N and (N-1) outputs #26

Open
ElisaBortoli opened this issue Aug 31, 2017 · 2 comments
Open

N inputs but N and (N-1) outputs #26

ElisaBortoli opened this issue Aug 31, 2017 · 2 comments

Comments

@ElisaBortoli
Copy link
Collaborator

Hi guys,
do you know why if I insert N rainfall inputs in "geotop.inpts" I get some outputs which have N length and others (N-1) length?
Running the Matlab script "load_GEOtop" I obtained, for the variables

  • psiz, psiz_date, psi_t, satz, thetaicez, thetaicez_date, thetaicez_t, thetaz_t, Tz, Tz_date, Tz_t: N length
  • basin, point and others: (N-1) length.

Opening the variable "basin_date" I see that it starts 1 hour after my first input.
Have someone else noticed it?
Thank you!

@ssenoner ssenoner changed the title N inputs but (N-1) outputs N inputs but N and (N-1) outputs Jan 11, 2019
@ssenoner
Copy link
Collaborator

If you have a simulation with initdate T,
you will get the first values at time T for following files for example:
soilliqwaterpressure, soiltemp, soilicecontent, soilliqcontent
you will get the first values at time T+dt for following files:
basin, discharge, point

@ssenoner
Copy link
Collaborator

OK, so the Point is for soil variables we have the values for initdate, so INITIAL CONDITION:

// WRITE INITIAL CONDITION

so only
so in Input.cc we have a section which writes initial conditions and that's also the Point where the headers of the output files are written, this is true for all geotop versions.
A bit strange, right?

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

No branches or pull requests

2 participants