Comment 3 for bug 1189405

Revision history for this message
Sreeram Reddy Kotha (sriram010689) wrote : Re: [Bug 1189405] Re: PEB risk calculation using --hc

Hey Lars,

Luigi suggested a work around for this bug; to mention in the job file even
if not necessary, a few quantile levels. I think with version 1.0.0 this
bug is gone.

Thank you,

Peace,
Sriram

On Mon, Jul 1, 2013 at 3:27 PM, Lars Butler <email address hidden>wrote:

> Running epsha.ini, how long did it take for this error to occur?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1189405
>
> Title:
> PEB risk calculation using --hc
>
> Status in OpenQuake:
> New
>
> Bug description:
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line
> 47, in trace
> return cls(states.SUCCESS, retval=fun(*args, **kwargs))
> File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py",
> line 247, in __call__
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/celery/app/__init__.py", line
> 175, in run
> return fun(*args, **kwargs)
> File
> "/usr/lib/python2.7/dist-packages/openquake/engine/utils/tasks.py", line
> 146, in wrapped
> res = task_func(*args, **kwargs)
> File
> "/usr/lib/python2.7/dist-packages/openquake/engine/utils/stats.py", line
> 253, in wrapper
> result = func(*args, **kwargs)
> File
> "/usr/lib/python2.7/dist-packages/openquake/engine/calculators/risk/event_based/core.py",
> line 69, in event_based
> loss_type, units[loss_type], containers, params, profile)
> File
> "/usr/lib/python2.7/dist-packages/openquake/engine/calculators/risk/event_based/core.py",
> line 124, in do_event_based
> weights, params)
> File
> "/usr/lib/python2.7/dist-packages/openquake/engine/calculators/risk/event_based/core.py",
> line 295, in statistics
> quantile_maps = numpy.array(quantile_maps).transpose(2, 1, 0)
> ValueError: axes don't match array
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openquake/+bug/1189405/+subscriptions
>

--
Peace,
Sriram