Hi

BHARATH RAM <b...@iitbbs.ac.in> schrieb am Sa., 12. Dez. 2020, 12:07:

> Hello,
>
>      I have a list of raster files inside a mapset that I need to
> interpolate to a different size. I am aware of the command *g.list
> type='raster' mapset='.'*
> and its equivalent python version. But the command prints the filenames
> out on screen instead of returning it as a list (I am talking wrt python
> API).
>


Would this work for you?

https://grasswiki.osgeo.org/wiki/GRASS_Python_Scripting_Library#Interface_to_listing_maps_.28g.list.29

Best
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to