Skip to content

Scripts to create input files for CRAFTY-Brazil simulation model

License

Notifications You must be signed in to change notification settings

jamesdamillington/CRAFTYInput

Repository files navigation

CRAFTYInput

DOI

Scripts to create input files for the CRAFTY-Brazil ABM simulation model. See also CRAFTY-Brazil Input Maps for scripts that create the base land cover map.

There are two primary types of input file:

The region.csv file

Create the region.csv file using create_CRAFTY_regionCSV.r (possibly created using input map scripts) and other information (e.g. a base land cover map).

Input map scripts

To create data to simulate the observed time period 2001-2018:

Helper scripts for the scripts above:

  • slopeMap.r: converts original high-res slope map to resolution for model and classifies this as a Capital. Used in moistureMap.r
  • soilMap.r: converts original low-res soil map to resolution for model and classifies as a Capital. Used in moistureMap.r

To create data to simulate a future time period:

Capital update files

  • createUpdateFiles.r: takes input map files - possibly created using some of the input map scripts - and converts to a table that can be used to update Capitals during a model run
  • createSingleLCMap.r: create maps of a single land cover from observed land cover maps (useful for updating 'Other Agri' and 'Other' Capitals through simulation

About

Scripts to create input files for CRAFTY-Brazil simulation model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages