2014-08-27 05:16:48 |
Michele Simionato |
bug |
|
|
added bug |
2014-08-27 05:17:27 |
Michele Simionato |
description |
I propose the following rules for the risk_calculation.exposure property:
1. if the `preloaded_exposure_model_id` parameter is set in job_risk.ini, use it
2. if an exposure_file parameter is defined in job_risk.ini, use it
3. if an exposure was used in the hazard job, use it
4. if no exposure is found, return None
Then, by running
openquake --rr job_risk.ini --run-hazard-job JOB_ID
if would be possible to avoid reloading the exposure if it was already loaded in the hazard. For this feature to work, we
must add a flag --run-hazard-job. At this point, it might be a good idea to remove --run-hazard-calculation, since it becomes useless. |
I propose the following rules for the risk_calculation.exposure property:
1. if the `preloaded_exposure_model_id` parameter is set in job_risk.ini,
use it
2. if an exposure_file parameter is defined in job_risk.ini, use it
3. if an exposure was used in the hazard job, use it
4. if no exposure is found, return None
Then, by running
openquake --rr job_risk.ini --run-hazard-job JOB_ID
if would be possible to avoid reloading the exposure if it was already loaded in the hazard. For this feature to work, we
must add a flag --run-hazard-job. At this point, it might be a good idea to remove --run-hazard-calculation, since it becomes useless. |
|
2014-08-27 07:24:52 |
Michele Simionato |
summary |
Rules for finding the exposure in a risk calculation |
Smart retrieval of the exposure in a risk calculation |
|
2014-08-27 11:46:26 |
Michele Simionato |
description |
I propose the following rules for the risk_calculation.exposure property:
1. if the `preloaded_exposure_model_id` parameter is set in job_risk.ini,
use it
2. if an exposure_file parameter is defined in job_risk.ini, use it
3. if an exposure was used in the hazard job, use it
4. if no exposure is found, return None
Then, by running
openquake --rr job_risk.ini --run-hazard-job JOB_ID
if would be possible to avoid reloading the exposure if it was already loaded in the hazard. For this feature to work, we
must add a flag --run-hazard-job. At this point, it might be a good idea to remove --run-hazard-calculation, since it becomes useless. |
I propose the following rules for the risk_calculation.exposure property:
1. if the `preloaded_exposure_model_id` parameter is set in job_risk.ini,
use it
2. if an exposure_file parameter is defined in job_risk.ini, use it
3. if an exposure was used in the hazard job, use it
4. if no exposure is found, return None
Then, by running
openquake --rr job_risk.ini --hazard-job-id JOB_ID
if would be possible to avoid reloading the exposure if it was already loaded in the hazard. For this feature to work, we
must add a flag --hazard-job-id. At this point, it might be a good idea to remove --hazard-calculation-id, since it becomes useless. |
|
2014-08-28 08:00:25 |
Michele Simionato |
oq-engine: assignee |
|
Michele Simionato (michele-simionato) |
|
2014-08-28 08:00:27 |
Michele Simionato |
oq-engine: milestone |
|
1.0.1 |
|
2014-08-28 08:00:29 |
Michele Simionato |
oq-engine: importance |
Undecided |
High |
|
2014-08-28 08:00:33 |
Michele Simionato |
oq-engine: status |
New |
In Progress |
|
2014-08-29 08:58:33 |
Michele Simionato |
oq-engine: status |
In Progress |
Fix Committed |
|
2014-12-15 12:00:56 |
Daniele Viganò |
oq-engine: status |
Fix Committed |
Fix Released |
|