GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

array is not broadcastable error in calc_and_save_SA #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Got this error on trunk.

What steps will reproduce the problem?
1. I got the error doing a large simulation.  Will try and replicate in a small 
simulation.

Error:

  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/EQRM/trunk/eqrm_core/eqrm_code/analysis.py", line 399, in main
    source_model_subset)
  File "/nas/mnh/georisk_models/earthquake/sandpits/duncan/EQRM/trunk/eqrm_core/eqrm_code/analysis.py", line 935, in calc_and_save_SA
    collapsed_bedrock_SA
ValueError: array is not broadcastable to correct shape

Original issue reported on code.google.com by duncan.g...@gmail.com on 16 Oct 2012 at 11:42

GoogleCodeExporter commented 9 years ago
Testing if this error is in the reduce_mem branch as well.

Original comment by duncan.g...@gmail.com on 16 Oct 2012 at 11:43

GoogleCodeExporter commented 9 years ago
It wasn't in the reduce_mem branch.  I think this was fixed in the reduce_mem 
branch, three for closing ticket.

Original comment by duncan.g...@gmail.com on 24 Oct 2012 at 4:30