GRASS ASCII grid can be used as DEM (Digital Elevation Map) with a file extension .arx. It is a simple file format to represent gridded (or raster) data, for example, digital elevation data. The following is a description of the GRASS ASCII format:
north: n /* Northern boundary grid coordinate */ south: s /* Southern boundary grid coordinate */ east: e /* Eastern boundary grid coordinate */ west: w /* Western boundary grid coordinate */ rows: nrows /* Number of rows in the grid */ cols: ncols /* Number of columns in the grid */ z11 z12 z13 ... z1ncols /* values of row 1 */ z21 z22 z23 ... z2ncols /* values of row 2 */ . . . znrows1 znrows2 znrows3 ... znrowsncols /* values of last row*/
The following is an actual GRASS ASCII Grid example (coordinates are in UTM):
north: 3451250 south: 3438850 east: 298960 west: 290860 rows: 10 cols: 5 0 1 1 0 1 1 1 0 0 1 . . 0 0 1 1 0
Just a simple stupid note.
It is worth to point out that the cell size force us to use grid coverages which have square cells. This can be a big limitation!