|
On 26/05/2019 7:02, Veronica Andreo
wrote:
Hello Frank:
I used Vero's suggestion in a script I was working on some months ago: I had a list of rasters, each represented a "station_id". I used g.list to create the list of raster names, and fed that into r.series input=<list> method=max_raster. Then I used r.reclass to get back the station_id from the list index. I had a text file with matches between the index of the raster in the list, and it's actual "station_id". So r.reclass returned a raster with each pixel value being the station_id of the maximum raster in the list. HTH
-- Micha Silver Ben Gurion Univ. Sde Boker, Remote Sensing Lab cell: +972-523-665918 |
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
