python-oq-risklib (0.8.0-0~precise01) precise; urgency=low [Michele Simionato] * Added a --pdb flag * Added validation to the source IDs * It is now possible to pass arguments to the GSIMs in the logic tree file * Added data transfer information to the CSV reports * Fixed several bugs in the ebr calculator * The composite source model is saved in the HDF5 file * Added a command 'oq-lite info --report job.ini' to produce a report on a calculation without running it * Negative calculations IDs are recognized in the oq-lite commands * The GMFs are saved in the HDF5 file * Added vulnerability functions with Probability Mass Function * oq-lite has now a 'reduce' command to reduce large computations * The epsilon_matrix is now saved in HDF5 format * Fixed a bug in apply_reduce when the first argument is a numpy array * Added a functionality 'write_source_model' to serialize sources in XML -- Matteo Nastasi (GEM Foundation) Wed, 23 Sep 2015 15:17:28 +0200 python-oq-risklib (0.7.2-0~precise01) precise; urgency=low [Matteo Nastasi] * Packaging system improvement [Michele Simionato] * Fixed an ordering bug in the GSIM logic tree -- Matteo Nastasi (GEM Foundation) Fri, 05 Jun 2015 11:55:09 +0200 python-oq-risklib (0.7.1-0~precise01) precise; urgency=low [Michele Simionato] * Fixed an export bug in the scenario_damage calculator: now the case of multiple assets on the same location is treated correctly -- Matteo Nastasi (GEM Foundation) Wed, 20 May 2015 09:58:07 +0200 python-oq-risklib (0.7.0-1~precise01) precise; urgency=low [Matteo Nastasi, Daniele ViganĂ²] * Fixed dependencies version management -- Matteo Nastasi (GEM Foundation) Thu, 07 May 2015 13:56:09 +0200 python-oq-risklib (0.7.0-0~precise01) precise; urgency=low [Matteo Nastasi, Daniele ViganĂ²] * Add binary package support for both Ubuntu 12.04 (Precise) and Ubuntu 14.04 (Trusty) [Michele Simionato] * Added a check on invalid IMTs when using the JB2009 correlation model * Made sure that the site collection is ordered by (lon, lat) in all cases * Extended the scenario calculators so that they can manage multiple GSIMs at the same time * Ported the event_based calculator to oq-lite (except disaggregation) * Introduced a DataStore class to save either generic pickled objects or numpy arrays; if installed, it can use the h5py library * Added defaults to the parameters in job.ini * Extended the 'oq-lite info' command to plot some useful informations about the source model * Ported the classical_risk calculator to oq-lite * Added an 'oq-lite pick_rlzs' command to display the distance of the hazard curves from the mean, by using the RMSEP distance * Ported the scenario_risk calculator to oq-lite * Added a check to forbid exposures with an asset number=0 * In the tests you can compare for equality files containing numbers, possibly ignoring the last digits * Increased the number of SES generated by the demo ProbabilisticEventBased from 10 to 200 * For the event based calculator, print the site index where the discrepancy with the classical hazard curves is greater * Now the engine is able to gunzip transparently the logic tree files too * Added a convergency test for the hazard curves generated by the event based calculator when the number of samples is high * Added a script to reduce large source models and large exposure models * Fixed a bug in the NRML writer for nodes with value=0 * Added a 'plot' command to oq-lite -- Matteo Nastasi (GEM Foundation) Thu, 07 May 2015 10:51:21 +0200 python-oq-risklib (0.6.0-1) precise; urgency=low [Matteo Nastasi] * Wrong oq-hazardlib version dependency fixed -- Matteo Nastasi (GEM Foundation) Fri, 27 Feb 2015 11:54:22 +0100 python-oq-risklib (0.6.0-0) precise; urgency=low [Michele Simionato] * Changed the event based risk demo to use fully the specific assets feature * Implemented export of SESCollections * Classical tiling calculator in oq-lite * Raise an error if there are assets missing the number attribute * Added a prefilter flag * Moved the management of zipfiles into oq-lite * Export lon and lat in the hazard curves * Simplified the management of GMPE logic tree realizations * Towards supporting Ubuntu 14.04 * Fixed error when minIML|maxIML are missing in the fragility model * Ported the generation of UHS curves into risklib * Better error message for duplicated IMLs * Implemented hazard map export in oq-lite * Create the export_dir if possible * Moved the demos inside oq-risklib * Now sites can be extracted from the site_model.xml file * Fixed the oversampling bug * Added a warning in case of oversampling * Provided a user-friendly string representation of the class RlzsAssoc * Added classical damage QA tests * Add a test case for sampling two source models of different weight * Implemented classical damage calculator * Moved hazard maps and mean and quantile functions from the engine into risklib * Added a check for duplicated branchset IDs * If export_dir is not given, save on $HOME -- Matteo Nastasi (GEM Foundation) Wed, 25 Feb 2015 17:04:04 +0100 python-oq-risklib (0.5.1-0) precise; urgency=low * consistency in version management between debian/ubuntu package and library from git sources -- Matteo Nastasi (GEM Foundation) Thu, 18 Dec 2014 15:42:53 +0100 python-oq-risklib (0.5.0-1) precise; urgency=low * Fixed version in the documentation * Removed an incorrect warning * Scenario damage tests * Added a DamageWriter class and the expected outputs for the ScenarioDamage QA tests * Improve the error message when the user sets the wrong calculation_mode * Moved get_realizations from the engine into commonlib * Added more validation to dictionaries * Added a new parameter complex_fault_mesh_spacing * Ported the scenario tests to oq-lite * Added a get_params utility * Simplified the monitoring * Add the QA tests data removed from the engine * Added a forgotten .rst file * Use shallow-clone to improve CI builds speed * Fix documentation * Merged commonlib inside risklib * Move the calculation of input/output weights into commonlib * The export_dir is now always given * Small fixes to commonlib * Better error message for regions that cannot be discretized * Fixed precision * Add a facility to read source models in commonlib * Add an hard limit to check_mem_usage() * Fixed test_different_levels_ok * Removed an excessive validation * Added a validation is_valid_hazard_curves * Reverted the check on duplicated vulnerabilitySetID * Improved the validation of vulnerability models * Examples, tests and notebook for the feature of oq-lite * Some refactoring of the classes RiskModel and RiskInput * Basic support for risk calculators in commonlib * Building the documentation of risklib and some refactoring * Build the documentation of commonlib * Support of the oq-lite command-line tool * Converting the region_constraint into a WKT polygon in commonlib, not in the engine * Fixed a subtle ImportError * Added a forgotten file * Support for the simplification of the risk calculators * Rewritten the RiskModel class and refactored the Workflow classes * Loss per event per asset * Dependency check * Updated version of risklib * Merged nrmllib inside commonlib * Added get_exposure and some refactoring * Changed the RiskModel API * The investigationTime attribute is optional * Use the new validation mechanism for vulnerability/fragility functions * Reflected the change in risklib * Fixed typo in an error message * reversed edges to make complex surface comply with Aki & Richards conven... * Moved the node context manager to the node library * Better debugging representation of a node * The maximum_distance must be mandatory in all hazard calculators * Restored the NrmlHazardlibConverter * Used PlanarSurface.from_corner_points * Improved the validation on PMF * Added a generic SourceConverter class for all sources, including the NonParametric ones * Added a lazy function read_nodes * Added a "node_factory" validation facility to the node library * Rewritten the openquake validation mechanism; now it is done in commonlib * Support validation code for the engine * Added a few validation functions * Added a validation on the GSIM name * Added MeanLossTestCase and some comments/docstrings * Small improvements * Logging the size of received data, to assess the stress on rabbitmq * Parallel filtering * Fixed the branch ordering * Ordering the sources after splitting-filtering them * Added an EpsilonProvider class * Introduced get_epsilons * Improved the splitting mechanism * Fix an ordering on the exported GMF * Moved parse_config from the engine to commonlib * Given a proper ordering to BranchTuples * Decoupled the sampling logic from the GsimLogicTree class * Get more information about the number of realizations in full enumeration * Small refactoring of the block-splitting routines * Fixed the sampling in GsimLogicTree * Small changes to support the refactoring on the engine side * packager.sh: missing update fixed * Risk loaders * Added a property .imts to the RiskModel class * The rupture seed is now visible in the XML file * Made explicit the dependence from the getters * GMPE logic tree fix * Many improvements to make the SourceCollector more usable from the command-line * Fix for the case of empty SES * Add a debug flag to enable set -x in packager.sh * Improved the SourceCollector * Fix gmf duplication * Removed logictree.enumerate_paths * Moved modules to manage sources and logic trees from the engine * Minor refactoring of scientific.scenario_damage * Reflected the API change in risklib * Refactoring of risklib needed to solve the problem of the block size dependence * Remove CalculationUnit * Removed some useless code from risklib * Fix branch var to be compliant within the new CI git plugin * Updates Copyright to 2014 * rupture_to_element facility * Ci devtest * Renamed common->commonlib * Add setup.py * Improved validation and some cleanup * Decouple the gsim logic tree from the SES output and remove dead code * Moved the tests directory inside the package * Refactored the conversion library * More work on the conversion/validation library * Add loss type to risk outputs * Pull request for the validation library * Standard Loss map GeoJSON * Exporting the GMF in XML should not require keeping all the tree in memory * No unicode + StringIO in tests * Fix parsing of isAbsolute * Insured loss curves statistics * Csv tools * Fixed the streaming xml writer * Hazard Curve GeoJSON parser * GeoJSON map node values should be floats * Node library * Ruptures now have a tag attribute * Revise insured losses algorithm * Added an InvalidFile exception * Add stdDevLoss field * Compute Curve stats * Implemented a StreamingXMLWriter * Minor optimizations by using memoization * Fix quantile maps computation * Fix Asset statistics * NRML parsers/writers should be able to accept either file paths or file-like objects * Refactoring: added risk workflows * Add '__version__' to package init * Hazard map GeoJSON writer * GeoJSON LossMap Writer * Remove 'ndenumerate' -- Matteo Nastasi (GEM Foundation) Wed, 10 Dec 2014 11:17:03 +0100 python-oq-risklib (0.3.0-1) precise; urgency=low * Lxc sandbox - improved CI with sandboxed source tests (LP: #1177319) * Refactoring: remove curve module (LP: #1174231) * Update Event Based algorithm (LP: #1168446) * Fix sampling in lognormaldistribution when mean = 0, covs = 0 (LP: #1167863) * Strictly increasing vulnerability function in classical calculator (LP: #1165076) * Added concurrent.futures to risklib (temporary solution) * Update average loss formula (LP: #1156557) * Added AGPL license file * Refactoring needed to support Structure dependent IMT in scenario damage (LP: #1154549) * Implemented scenario_damage and scenario directly in risklib (LP: #1154110) * Make the risklib able to read csv inputs (LP: #1154110) * Fix OQ Engine fails working end-to-end when there is a different number of gmvs per site (LP: #1144388) * Fix Insured losses computation * Removed Asset and AssetOutput classes * Small refactoring of the FragilityFunctions so that it is easier to instantiate them from the FragilityModelParser in nrml (LP: #1100235) -- Matteo Nastasi (GEM Foundation) Mon, 24 Jun 2013 16:31:18 +0200 python-oq-risklib (0.2.0-1) precise; urgency=low * Rename of the package and namespace refactoring -- Matteo Nastasi (GEM Foundation) Sat, 09 Feb 2013 10:18:32 +0100 python-oq-risklib (0.1.0-1) precise; urgency=low * Upstream release -- Matteo Nastasi (GEM Foundation) Wed, 12 Dec 2012 17:06:39 +0100