[GRASS-git] [OSGeo/grass-addons] cc8c55: r.vif: Add r.random seed handling (#712)

Paulo van Breugel noreply at github.com
Sun Mar 20 04:27:07 PDT 2022


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: cc8c5509dd780699a19f3c77b802332e03e2a7ef
      https://github.com/OSGeo/grass-addons/commit/cc8c5509dd780699a19f3c77b802332e03e2a7ef
  Author: Paulo van Breugel <paulo at ecodiv.earth>
  Date:   2022-03-20 (Sun, 20 Mar 2022)

  Changed paths:
    M src/raster/r.vif/r.vif.html
    M src/raster/r.vif/r.vif.py

  Log Message:
  -----------
  r.vif: Add r.random seed handling (#712)

* Update r.vif.py

Added -s flag and seed option. This follows the practice for all modules that generate or use random data. For this addon that is when the user opts to use randomly sampled raster values to compute the vif. Note that this breaks the previous use of the -s flag, which was used to set the option to only print selected variables to screen. Now the -v flag is used to set that option.




More information about the grass-commit mailing list