Dear community, I am writing a function in python that takes the results from r.stats, adds headers, and makes some transformations in the value (such as converting areas from m2 to hectares), and then writes that on an output file. The way I am writing the output, however, is completely inneficient. Take a look here:script to edit and save statistics from raster maps in GRASS GIS, using r.stats For small maps there is not an issue, but for large maps this may be a huge problem. Any hints on how to write files in an efficient way in python? Thanks in advance.Best regardsBernardo Niebuhr
Links na mensagem (1) | | | script to edit and save statistics from... |
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user