--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
> <mailto:openquake-users+unsub...@googlegroups.com>.
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/8717f958-068b-4165-aa07-407b5bb4ef44%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openqua...@googlegroups.com.
Hope this helps
Peter
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/58181c04-530b-41f1-bfe7-a3e02dec9497n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "OpenQuake Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openquake-users/B15byzkH2SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/b14cd18d-2c2f-4540-997a-a6e066fa01c6n%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/3ae77050-dc19-461e-966b-a2ed0fcc0ba3n%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "OpenQuake Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openquake-users/B15byzkH2SI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/a186da1d-618e-4c48-9f64-105d76e92919n%40googlegroups.com.
--------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-24-fd9a48e5c645> in <module> 14 results[imt_name][gmpe_name] = {} 15 # Run the GMPE ---> 16 mean, [stddev] = gmpe.get_mean_and_stddevs(sctx, rctx, dctx, imt, stddev_types) 17 # Organise the results 18 results[imt_name][gmpe_name]["mean"] = np.exp(mean) /usr/local/lib/python3.6/dist-packages/openquake/hazardlib/gsim/chiou_youngs_2014.py in get_mean_and_stddevs(self, sites, rup, dists, imt, stddev_types) 95 # Get standard deviations 96 stddevs = self.get_stddevs(C, sites, rup.mag, y_ref, f_nl_scaling, ---> 97 stddev_types) 98 return mean, stddevs 99 /usr/local/lib/python3.6/dist-packages/openquake/hazardlib/gsim/chiou_youngs_2014.py in get_stddevs(self, C, sites, mag, y_ref, f_nl_scaling, stddev_types) 120 # Get between and within-event variability 121 tau = self.get_tau(C, mag) --> 122 phi_nl0 = self.get_phi(C, mag, sites, nl0) 123 # Get total standard deviation propagating the uncertainty in the 124 # nonlinear amplification term /usr/local/lib/python3.6/dist-packages/openquake/hazardlib/gsim/chiou_youngs_2014.py in get_phi(self, C, mag, sites, nl0) 150 """ 151 phi = C["sig3"] * np.ones(sites.vs30.shape) --> 152 phi[sites.vs30measured] = 0.7 153 phi = np.sqrt(phi + ((1.0 + nl0) ** 2.)) 154 mdep = C["sig1"] + (((C["sig2"] - C["sig1"]) / 1.5) * IndexError: arrays used as indices must be of integer (or boolean) type
-------------------------------------------------------------------------
Any clue of this matter? Thank you very much for the solution. Cheers
PS: I attach the modified python file for the better view of my problems
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/8717f958-068b-4165-aa07-407b5bb4ef44%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/48ca5b4c-21fb-4193-9b1e-4ee850eae488n%40googlegroups.com.