[GRASS-git] [OSGeo/grass] adc722: r.sim: fix infiltration implementation (#5623)

Anna Petrasova noreply at github.com
Mon Aug 24 11:41:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: adc72202d77f19806699e870c09e025904221fde
      https://github.com/OSGeo/grass/commit/adc72202d77f19806699e870c09e025904221fde
  Author: Anna Petrasova <kratochanna at gmail.com>
  Date:   2026-08-24 (Mon, 24 Aug 2026)

  Changed paths:
    A raster/r.sim/r.sim.water/r.sim.water.ipynb
    M raster/r.sim/r.sim.water/testsuite/data/depth_complex.pack
    A raster/r.sim/r.sim.water/testsuite/data/depth_infil.pack
    M raster/r.sim/r.sim.water/testsuite/data/discharge_complex.pack
    M raster/r.sim/r.sim.water/testsuite/test_r_sim_water.py
    M raster/r.sim/simlib/hydro.c
    M raster/r.sim/simlib/input.c

  Log Message:
  -----------
  r.sim: fix infiltration implementation (#5623)

* r.sim: fix infiltration computation

* fix order, add test

* forgotten file

* added testing notebook to run in binder

* fix paths for binder

* don't use log legend, fails with 0

* corrected behavior

* fix tests

* improve notebook

* fix parameter

* remove not needed comments from tests

* remove trapezoid rule multiplication, add comments

* don't remove trapezoidal rule to depth to not change results

* add condition to filter infil > 0

---------

Co-authored-by: Corey White <smortopahri at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list