OpenQuake Engine 2.1.0
[Michele Simionato (@micheles)]
- There is now a flag
save_ruptures
that can be turned off on demand;
by default the ruptures are always saved in the event based calculators - Optimized the memory consumption when using a ProcessPoolExecutor (i.e
fork before reading the source model) by means of awakeup
task - Reduced the splitting of the fault sources
- Added a view
task_slowest
displaying info about the slowest task
(only for classical calculations for the moment) - concurrent_tasks=0 disable the concurrency
- Optimized the saving time of the GMFs
- Changed the default number of concurrent tasks and increased the
relative weight of point sources and area sources - Fixed the UCERF event loss table export and added a test for it
- Optimized the computation of the event loss table
- Introduced two new calculators ucerf_risk and ucerf_risk_fast
[Paolo Tormene (@ptormene)]
- Added to the engine server the possibility to log in and out
programmatically by means of HTTP POST requests
[Michele Simionato (@micheles)]
- Optimized the memory consumption of the event based risk calculators
- Extended the
oq show
command to work in a multi-user environment - Improved the test coverage of the exports in the WebUI
- Removed the SourceManager: now the sources are filtered in the workers
and we do not split in tiles anymore - Made the full datastore downloadable from the WebUI
- Added a command "oq db" to send commands the engine database
(for internal usage) - By default the WebUI now displays only the last 100 calculations
- Added more validity checks to the disaggregation parameters; split the
sources even in the disaggregation phase - Added an optimized event based calculator computing the total losses by
taxonomy and nothing else - Filtered the sources up front when there are few sites (<= 10)
- Reduced the number of tasks generated when filter_sources is False
- Saved engine_version and hazardlib_version as attributes of the datastore
- Avoided saving the ruptures when ground_motion_fields is True
- Finalized the HDF5 export for hazard curves, hazard maps and uniform
hazard spectra - Restored a weight of 1 for each rupture in the event based calculator
- Removed the MultiHazardCurveXMLWriter
- Improved the saving of the ruptures in event based calculations
- Reduced the data transfer due to the
rlzs_by_gsim
parameter - Added an HDF5 export for scenario GMFs
- If
filter_sources
if false, the light sources are not filtered, but the
heavy sources are always filtered - Now the dbserver can be stopped correctly with CTRL-C
- Parallelized the splitting of heavy sources
- Changed the event loss table exporter: now a single file per realization
is exported, containing all the loss types - Removed the dependency from the Django ORM
- Now the WebUI restarts the ProcessPoolExecutor at the end of each job,
to conserve resources - Optimized the computation of hazard curves and statistics, especially
for the memory consumption - Reduced the data transfer due to the
rlzs_assoc
andoqparam
objects - Fixed a bug in the disaggregation calculator when a source group has
been filtered away by the maximum distance criterium - Fixed an encoding error in the reports when the description contains a
non-ASCII character - Changed the distribution framework: celery is supported in a way more
consistent with the other approaches; moreover, ipyparallel is supported - Hazard maps are now a fake output, dynamically generated at export time
- Made the number of produced tasks proportional to the number of tiles
- Raised an error for event_based_risk producing no GMFs
- Added a view for the slow sources
- Transmitted the attributes of a SourceGroup to the underlying sources
- Fixed the names of exported files for hazard maps in .geojson format
- Added an header with metadata to the exported hazard curves and maps
- Avoid storing filtered-away probability maps, thus fixing a bug
- Restored the precalculation consistency check that was disabled during the
transition to engine 2.0 - Fixed a bug with
oq engine --delete-calculation
- Hazard curves/maps/uniform spectra can now be recomputed
- Restored the early check on missing taxonomies
- Raise an early error if an user forget the
rupture_mesh_spacing
parameter - Fixed a bug while deleting jobs from the db in Ubuntu 12.04
- Ported the shapefile converter from the nrml_converters
- Added source model information in the file
realizations.csv
oq engine --run job.ini --exports csv
now also exports the realizations- Introduced the format NRML 0.5 for source models
- Added a check on the version in case of export errors
- Extended
oq purge
to remove calculations from the database too - Fixed
--make-html-report
: the view task_info was not registered - Stored several strings as HDF5-variable-length strings
- Fixed an export bug for the hazard curves in .geojson format
- Removed the array cost_types from the datastore
- Taxonomies with chars not in the range a-z0-9 were incorrectly rejected
- Improved the XML parsing utilities in speed, memory, portability and
easy of use - Forbidden the reuse of exposure because is was fragile and error prone
- Fixed a bug with the
realizations
array, which in hazard calculations
was empty in the datastore