use distances in km instead of m
This commit is contained in:
parent
eb14b7d235
commit
b287715f44
@ -410,7 +410,10 @@ verbose: {verbose}")
|
||||
rx_lat[i], rx_lon[i] = utm.to_latlon(x_rx[i], y_rx[i], utm_zone_number,
|
||||
utm_zone_letter) # get receiver location as lat,lon
|
||||
|
||||
# experimental - compute ground motion only at grid points that have minimum probability density of thresh_fxy
|
||||
# convert distances from m to km because openquake ground motion models take input distances in kilometres
|
||||
distances = distances/1000.0
|
||||
|
||||
# compute ground motion only at grid points that have minimum probability density of thresh_fxy
|
||||
if exclude_low_fxy:
|
||||
indices = list(np.where(fxy.flatten() > thresh_fxy)[0])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user