Skip to content

GCBM Input

Scott Morken edited this page May 16, 2018 · 4 revisions

gcbminput.py

Non Standard Python Dependencies

mojadata, simplejson

Non Python Dependencies

recliner2GCBM

Description

Creates GCBM input using the spatial outputs of the other preprocessor scripts, and aspatial inputs.

GCBM Inputs created:

  • tiled layers (using mojadata)
  • gcbm input database (using recliner2GCBM)
  • gcbm configuration (uses a gcbm template file)

Args

  • pathRegistry - specifies various input and output paths for the process
  • preprocessorConfig - general configuration for preprocessing tools
  • futureConfig - configuration for future scenarios
  • subRegionConfig - sub region specific data
  • subRegionNames - optional comma delimited string specifying subregion names to process. Names are defined in subregion config
  • tiler - optional argument whose presence indicates to run the tiler immediately after processing each scenario
  • recliner2gcbm - optional argument whose presence indicates to prepare gcbm input database
  • gcbmconfig - optional argument whose presence indicates to prepare gcbm config

example command

python ..\gcbminput.py --pathRegistry .\pathRegistry.json --preprocessorConfig .\preprocessorConfig.json --futureConfig .\futureConfig.json --subRegionConfig .\subRegionConfig.json --tiler --recliner2gcbm --gcbmconfig

Clone this wiki locally