Update src/seismic_hazard_forecasting.py
This commit is contained in:
@@ -858,7 +858,7 @@ verbose: {verbose}")
|
||||
|
||||
iml_grid_hd = iml_grid_prep[j]
|
||||
#vmin_hd = min(x for x in iml_grid_hd.flatten() if not isnan(x))
|
||||
vmax_hd = np.nanmax(iml_grid_hd.flatten())
|
||||
vmax_hd = np.nanmax(iml_grid_hd)
|
||||
|
||||
# generate image overlay
|
||||
north, south = lat.max(), lat.min() # Latitude range
|
||||
|
||||
Reference in New Issue
Block a user