MTK fault calculator: create "simple" fault geometry class

Bug #975104 reported by Graeme Weatherill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Giuseppe Vallarelli

Bug Description

The purpose of this bug is to define and create a simple fault geometry class.

A simple fault geometry is defined by:
1) Trace - a set of points (at least two), where each point is defined using a Long., Lat.
2) Upper depth - the depth of the shallowest edge of the fault (km)
3) Lower depth - the depth of the deepest edge of the fault (km)
4) Dip - the angle (in degrees) between the fault and the horizontal plane

A simple fault will allow to compute: length, width and area.

The length is calculated by summing the distances between successive points along the trace.
The width is calculated by: width = (lower_depth - upper_depth) / sin(dip)
The area = length * width

Constraints on the input data:
1) Trace: Longitude (-180. to 180., float), Latitude (-90. to 90., float)
2) Upper Depth - Positive float
3) Lower Depth - Positive float greater than or equal to upper depth
4) Dip: 0. to 90. (float)

Changed in openquake:
assignee: nobody → Giuseppe Vallarelli (gvallarelli)
importance: Undecided → Medium
milestone: none → 0.6.1
Changed in openquake:
status: New → In Progress
description: updated
Revision history for this message
Giuseppe Vallarelli (gvallarelli) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.