Clone map
Last updated
Last updated
You will need to define a âcloneâ map, which is a map in PCRaster format, with the model extent and resolution. This map is used as the âtemplateâ for your model. You can create a clone map using PCRasterâs command in the Windows Command line window. Make sure you are in the modelâs input directory. This can be done using commands as for example:
c: enter go to your c-drive
cd c:\SPHY\input enter go to the SPHY\input directory on your c-drive
d: enter go to your d-drive
cd d:\SPHY\input enter go to the SPHY\input directory on your d-drive
etc.
If you are in the modelâs input directory, then type following in the Command line:
mapattr clone.map
You will enter a menu, where you can set the clone mapâs properties:
Figure 22: Command line menu for clone creation
Change the settings of the number of rows, number of columns, check if the y values in your model projection increase from bottom to top or from top to bottom, define the x and y values of the upperleft corner of your modelâs extent, and define the cell length (spatial resolution).
When all is set, press âqâ to quit and then press âyâ to confirm the map creation. Then drag the newly created map into QGIS to check if the map has the correct extent. Remember to set the CRS of the âclone.mapâ after dragging the map into QGIS.