Bug #799
psmeca -Sa option: rake angles over 180 not displayed correctly
| Status: | Closed | Start date: | 2015-10-29 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% | ||
| Category: | - | |||
| Target version: | Candidate for next bugfix release | |||
| Affected version: | other | Platform: |
Description
For rake angles of 181-360, the displayed focal mechanism is incorrect (fortunately obviously so), whereas for the mathematically equivalent rake angle range of -180 to 0 the mechanism is displayed correctly. The following demonstrates this. Both mechanisms represent the identical normal faulting earthquake, but only the one to the left is displayed correctly
psmeca -R-53.5/-50.5/-33.25/-28.75 -JM13 -Sa0.4 <<EOF
-51.686 -31.002 24.5 40 62 -103 5.0 0 0
-51.186 -31.002 24.5 40 62 257 5.0 0 0
EOF
Expected behaviour:
1. Treat rake angles 180-360 as equivalent to rake angles -180 to 0 degrees
2. If values for angles are outside expected range, issue warning message
GMT Version 4.5.13 (installed from GMT site, not from the repository)
Result of uname -a:Linux sec24c43 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
(really Linux Mint 17.2)
History
#1
Updated by Paul over 1 year ago
- Status changed from New to Resolved
- Assignee set to Paul
- Target version set to Candidate for next bugfix release
- % Done changed from 0 to 100
This was fixed a long time ago in GMT 5 but probably ignored in GMT 4. I just added the same fix there as well. I recommend you move to GMT 5.
#2
Updated by Joaquim over 1 year ago
- Status changed from Resolved to Closed