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

Add option to log exchanged river and drainage levels for Riba(Meta)Mod #320

Open
Huite opened this issue Aug 15, 2024 · 0 comments
Open

Comments

@Huite
Copy link
Contributor

Huite commented Aug 15, 2024

Currently, it's quite a hap-hazardous task to figure out which levels have been communicated by Ribasim (via the subgrid levels) to MODFLOW.

  1. Get the subgrid input from Ribasim (for meta_x, meta_y)
  2. Get the subgrid output from Ribasim
  3. Get the grid definition from MODFLOW
  4. Re-do the work of primod in connecting subgrid ids to modflow boundaries: find the grid index
  5. Index the subgrid levels via the grid index
  6. Get the initial MODFLOW bottoms to remove below bottom levels; compute (max(bottom, subgrid_level)) for each subgrid id.
  7. Hope/Pray you didn't get anything wrong and it's the same as the coupler internals.

Since the exchange flow logging is setup, it would hopefully be not too onerous to add some water level logging as well.

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

1 participant