[GRASS-git] [OSGeo/grass] 679b2d: Add time function constants to temporal algebra (#...

Stefan Blumentrath noreply at github.com
Fri Mar 10 12:47:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 679b2d0dff525bd65324c924f720941f9d6bf9bd
      https://github.com/OSGeo/grass/commit/679b2d0dff525bd65324c924f720941f9d6bf9bd
  Author: Stefan Blumentrath <stefan.blumentrath at gmx.de>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/testsuite/unittests_temporal_algebra.py
    M temporal/t.rast.algebra/t.rast.algebra.html
    M temporal/t.rast.algebra/testsuite/test_raster_algebra.py

  Log Message:
  -----------
  Add time function constants to temporal algebra (#905)

* add temporal functions to temporal algebra that return numerical constants / values (like "Day of the Year") that can be used in map calculator expressions

* add test for time function constants

* Add documentation for the new function

---------

Co-authored-by: Markus Neteler <neteler at gmail.com>
Co-authored-by: Veronica Andreo <veroandreo at gmail.com>




More information about the grass-commit mailing list