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

Simplify get_restart_data for GW values #542

Open
ccarouge opened this issue Feb 10, 2025 · 0 comments
Open

Simplify get_restart_data for GW values #542

ccarouge opened this issue Feb 10, 2025 · 0 comments
Labels
GWH Ground water hydrology integration work

Comments

@ccarouge
Copy link
Member

The GW values were correctly added to the restart file, however, the code to read the values from the restart also set default values if the variable is not found. We do not want this behaviour. The GW variables should be treated like the other ones:

  • set default variables in get_default_inits() (I haven't check if it's the correct place, only going from function name and vague memory).
  • replace the default by what is read from the restart file if found. Nothing happens if the variable is not in the restart file.
@ccarouge ccarouge added the GWH Ground water hydrology integration work label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GWH Ground water hydrology integration work
Projects
None yet
Development

No branches or pull requests

1 participant