Closed GoogleCodeExporter closed 9 years ago
Original comment by duncan.g...@gmail.com
on 17 Feb 2012 at 4:57
A summary of requirements as discussed with Duncan
Two new parameters to be introduced in eqrm_flags
* scenario_width
* scenario_length
These are passed through into Event_Set.create_scenario_events (note: synthetic
events are NOT affected by these parameters - generate_synthetic_events).
create_scenario_events currently uses the eqrm_flags.max_width scalar to create
a fault_width vector. If scenario_width and scenario_length are set,
fault_width is to be ignored.
Original comment by b...@girorosso.com
on 17 Feb 2012 at 5:19
clarifications;
Default scenario_width and scenario_length to None.
If scenario_width is set ignore max_width(->fault_width), otherwise use
max_width, e.g. if just scenario_length is set.
Original comment by duncan.g...@gmail.com
on 17 Feb 2012 at 5:28
The current way that area is generated if None.
if area is None:
area = conversions.modified_Wells_and_Coppersmith_94_area(Mw)
For a scenario event, the area is not passed through, so the above is used.
Given that:
if length is None:
length = area/width
This should be changed to:
1. Determine width if not set
2. Determine length if not set
3. Area = length * width
Original comment by b...@girorosso.com
on 20 Feb 2012 at 12:17
[deleted comment]
[deleted comment]
[deleted comment]
An update on comment 4 - area is a transient value, used only to calculated
length and width (if they're not already set). Once this work is complete, will
work on removing it from the object altogether.
Original comment by b...@girorosso.com
on 20 Feb 2012 at 2:45
Implemented in revision 947.
Included in this are updated unit tests, a new scenario test and update
documentation.
Original comment by b...@girorosso.com
on 20 Feb 2012 at 3:31
Original issue reported on code.google.com by
duncan.g...@gmail.com
on 17 Feb 2012 at 4:56