notebook.community
Edit and run
In [ ]: import grass.script as grass
import grass.script as grass
In [ ]: layer='figure.tif.blue@PERMANENT' # name of raster layer info=grass.read_command('r.info', map=layer) print info
layer='figure.tif.blue@PERMANENT' # name of raster layer info=grass.read_command('r.info', map=layer) print info