[GRASS-dev] PyGRASS: changing description and comments
Markus Neteler
neteler at osgeo.org
Tue Nov 13 01:47:51 PST 2018
On Tue, Nov 13, 2018 at 9:03 AM Luca Delucchi <lucadeluge at gmail.com> wrote:
> Il giorno sab 10 nov 2018, 17:46 Luís Moreira de Sousa <luis.de.sousa at protonmail.ch> ha scritto:
>>
>> Hi all,
>
>
> Hi Luis,
>>
>>
>> is there a way of modifying the contents of the description and comments fields associated with rasters? I could also use r.support, but it would be more elegant to use the API.
>
>
> It seems that description and comments are not possible to be modified by the API, other values instead are [0]
>
> [0] https://grass.osgeo.org/grass70/manuals/libpython/pygrass.raster.html#module-pygrass.raster.history
... grass70 is a bit dated, better:
https://grass.osgeo.org/grass74/manuals/libpython/pygrass.raster.html#module-pygrass.raster.history
even better
https://grass.osgeo.org/grass76/manuals/libpython/pygrass.raster.html#module-pygrass.raster.history
It will not change much but old API descriptions may lead to confusion.
Markus
More information about the grass-dev
mailing list