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

LGARTO #36

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

LGARTO #36

wants to merge 24 commits into from

Conversation

peterlafollette
Copy link
Contributor

[Short description explaining the high-level reason for the pull request]

Additions

In this PR, a multilayer version of the Talbot-Ogden (TO) model for fluxes between the vadose zone and groundwater has been developed and added to the model. Because the prior vadose zone model was LGAR, the new model is called LGARTO. The key benefit of LGARTO is that it explicitly simulates the presence of a shallow water table (currently assumed to be at the bottom of the model domain) and simulates both its effects on soil moisture and recharge. This allows vadose zone simulations in areas that are humid (as opposed to being restricted to arid or semi arid areas, as is the case in LGAR). The model is designed to be backwards compatible with LGAR; while the config file does have a few new lines, unspecified new lines will default to options such that the model is run in LGAR mode.

Removals

Changes

The code has been substantially expanded to incorporate the new TO model, and a new type of wetting front has been added. The LGAR component of the code has had moderate changes; most of the development is in the addition of new code.

Testing

  1. LGARTO has been tested for stability in a broader sense than LGAR, in that all of the older LGAR stability tests have passed (40k parameter sets), in addition to new stability testing for LGARTO (with 80k parameter sets).

Screenshots

Notes

Todos

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Visually tested in supported browsers and devices (see checklist below 👇)
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Target Environment support

  • Windows
  • Linux
  • Browser

Accessibility

  • Keyboard friendly
  • Screen reader friendly

Other

  • Is useable without CSS
  • Is useable without JS
  • Flexible from small to large screens
  • No linting errors or warnings
  • JavaScript tests are passing

peterlafollette and others added 8 commits October 4, 2024 16:00
…es, such that recharge agrees better with HYDRUS results for short, synthetic LGARTO tests. Also re introduced free drainage as a lower BC for LGAR mode, where most of the development for this was done in 2022.
…O to main. Here, I have included a notebook called LGARTO_demo, in tests, that demonstrates that there are not significant changes between LGAR and LGARTO with TO_enabled set to false. I have included the stability tests, which currently yield no unstable model runs over 160k parameter set and forcing dataset combinations, across both options for TO_enabled. I have also included notebooks that compare HYDRUS and LGARTO results for 4 short, synthetic simulations, and 4 year long simulations using real forcing and soils data from USDA SCAN sites. Finally, I have added notebooks that animate LGARTO simulations, which helps a lot with visualization and communication. Also minor edits to documentation of lgar.cxx, and moderate edits to the readme in the tests directory.
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.

1 participant