Release notes v1.2#
The difference in OpenQuake 1.2 is mostly in the performance of the hazard calculators. They are much faster, sometimes several order of magnitudes faster.
it is possible to avoid saving the individual hazard curves. This is useful for people working with large logic trees and interested only in the mean curves and/or on the quantile curves. Such users should set the configuration parameter
individual_curves=false
in thejob.ini
configuration file.If you computed the hazard at the points specified by an exposure file, later risk calculations do not need to reimport the exposure. This is a significant improvement for large exposures. In practice, if the parameter
exposure_file
is specified in thejob_hazard.ini
file, you should removed it from thejob_risk.ini
file, otherwise it will be reimported.An optimization has been added for the case where the hazard is known at the sites of the exposure. In that case the hazard data can be extracted directly without geospatial queries and the risk calculation is faster.
The validation system has been rewritten and now it is much more effective and accurate than before, i.e. the user gets better error messages for invalid input. Several bugs in this area have been closed, even if certainly there will be more work to do on this front.
The procedure to import the source models has been improved: it is now faster and more memory efficient.
The risk calculators are now more memory efficient and faster than before; moreover the robustness of the results has improved, bugs have been fixed and several new correcteness tests have been added.
The task distribution in the hazard calculators has improved substantially: now the tasks are more homogeneous in size and it is less likely to have a single slow tasks slowing down the entire computation. Also, there is in place a mechanism to split large sources into small sources, to make the tasks more regular in source size.
The logic tree mechanism for GSIMs has been rewritten and an optimization has been put in place, so that the engine does not perform needless computations for non-relevant tectonic region types (a tectonic region type is not relevant if, even if it is in the logic tree file, there are no sources for that tectonic region type in the source model within the integration distance).
There is now a way to get an HTML report with the performance of the engine:
$ oq-engine --make-html-report today
This will list all the computations of the day. You can also specify the date using the ISO format YYYY-MM-DD.
A lot of the logic of the engine has been moved into a different repository, [oq-risklib] (https://github.com/gem/oq-risklib): that means that now it is much easier for hazard and risk scientists to use the libraries underlying the engine programmatically.