[GRASS-dev] Adding a suffix for output raster map names
Helmut Kudrnovsky
hellik at web.de
Fri Nov 14 07:59:31 PST 2014
NikosAlexandris wrote
> Is there a pygrass function to isolate the a raster map's basename from
> the Mapset part? Looking for it...
>
> Nikos
> _______________________________________________
> grass-dev mailing list
> grass-dev at .osgeo
> http://lists.osgeo.org/mailman/listinfo/grass-dev
this should work:
def main():
vectorforcalculations = options['vector'].split('@')[0]
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Adding-a-suffix-for-output-raster-map-names-tp5173056p5173067.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
More information about the grass-dev
mailing list