diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index c5468fd..31cdd32 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -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: