Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

updated somerville switch in hazgrid #66

Merged
merged 1 commit into from
Oct 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/hazgridXnga13l.f
Original file line number Diff line number Diff line change
Expand Up @@ -1505,8 +1505,14 @@
c new dec 2005.
read(1,*) iatten(ip,ia),wt(ip,ia,1),wtdist(ip,ia),wt(ip,ia,2),
& icode(ip,ia)
c insure that Somerville and Campbell CEUS relations are called with
c negative ipia when vs30 > 1200 m/s. Mod Oct 12 2016 pmpowers
if(vs30.gt.1200.)then
if(iatten(ip,ia).eq.7) iatten(ip,ia)= -7
if(iatten(ip,ia).eq.10) iatten(ip,ia)= -10
endif
c insure that Campbell CEUS relation is called with negative ipia when vs30 > 1200 m/s. Mod sept 21 2016 SH
if(iatten(ip,ia).eq.10 .and. vs30 .gt.1200.)iatten(ip,ia)= -10
c if(iatten(ip,ia).eq.10 .and. vs30 .gt.1200.)iatten(ip,ia)= -10
c special treatment for ASK13 and CY2013 models, if user wants to use measured Vs30
c option:
if(iatten(ip,ia).eq.-34 .or. iatten(ip,ia).eq.-33)then
Expand Down