GRASS logo

NAME

r.futures.calib - Module for calibrating patch characteristics used as input to r.futures.pga

KEYWORDS

raster, patch

SYNOPSIS

r.futures.calib
r.futures.calib --help
r.futures.calib [-l] development_start=name development_end=name [repeat=integer] [compactness_mean=float[,float,...]] [compactness_range=float[,float,...]] [discount_factor=float[,float,...]] patch_threshold=float patch_sizes=name [calibration_results=name] nprocs=integer [development_pressure=name] [incentive_power=float] [constrain_weight=name] [predictors=name[,name,...]] [n_dev_neighbourhood=integer] [devpot_params=name[,name,...]] [num_neighbors=integer] [seed_search=integer] [development_pressure_approach=string] [gamma=float] [scaling_factor=float] [num_steps=integer] subregions=name [demand=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-l
Only create patch size distribution file
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

development_start=name [required]
Name of input binary raster map representing development in the beginning
Raster map of developed areas (=1), undeveloped (=0) and excluded (no data)
development_end=name [required]
Name of input binary raster map representing development in the end
Raster map of developed areas (=1), undeveloped (=0) and excluded (no data)
repeat=integer
How many times is the simulation repeated
compactness_mean=float[,float,...]
Patch compactness mean to be tested
compactness_range=float[,float,...]
Patch compactness range to be tested
discount_factor=float[,float,...]
Patch size discount factor
patch_threshold=float [required]
Minimum size of a patch in meters squared
Default: 0
patch_sizes=name [required]
Output file with patch sizes
calibration_results=name
Output file with calibration results
nprocs=integer [required]
Number of parallel processes
Default: 1
development_pressure=name
Raster map of development pressure
incentive_power=float
Exponent to transform probability values p to p^x to simulate infill vs. sprawl
Values > 1 encourage infill, < 1 urban sprawl
Options: 0-10
Default: 1
constrain_weight=name
Name of raster map representing development potential constraint weight for scenarios
Values must be between 0 and 1, 1 means no constraint
predictors=name[,name,...]
Names of predictor variable raster maps
n_dev_neighbourhood=integer
Size of square used to recalculate development pressure
devpot_params=name[,name,...]
Development potential parameters for each region
Each line should contain region ID followed by parameters. Values are separated by whitespace (spaces or tabs). First line is ignored, so it can be used for header
num_neighbors=integer
The number of neighbors to be used for patch generation (4 or 8)
Options: 4, 8
seed_search=integer
The way location of a seed is determined (1: uniform distribution 2: development probability)
Options: 1, 2
development_pressure_approach=string
Approaches to derive development pressure
Options: occurrence, gravity, kernel
gamma=float
Influence of distance between neighboring cells
scaling_factor=float
Scaling factor of development pressure
num_steps=integer
Number of steps to be simulated
subregions=name [required]
Raster map of subregions with categories starting with 1
demand=name
Control file with number of cells to convert

Table of contents

DESCRIPTION

Module r.futures.calibration is part of FUTURES, land change model. It is used for calibrating certain input variables for patch growing algorithm r.futures.pga, specifically patch size and compactness parameters. The calibration process is conducted to match observed urban growth patterns to those simulated by the model, including the sizes and shapes of new development. The calibration is achieved by varying the values of the patch parameters, comparing the distribution of simulated patch sizes to those observed for the reference period, and choosing the values that provide the closest match. For the details about calibration see below.

Patch size

As part of the calibration process, module r.futures.calibration produces patch size distribution file specified in patch_sizes parameter, which contains sizes (in cells) of all new patches observed in the reference period. The format of this file is one patch size per line. FUTURES uses this file to determine the size of the simulated patches. Often the length of the reference time period does not match the time period which we are trying to simulate. We use the discount factor to alter the size of simulated patches so that after the reference period they closely match the observed patterns. During the simulation, this factor is multiplied by the patch sizes listed in the patch size file. The values of discount factor can vary between 0 and 1, for example value 0.6 was used by Meentemeyer et al. 2013.

Patch compactness

The shapes of patches simulated by FUTURES are governed by the patch compactness parameter (Meentemeyer et al. 2013, Eq. 1). This variable doesn't represent actual patch compactness, it is rather an adjustable scaling factor that controls patch compactness through a distance decay effect. By specifying the mean and range of this parameter in module r.futures.pga, we allow for variation in patch shape. As the value of the parameter increases, patches become more compact. Calibration is achieved by varying the values specified in compactness_mean and compactness_range and comparing the distribution of the simulated patch compactness (computed as patch perimeter / (2 * sqrt(pi * area))) to those observed for the reference period. Meentemeyer et al. 2013 used mean 0.4 and range 0.08.

Calibration input and output

Calibration requires the development binary raster in the beginning and end of the reference period (development_start and development_end) to derive the patch sizes and compactness. It is possible to set the minimum number of cells of a patch in patch_threshold to ignore too small patches. For each combination of values provided in compactness_mean, compactness_range and discount_factor, it runs module r.futures.pga which creates new development pattern. From this new simulated development, patch characteristics are derived and compared with the observed characteristics by histogram comparison and an error (histogram distance) is computed. Since r.futures.pga is a stochastic module, multiple runs (specified in repeat) are recommended, the error is then averaged. Calibration results are saved in a CSV file specified in calibration_results:
input_discount_factor,area_distance,input_compactness_mean,input_compactness_range,compactness_distance
0.1,1.01541178435,0.1,0.02,3.00000005937
0.2,1.26578803108,0.1,0.02,4.12442780529
0.3,1.17631210026,0.1,0.02,3.86904462396
0.4,2.31700278644,0.1,0.02,15.0569602795
0.5,1.08655152036,0.1,0.02,3.72484862687
0.6,2.97628078734,0.1,0.02,21.6358616001
0.7,3.61632549044,0.1,0.02,25.4492265706
0.8,2.72789958233,0.1,0.02,18.1083820007
0.9,2.45915297845,0.1,0.02,18.4500322711
0.1,1.05473877995,0.1,0.04,3.09321560218
...
Optimal values can be found by visual examination of the second and fifth columns.

Providing too many values in compactness_mean, compactness_range and discount_factor results in very long computation. Therefore it is recommended to run r.futures.calibration on high-end computers, with more processes running in parallel using nprocs parameter. Also, it can be run on smaller region, under the assumption that patch sizes and shapes are close to being consistent across the entire study area.

For all other parameters not mentioned above, please refer to r.futures.pga documentation.

EXAMPLES

SEE ALSO

FUTURES, r.futures.pga, r.futures.devpressure, r.futures.demand, r.futures.potential, r.sample.category

REFERENCES

AUTHOR

Anna Petrasova, NCSU OSGeoREL

Last changed: $Date: 2017-07-31 19:51:01 +0200 (Mon, 31 Jul 2017) $

SOURCE CODE

Available at: r.futures.calib source code (history)


Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2017 GRASS Development Team, GRASS GIS 7.2.3svn Reference Manual