Commit 32310cd7 authored by Tara Evaz Zadeh's avatar Tara Evaz Zadeh

changing some descriptions in the GetFullGmf.py

parent fd584d1c
......@@ -78,10 +78,11 @@ array([[2.289028e+01, 3.631806e+01, 4.822530e-03, 1.255729e-02,
.transpose()
# Griddata Interpolation
# The loop changes over the columns of the ground motion field and enables
# us to have interpolation for all different given ground-motion types.
# The range begins from third column because the first two columns are lon
# and lat respectively; So the first ground motion type values could begin
# from the third column only.
# us to have interpolation for all different given ground-motion types.
# Please note that the columns follow the order below:
# lon,lat,gmValueofType1,gmValueofType2,etc. We want to do the interpolation
# over all the ground motion types. Thus the range begins from third column
# to the last column of the groundMotionField.
for gmType in range(2, groundMotionField.shape[1], 1):
# gmvs_given: the input ground-motion values for interpolation.
gmvs_given = groundMotionField[:, gmType]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment