We generated an .ini from the OQ Input Preparation Toolkit (IPT: "Configuration File" / "Stochastic Event-Based") in order to run an Event PSHA. This runs successfully, when the investigation_time variable within job_hazard.ini is set to 1 (IPT: "Hazard investigation time (years)").
However, we would like to generate an event set of several years. However, when running a hazard model for e.g. 3 years, we encountered this error i nthe log/console:
"ValueError: The source model <path>\ssm\slab_07\6.55.nrml contains an investigation_time of 1.0, while the job.ini has 3.0.
Within ssm folder below, there are several folders with files (.nrml) that contain investigation_time="1." variable. We managed to overcome the issue by manually editing all the several .nrml files inside the folders and replacing such variable for investigation_time="3." :
Are we missing something in order to run a model for more than 1 year ? We should be able to change just one variable in the .ini file (investigation_time) and run the model accordingly, instead of editing the many .nrml files every time we would like to run it for different years.
Thank you very much in advance! Cheers"