OpenQuake Engine 2.8.0
[Michele Simionato (@micheles)]
iml_disagg
andpoes_disagg
cannot coexist in the job.ini file- Added a check on
conditional_loss_poes
in the event_based_risk calculator:
now it requiresasset_loss_table
to be set
[Anirudh Rao (@raoanirudh)]
- Sorted taxonomies before comparison in the BCR calculator
[Michele Simionato (@micheles)]
- Optimized the disaggregation calculation by performing the PMF extraction
only once at the end of the calculation and not in the workers - Added an
oq zip
command - Avoided running an useless classical calculation if
iml_disagg
is given
[Valerio Poggi (@klunk386)]
- Implemented subclasses for ZhaoEtAl2006Asc and AtkinsonBoore2006 to account
for the distance filter used by SGS in their PSHA model for Saudi Arabia.
Distance threshold is hard coded to 5km in this implementation.
[Michele Simionato (@micheles)]
- Added a warning if the aggregated probability of exceedence (poe_agg) in
a disaggregation output is very dissimilar from poes_disagg - Removed the flag
split_sources
- Optimized the operation
arrange_data_in_bins
in the disaggregation
calculator and reduced the data transfer by the number of tectonic
region types - Improved the sending of the sources to the workers, especially for the
MultiPointSources - Better error message if the user sets a wrong site_id in the sites.csv file
- Now the distance and lon lat bins for disaggregation are built directly
from the integration distance - Used uniform bins for disaggregation (before they were potentially
different across realizations / source models) - Improved the error message if the user forgets both sites and sites.csv
in a calculation starting from predetermined GMFs - Improved the error message if the user specifies a non-existing file in
the job.ini - Change the ordering of the TRT bins in disaggregation: now they are
ordered lexicographically - Added more validity checks on the job.ini file for disaggregation
- Changed the .hdf5 format generated by
oq extract -1 hazard/rlzs
; you can
still produce the old format by usingoq extract -1 qgis-hazard/rlzs
- Optimized the disaggregation calculator by instantiating
scipy.stats.truncnorm
only once per task and not once per rupture - Optimized the disaggregation calculator when
iml_disagg
is specified,
by caching duplicated results - Made sure that
oq dbserver stop
also stops the zmq workers if the zmq
distribution is enabled - Added a check when disaggregating for a PoE too big for the source model
- If
iml_disagg
is given, forbidintensity_measure_types_and_levels
- Fixed the disaggregation outputs when
iml_disagg
is given: the PoE has
been removed by the name of the output and correct PoE is in the XML file - Fixed
oq export loss_curves/rlzs
for event_based_risk/case_master - Removed the obsolete parameter
loss_curve_resolution
- Fixed a Python 3 unicode error with
oq engine --run job.zip
- Added a command
oq abort <calc_id>
- Stored the avg_losses in classical risk in the same way as in
event_based_risk and made them exportable with the same format - Removed the outputs losses_by_tag from the event based risk calculators
and changed the default for the avg_losses flag to True - WebUI: now every job runs in its own process and has name oq-job-
- Refactored the WebUI tests to use the DbServer and django.test.Client
- Added an experimental feature
optimize_same_id_sources
- Fixed a bug in gmf_ebrisk when there are zero losses and added more
validity checks on the CSV file - The parameter
number_of_ground_motion_fields
is back to being optional in
scenario calculators reading the GMFs from a file, since it can be inferred - Removed the deprecated risk outputs dmg_by_tag, dmg_total,
losses_by_tag, losses_total - Deprecated the .geojson exporters for hazard curves and maps
- We now keep the realization weights in case of logic tree sampling (before
they were rescaled to 1 / R and considered all equals) - Optimized sampling for extra-large logic trees
- Added a check on missing
source_model_logic_tree
- Fix to the gmf_ebrisk calculator: the realization index in the event loss
table was incorrect and too many rows were saved - Added a way to restrict the source logic model tree by setting a sm_lt_path
variable in the job.ini (experimental) - Fixed the precedence order when reading openquake.cfd