[GRASS-user] Find rasters by using a wildcard

Pedro Roma pedroroma1982 at gmail.com
Thu Feb 17 04:30:23 EST 2011


Currently, I'm using this expression to find a raster file (in a Python
grass.find_file(raster_map, element = 'cell', mapset=mapset)

My problem is that now I need to find files that are not called raster_maps
but that incldues a specific string E.g. raster. So I would like to list all
files with that string on its name in a defined MAPSET
How can I do that in a GRASS python script?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110217/3e2850d1/attachment.html

More information about the grass-user mailing list