[GRASS-dev] grass.script.array.read: reading multiple rasters

2014-07-31 Thread Paulo van Breugel
To read in a raster with GRASS Python Scripting Library, I can use ref = garray.array() ref.read('mymap') But is it also possible to read in multiple raster layers at once? Something like: ref = garray.array() ref.read(('map1','map2')) If not, what would be the best way to get an array with

Re: [GRASS-dev] grass.script.array.read: reading multiple rasters

2014-07-31 Thread Glynn Clements
Paulo van Breugel wrote: > To read in a raster with GRASS Python Scripting Library, I can use > > ref = garray.array() > ref.read('mymap') > > But is it also possible to read in multiple raster layers at once? > Something like: > > ref = garray.array() > ref.read(('map1','map2')) At present,