[GRASS-user] wildcards and/or regular expressions: bash vs. grass' cli

2009-08-07 Thread Nikos Alexandris
Hi list. I don't understand the following: while the command --- # outside of grass' shell ls -l MOD09GA__!(203)_*_sur_refl_b01 --- works fine under (normal) bash (version 3.2.48(1)) [1], the same search pattern fails to give results when used with g.mlist and returns an error. E.g., --- #

[GRASS-user] can I access mapset outside of grass, by using python?

2009-08-07 Thread Milton Cezar Ribeiro
Dear friends, I can run some simple scripts on python if I start Msys - grass64 - python myscrypt.py But now I would like to know if I can build a python code outside of a msys/grass session, and get access on a mapset withour stay running grass. thanks a lot, milton

Re: [GRASS-user] can I access mapset outside of grass, by using python?

2009-08-07 Thread Glynn Clements
Milton Cezar Ribeiro wrote: I can run some simple scripts on python if I start Msys - grass64 - python myscrypt.py But now I would like to know if I can build a python code outside of a msys/grass session, and get access on a mapset withour stay running grass. The GRASS libraries require

[GRASS-user] convert a raster map on a matrix on python.

2009-08-07 Thread Milton Cezar Ribeiro
Dear all, how can I read all lines of a raster map and assing it on a matrix (list of lists) on python. I am able to get all informations about a raster map, using for example grass.raster_info('MYMAP') but I need to load the grass raster map as a grid on python. Any help are welcome. Cheers

[GRASS-user] Help using color tables (differences)

2009-08-07 Thread Thomas Adams
List: I have been using r.colors -n map=mapname color=differences to display soil moisture differences from one day to another (to identify areas that have received precipitation and areas that are drying); I would like to depict wetting areas as shades of blue to white and drying areas as

Re: [GRASS-user] Help using color tables (differences)

2009-08-07 Thread Thomas . Adams
Hamish, Thank you! I think your suggestion will work for me; I'll let you know… Cheers! Tom - Original Message - From: Hamish hamis...@yahoo.com Date: Friday, August 7, 2009 6:39 pm Subject: Re: [GRASS-user] Help using color tables (differences) Hi Thomas, I have been using r.colors