Changes between Version 1 and Version 2 of Ticket #78


Ignore:
Timestamp:
Dec 2, 2010, 1:32:16 PM (13 years ago)
Author:
Kevin Milner
Comment:

Method for computing it (e-mail from Ned, 11/30/10):

Kevin,

The Aki Richards convention is described at:

http://www.opensha.org/glossary-strikeDipRake

All data in the database should already conform to this.

As for implementation, I see aveDipDir computed as:

firstLoc = faultTrace.get(0);

lastLoc = faultTrace.get(faultTrace.getNumLocations() - 1);; LocationVector? aveDir = LocationUtils?.vector(firstLoc, lastLoc); aveDipDirection = ( aveDir.getAzimuth() + 90 );

in both StirlingGriddedSurface? & SimpleListricGriddedSurface?.

We should document this implementation carefully.

Cheers,

Ned

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #78

    • Property Cc Ned Field added
    • Property Status changed from new to assigned
    • Property Summary changed from rename "Dip LocationVector", add info text to Add ability to compute Dip Direction
  • Ticket #78 – Description

    v1 v2  
    1 Should be "Dip Direction." Is it computed? How does that work? Should the user be able to override it? If the user edits the parameter, will it be recomputed at midnight? Maybe add button to recompute it.
     1Should be "Dip Direction" (done). Is it computed? How does that work? Should the user be able to override it? If the user edits the parameter, will it be recomputed at midnight? Maybe add button to recompute it.