GRASS Programmer's Manual
6.4.2(2012)
|
Functions | |
def | raster_history |
Set the command history for a raster map to the command used to invoke the script (interface to `r.support'). | |
def | raster_info |
Return information about a raster map (interface to `r.info'). | |
def | mapcalc |
Interface to r.mapcalc. |
def python.raster.mapcalc | ( | exp, | |
quiet = False , |
|||
verbose = False , |
|||
overwrite = False , |
|||
kwargs | |||
) |
Interface to r.mapcalc.
exp | expression |
kwargs |
Definition at line 92 of file raster.py.
References python::core.fatal(), and python::core.write_command().
def python.raster.raster_history | ( | map | ) |
Set the command history for a raster map to the command used to invoke the script (interface to `r.support').
map | map name |
Definition at line 36 of file raster.py.
References python::core.gisenv(), python::core.run_command(), and python::core.warning().
def python.raster.raster_info | ( | map | ) |
Return information about a raster map (interface to `r.info').
Example:
>>> grass.raster_info('elevation') {'north': 228500.0, 'timestamp': '"none"', 'min': 55.578792572021499, 'datatype': 'FCELL', 'max': 156.32986450195301, 'ewres': 10.0, 'vertical_datum': '', 'west': 630000.0, 'units': '', 'title': 'South-West Wake county: Elevation NED 10m (elev_ned10m)', 'east': 645000.0, 'nsres': 10.0, 'south': 215000.0}
map | map name |
Definition at line 56 of file raster.py.
References python::core.float_or_dms(), python::core.parse_key_val(), and python::core.read_command().