[GRASS-dev] [GRASS-SVN] r66774 - grass-addons/grass7/imagery/i.segment.stats

Vaclav Petras wenzeslaus at gmail.com
Mon Nov 9 07:11:51 PST 2015


On Mon, Nov 9, 2015 at 9:45 AM, Vaclav Petras <wenzeslaus at gmail.com> wrote:

> I'm pretty sure that find_file wants cell for rasters (regardless of type).


This is true about g.findfile. find_file gives warning for convenience of
the developer at expense of confused user. I actually implemented similar
function (now focused just on gunittest) which explicitly supports the
normal names (i.e. not g.findfile element names but g.list types). Would
this function be helpful for you if it would be in grass.script.utils or
core?

https://grass.osgeo.org/grass71/manuals/libpython/_modules/gunittest/gutils.html#is_map_in_mapset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151109/087f622a/attachment.html>


More information about the grass-dev mailing list