Skip to content

Historic Processor

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

historicprocessor.py

Non Standard Python Dependencies

Description

Runs the historic slashburn PostGis processes, creates historic tiler configuration file. The historic tiler configuration is based on (and requires) the rollback tiler configuration generated by the rollback process

Args

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

example command

python ..\historicprocessor.py --pathRegistry .\pathRegistry.json --preprocessorConfig .\preprocessorConfig.json --subRegionConfig .\subRegions.json --subRegionNames "Arrow, Boundary"

This command will run the historic slashburn postGIS procedure, and generate tiler config for the historic period.

possible development tasks:

  • this command line tool might be merged with rollback
  • decouple tiler