Download A Tutorial for Preparing GEOtop Input Files with JGrass

Transcript
2. Preliminary Operations
Figure 2.11: The g.region icon
The g.region command can be executed from the console command line:
g.region [–quiet] [–verbose] [–version] [–usage] –west <west> –east <east> –north <north> –south
<south> –map <map> –resolution <resolution> [–default] [–usetoolbar] [–usegui]
2.4.1
Example
To set up the working region, click the icon, as explained in paragraph 2.11. The name of the
map of interest can be input directly into the specific text box, which is found in correspondence of
the string ”map selection”, or else by clicking the Browse button and then selecting from the list
of available maps. Once a map has been selected click the ”set region from map” button in order
to set up the region. The information relative to the region will then appear, as shown in figure
2.12.
It is important that a lot of attention be given to this operation as all the calculations that will be
carried out afterwards depend on a correct setup of the working region. It is necessary to verify
that the numbers which indicate the resolution (found in the text boxes beside the strings nsres,
pixel dimension in a north-south direction, and ewres, pixel dimension in an east-west direction)
be integers. If necessary, modify the coordinates of the region boundary so as to obtain whole
number values for the resolution (the coordinates can be modified so that the difference between
the North-South and the East-West coordinates be multiples of the pixel resolution).
9