Skip to content

modify Hazard Model

User Story

As a user of the ramsis hazard module, i would like to have the template xml to be stored either in the database or within functions rather than having the database store file locations. This ensures reproducibility of results as the files cannot get lost or modified without interacting with data/code base.

Acceptance Criteria

Modify HazardModel

logictreetemplate column -> removed. This will be implemented in code

jobconfigfile column -> changed to jobconfig JSON type

gmpefile column -> renamed to gmpelogictree and b64 encoded xml to be stored here.

modify SeismicityModel

seismicitymodeltemplate -> hazardsourcemodeltemplate

All required information should be stored in the datamodel so that theoretically results can be reproduced.

Edited by sarsonl
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information