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

Issue #1248 Write svat_groundwater to file and update the tests #1249

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

Conversation

HendrikKok
Copy link
Contributor

@HendrikKok HendrikKok commented Oct 21, 2024

Fixes #1248

Description

This PR fixes Issue #1248 by removing the svat_groundwater from the _to_fill variable. For now the source svat == target svat.

In addition the max_abstraction_groundwater should now contains the subunit coordinate. The current implementation assigned the abstraction to all stacked subunits. This is not desirable in case the second svat represents the urban area for example. Now its up to the user to define irrigation at the subunit level.

Checklist

  • Links to correct issue
  • Update changelog, if changes affect users
  • PR title starts with Issue #nr, e.g. Issue #737
  • Unit tests were added
  • If feature added: Added/extended example

Copy link

sonarcloud bot commented Nov 14, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
19.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@HendrikKok HendrikKok marked this pull request as ready for review November 18, 2024 12:59
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.

Sprinkling class of MetaSWAP model does not writes source svats for sprinkling to file
1 participant