|
|
|
@ -689,18 +689,16 @@ class RuptureMap(Map):
|
|
|
|
|
patches = source.patches |
|
|
|
|
|
|
|
|
|
if source.curved: |
|
|
|
|
assert num.testing.assert_allclose( |
|
|
|
|
source.lat, [p.lat for p in patches]) |
|
|
|
|
assert num.testing.assert_allclose( |
|
|
|
|
source.lon, [p.lon for p in patches]) |
|
|
|
|
num.testing.assert_allclose(source.lat, [p.lat for p in patches]) |
|
|
|
|
num.testing.assert_allclose(source.lon, [p.lon for p in patches]) |
|
|
|
|
|
|
|
|
|
self._irregular_data_to_grid( |
|
|
|
|
[p.north_shifts for p in patches], |
|
|
|
|
[p.east_shifts for p in patches], |
|
|
|
|
[p.lengths for p in patches], |
|
|
|
|
[p.widths for p in patches], |
|
|
|
|
[p.strikes for p in patches], |
|
|
|
|
[p.dips for p in patches], |
|
|
|
|
[p.north_shift for p in patches], |
|
|
|
|
[p.east_shift for p in patches], |
|
|
|
|
[p.length for p in patches], |
|
|
|
|
[p.width for p in patches], |
|
|
|
|
[p.strike for p in patches], |
|
|
|
|
[p.dip for p in patches], |
|
|
|
|
data, |
|
|
|
|
*args, |
|
|
|
|
**kwargs) |
|
|
|
|