GRASS logo

NAME

g.name.sequence

DESCRIPTION

g.name.sequence prints a sequential series of map names to stdout. It is intended for use with modules like r.series, encoding animations, and general scripting purposes.

NOTES

The sequence must remain postive and only supports integer values. The module will exit with an error if the padding value is not wide enough. A padding width of "0" can be used to indicate no zero-padding should be used. The skip value can be a negative to decrement instead of increment the series, in this case the min value should be larger than the max value.

EXAMPLE

Prints day.001,day.002,...,day.365:
g.name.sequence min=1 max=365 base="day." pad=3

Prints frame.2000 frame.1980 ... frame.0000:

g.name.sequence min=2000 max=0 skip=-20 base="frame." pad=4 sep=space

Prints map_9,map_10,...,map_105:

g.name.sequence min=9 max=105 base="map_" pad=0

SEE ALSO

g.mlist

AUTHOR

Hamish Bowman, Dunedin, New Zealand

Last changed: $Date$


Main index - general index - Full index

© 2003-2016 GRASS Development Team