Skip to content

Releases: mundialis/grass-gis-helpers

0.3.0

19 Dec 07:07
145d1e2
Compare
Choose a tag to compare

Add functions to create a new temporary location

0.2.0

13 Sep 14:05
99b0c1d
Compare
Choose a tag to compare

Added helper function:

  • general:
    • check_grass_version: Returns boolean, if current GRASS version is >= some compare version

Extended helper function:

  • cleanup:
    • general_cleanup: added option rm_mask to remove MASK if one is set

0.1.3

12 Sep 09:56
4eea893
Compare
Choose a tag to compare

Fix for function log_memory within general.py (#11)

0.1.2

06 Sep 09:50
1480fa8
Compare
Choose a tag to compare
  • lint and add linting to pull request pipeline (#10 )

0.1.1

06 Sep 09:28
647969c
Compare
Choose a tag to compare
  • fixed import bug in cleanup.py (#9 )
  • fixed string bug in location.py (#9 )
  • updated README.md (#9 )

0.1.0

02 Sep 16:19
9056d33
Compare
Choose a tag to compare

Added helper function:

  • general
    • communicate_grass_command: Return stdout and stderr from executed GRASS command
    • log_memory: Log memory usage
    • free_ram: The function gives the amount of the percentages of the available RAM memory and free swap space
  • cleanup:
    • general_cleanup: General cleanup function
  • location
    • get_location_size: Log size of current location
  • validation
    • check_valid_rasterdata(input, strict=True): Check if input is broken and returns grass.fatal() in this case