Skip to content

OpenQuake Engine 3.1.0

Compare
Choose a tag to compare
@nastasi-oq nastasi-oq released this 01 Jun 12:36
· 139376 commits to master since this release

[Marco Pagani (@mmpagani) and Changlong Li (@mstlgzfdh)]

  • Added a version of the Yu et al. (2013) GMPE supporting Mw

[Michele Simionato (@micheles)]

  • Reduced the data transfer in the UCERF calculators
  • Stored the zipped input files in the datastore for reproducibility
  • Fixed a regression when reading GMFs from an XML in absence of a sites.csv
    file

[Robin Gee (@rcgee)]

  • Extend oq to_shapefile method to also work with YoungsCoppersmithMFD
    and arbitraryMFD MFD typologies.

[Michele Simionato (@micheles)]

  • Now the hazard statistics can be computed efficiently even in a single
    calculation, i.e. without the --hc option
  • Added a check on the Python version in the oq command
  • Reduced the data transfer when sending the site collection
  • Changed the default filter_distance

[Daniele Viganò (@daniviga)]

  • Fixed a bug where the PID was not saved into the database
    when using the command line interface
  • Made it impossible to fire multiple CTRL-C in sequence
    to allow processes teardown and tasks revocation when Celery is used

[Michele Simionato (@micheles)]

  • Used scipy.spatial.distance.cdist in Mesh.get_min_distance
  • Prefiltered sites and assets in scenario calculations
  • Made it possible to specify the filter_distance in the job.ini
  • Made rtree optional again and disabled it in macOS
  • Optimized the SiteCollection class and doubled the speed of distance
    calculations in most continental scale calculations
  • Fixed an ordering bug in event based risk from GMFs when using a
    vulnerability function with PMF
  • Replaced Rtree with KDtree except in the source filtering
  • Parallelized the source prefiltering
  • Removed the tiling feature from the classical calculator
  • Undeprecated hazardlib.calc.stochastic.stochastic_event_set and
    made its signature right
  • Removed the source typology from the ruptures and reduced the rupture
    hierarchy
  • Removed the mesh spacing from PlanarSurfaces
  • Optimized the instantiation of the rtree index
  • Replaced the old prefiltering mechanism with the new one

[Daniele Viganò (@daniviga)]

  • Managed the case of a dead controlling terminal (SIGHUP)

[Michele Simionato (@micheles)]

  • Removed Decimal numbers from the PMF distribution in hazardlib
  • Fixed another tricky bug with rtree filtering across the international
    date line
  • Added a parameter prefilter_sources with values rtree|numpy|no
  • Removed the prefiltering on the workers, resulting in a huge speedup
    for gridded ruptures at the cost of a larger data transfer
  • Changed the losses_by_event output to export a single .csv file with
    all realizations
  • Added a cross_correlation parameter used when working with shakemaps
  • Now sites and exposure can be set at the same time in the job.ini
  • Introduced a preclassical calculator
  • Extended the scenario_damage calculator to export dmg_by_event
    outputs as well as losses_by_event outputs if there is a consequence
    model
  • Unified region and region_constraint parameters in the job.ini
  • Added a check to forbid duplicated GSIMs in the logic tree
  • Introduced some changes to the realizations exporter (renamed field
    uid -> branch_path and removed the model field)
  • Added a command oq celery inspect
  • Reduced the check on too many realizations to a warning, except for
    event based calculations
  • Improved the hazard exporter to exports only data for the filtered
    site collection and not the full site collection
  • Extended the BCR exporter to export the asset tags

[Catalina Yepes (@CatalinaYepes)]

  • Revised/enhanced the risk demos

[Michele Simionato (@micheles)]

  • Added a warning about the option optimize_same_id_sources when the user
    should take advantage of it

[Daniele Viganò (@daniviga)]

  • celery-status script converted into oq celery status command
  • Removed Django < 1.10 backward compatibility
  • Updated Python dependices (numpy 1.14, scipy 1.0.1,
    Django 1.10+, Celery 4+)

[Michele Simionato (@micheles)]

  • Implemented scenario_risk/scenario_damage from shakemap calculators
  • Exported the asset tags in the asset based risk outputs
  • Fixed a numeric issue for nonparametric sources causing the hazard curves
    to saturate at high intensities
  • Added an utility to download shakemaps
  • Added an XML exporter for the site model
  • Slight change to the correlation module to fix a bug in the SMTK
  • Added a distribution mechanism threadpool