Skip to content

wkhchow/model-factory

 
 

Repository files navigation

model-factory

PyPI - Python Version

model-factory is a repository used in conjunction with opendrr-api repository. It contains documentation, and scripts (python and sql) to transform opendrr source data (exposure, census, and OpenQuake outputs etc.) into risk profile indicators for:

Refer to the releases section for latest version changes.

How the script works

  • Most scripts in this repository are run with keyword arguments.

Example:

$ python3 DSRA_outputs2postgres.py --dsraModelDir="https://github.com/OpenDRR/openquake-models/tree/master/deterministic/outputs" --columnsINI="DSRA_outputs2postgres.ini"

Or ask scripts for help on how to run them:

$ python3 DSRA_outputs2postgres.py --help

About

OpenQuake compilation and data manipulation scripts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 39.5%
  • HTML 33.8%
  • JavaScript 25.6%
  • CSS 1.1%