Page 1 of 1

Eurocode 8 site classes

Posted: Wed Mar 19, 2008 6:03 pm
by admin
You can compute the site classes defined by EC8 from a basic layered model file (produced by tools like gpdcreport,...).

If you want to get the site class after the inversion of a dispersion curve, go to the .report location and run (assuming the acceptable misfit is 1):

Code: Select all

gpdcreport *.report -m 1 | gpec8
[...]
# Layered model 10047: value=0.784913
Vs30 366.656 Class B
# Layered model 10048: value=0.692240
Vs30 393.94 Class B
# Layered model 10049: value=0.856656
Vs30 404.852 Class B
#
#
# *****************
# IMPORTANT NOTICE:
# *****************
#
# We remind you that this software is released to you for free under a GNU Public
# License. If you download a binary version of this code, you can still access and
# review the code yourself available at http://www.geopsy.org . The definition of EC8
# site classes computed here above are based only on Vs30 values. Nspt, Cu and
# lithology are not taken into account.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
If you want the proportion of class B models, first count the total number of models:

Code: Select all

gpdcreport *.report -m 1 | gpec8 | grep -v "#" | wc -l
1193
Then, get the number of B models:

Code: Select all

gpdcreport *.report -m 1 | gpec8 | grep -v "#" | grep "Class B" | wc -l
886
So 74% of the models are of class B.

If you want to get all Vs30 values:

Code: Select all

gpdcreport *.report -m 1 | gpec8 | grep -v "#" | awk '{print $2}
If you want to get all classes:

Code: Select all

gpdcreport *.report -m 1 | gpec8 | grep -v "#" | awk '{print $4}