From b27b3de1f38c6c040665b71bb78561f99bc582d8 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 14:36:00 -0600
Subject: [PATCH 1/7] added epi value tables

---
 .../gmm/tables/prvi-crustal-epi-lower.csv     | 264 ++++++++++++++++++
 .../gmm/tables/prvi-crustal-epi-upper.csv     | 264 ++++++++++++++++++
 .../gmm/tables/prvi-interface-epi-lower.csv   | 264 ++++++++++++++++++
 .../gmm/tables/prvi-interface-epi-upper.csv   | 264 ++++++++++++++++++
 .../gmm/tables/prvi-intraslab-epi-lower.csv   | 264 ++++++++++++++++++
 .../gmm/tables/prvi-intraslab-epi-upper.csv   | 264 ++++++++++++++++++
 6 files changed, 1584 insertions(+)
 create mode 100644 src/main/resources/gmm/tables/prvi-crustal-epi-lower.csv
 create mode 100644 src/main/resources/gmm/tables/prvi-crustal-epi-upper.csv
 create mode 100644 src/main/resources/gmm/tables/prvi-interface-epi-lower.csv
 create mode 100644 src/main/resources/gmm/tables/prvi-interface-epi-upper.csv
 create mode 100644 src/main/resources/gmm/tables/prvi-intraslab-epi-lower.csv
 create mode 100644 src/main/resources/gmm/tables/prvi-intraslab-epi-upper.csv

diff --git a/src/main/resources/gmm/tables/prvi-crustal-epi-lower.csv b/src/main/resources/gmm/tables/prvi-crustal-epi-lower.csv
new file mode 100644
index 00000000..4b03019c
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-crustal-epi-lower.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.449,-0.465,-0.485,-0.645,-0.540,-0.578,-0.607,-0.562,-0.578,-0.587
+0.233,-0.471,-0.487,-0.507,-0.668,-0.562,-0.591,-0.619,-0.579,-0.593,-0.601
+0.541,-0.523,-0.539,-0.558,-0.722,-0.611,-0.622,-0.648,-0.616,-0.628,-0.634
+1.260,-0.619,-0.634,-0.648,-0.815,-0.695,-0.673,-0.694,-0.677,-0.684,-0.686
+2.932,-0.752,-0.750,-0.734,-0.896,-0.762,-0.704,-0.718,-0.711,-0.712,-0.711
+6.822,-0.952,-0.925,-0.863,-1.018,-0.863,-0.751,-0.785,-0.820,-0.782,-0.748
+15.874,-1.026,-1.004,-0.931,-1.080,-0.910,-0.802,-0.901,-0.994,-0.981,-0.888
+36.938,-1.031,-1.043,-0.983,-1.124,-0.967,-0.906,-0.996,-1.084,-1.131,-1.226
+85.951,-0.997,-1.050,-1.003,-1.141,-1.088,-1.016,-1.120,-1.186,-1.212,-1.257
+200.000,-0.947,-1.030,-0.965,-1.182,-1.059,-1.003,-1.080,-1.151,-1.190,-1.295
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.390,-0.469,-0.498,-0.667,-0.556,-0.537,-0.563,-0.523,-0.537,-0.546
+0.233,-0.413,-0.490,-0.519,-0.690,-0.577,-0.553,-0.578,-0.540,-0.554,-0.561
+0.541,-0.466,-0.540,-0.568,-0.742,-0.625,-0.589,-0.612,-0.581,-0.591,-0.596
+1.260,-0.570,-0.631,-0.653,-0.831,-0.707,-0.649,-0.667,-0.648,-0.652,-0.653
+2.932,-0.732,-0.748,-0.731,-0.906,-0.769,-0.686,-0.695,-0.685,-0.685,-0.683
+6.822,-0.971,-0.928,-0.853,-1.021,-0.864,-0.743,-0.771,-0.799,-0.760,-0.725
+15.874,-1.051,-1.012,-0.921,-1.081,-0.908,-0.803,-0.894,-0.978,-0.962,-0.869
+36.938,-1.045,-1.041,-0.968,-1.120,-0.959,-0.909,-1.001,-1.081,-1.124,-1.217
+85.951,-1.001,-1.042,-0.988,-1.138,-1.079,-1.036,-1.137,-1.197,-1.218,-1.261
+200.000,-0.929,-1.010,-0.950,-1.178,-1.052,-1.025,-1.099,-1.165,-1.215,-1.320
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.390,-0.469,-0.498,-0.667,-0.556,-0.537,-0.563,-0.523,-0.537,-0.546
+0.233,-0.413,-0.490,-0.519,-0.690,-0.577,-0.553,-0.578,-0.540,-0.554,-0.561
+0.541,-0.466,-0.540,-0.568,-0.742,-0.625,-0.589,-0.612,-0.581,-0.591,-0.596
+1.260,-0.570,-0.631,-0.653,-0.831,-0.707,-0.649,-0.667,-0.648,-0.652,-0.653
+2.932,-0.732,-0.748,-0.731,-0.906,-0.769,-0.686,-0.695,-0.685,-0.685,-0.683
+6.822,-0.971,-0.928,-0.853,-1.021,-0.864,-0.743,-0.771,-0.799,-0.760,-0.725
+15.874,-1.051,-1.012,-0.921,-1.081,-0.908,-0.803,-0.894,-0.978,-0.962,-0.869
+36.938,-1.045,-1.041,-0.968,-1.120,-0.959,-0.909,-1.001,-1.081,-1.124,-1.217
+85.951,-1.001,-1.042,-0.988,-1.138,-1.079,-1.036,-1.137,-1.197,-1.218,-1.261
+200.000,-0.929,-1.010,-0.950,-1.178,-1.052,-1.025,-1.099,-1.165,-1.215,-1.320
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.496,-0.505,-0.555,-0.744,-0.632,-0.605,-0.623,-0.575,-0.586,-0.591
+0.233,-0.517,-0.523,-0.572,-0.763,-0.649,-0.620,-0.637,-0.592,-0.602,-0.607
+0.541,-0.568,-0.565,-0.612,-0.806,-0.690,-0.656,-0.671,-0.633,-0.640,-0.643
+1.260,-0.666,-0.646,-0.683,-0.881,-0.759,-0.713,-0.725,-0.700,-0.701,-0.700
+2.932,-0.806,-0.764,-0.750,-0.947,-0.814,-0.745,-0.750,-0.735,-0.731,-0.727
+6.822,-1.018,-0.943,-0.854,-1.045,-0.895,-0.791,-0.818,-0.844,-0.802,-0.766
+15.874,-1.084,-1.012,-0.906,-1.089,-0.924,-0.833,-0.926,-1.011,-0.993,-0.899
+36.938,-1.054,-1.022,-0.938,-1.112,-0.959,-0.916,-1.012,-1.095,-1.138,-1.230
+85.951,-1.019,-1.023,-0.967,-1.139,-1.083,-1.033,-1.139,-1.204,-1.228,-1.272
+200.000,-0.985,-1.006,-0.940,-1.195,-1.079,-1.023,-1.102,-1.172,-1.200,-1.303
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.505,-0.601,-0.627,-0.784,-0.700,-0.734,-0.742,-0.683,-0.689,-0.692
+0.233,-0.529,-0.620,-0.646,-0.803,-0.714,-0.746,-0.753,-0.698,-0.704,-0.706
+0.541,-0.585,-0.665,-0.689,-0.848,-0.746,-0.775,-0.780,-0.734,-0.737,-0.737
+1.260,-0.695,-0.749,-0.762,-0.925,-0.801,-0.821,-0.823,-0.792,-0.790,-0.786
+2.932,-0.862,-0.860,-0.828,-0.987,-0.852,-0.848,-0.843,-0.822,-0.815,-0.808
+6.822,-1.102,-1.025,-0.925,-1.078,-0.923,-0.883,-0.900,-0.919,-0.874,-0.835
+15.874,-1.156,-1.083,-0.967,-1.111,-0.940,-0.907,-0.988,-1.063,-1.041,-0.946
+36.938,-1.127,-1.094,-0.999,-1.135,-0.973,-0.966,-1.047,-1.121,-1.157,-1.241
+85.951,-1.081,-1.096,-1.026,-1.158,-1.091,-1.074,-1.164,-1.218,-1.235,-1.285
+200.000,-1.023,-1.047,-0.983,-1.191,-1.055,-1.044,-1.108,-1.169,-1.261,-1.368
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.530,-0.552,-0.615,-0.796,-0.691,-0.708,-0.727,-0.673,-0.682,-0.687
+0.233,-0.548,-0.567,-0.630,-0.813,-0.707,-0.720,-0.738,-0.687,-0.696,-0.700
+0.541,-0.592,-0.603,-0.665,-0.852,-0.745,-0.747,-0.763,-0.722,-0.728,-0.730
+1.260,-0.676,-0.673,-0.727,-0.920,-0.809,-0.791,-0.803,-0.777,-0.778,-0.777
+2.932,-0.808,-0.784,-0.791,-0.982,-0.859,-0.814,-0.819,-0.805,-0.801,-0.796
+6.822,-1.012,-0.954,-0.889,-1.075,-0.931,-0.846,-0.874,-0.900,-0.858,-0.821
+15.874,-1.086,-1.025,-0.939,-1.115,-0.951,-0.879,-0.970,-1.053,-1.034,-0.939
+36.938,-1.074,-1.042,-0.974,-1.138,-0.978,-0.945,-1.036,-1.118,-1.159,-1.249
+85.951,-1.055,-1.051,-1.013,-1.172,-1.102,-1.059,-1.158,-1.219,-1.240,-1.297
+200.000,-1.001,-1.023,-0.974,-1.212,-1.069,-1.032,-1.106,-1.174,-1.270,-1.384
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.402,-0.328,-0.443,-0.678,-0.586,-0.600,-0.629,-0.581,-0.594,-0.600
+0.233,-0.422,-0.350,-0.461,-0.699,-0.606,-0.614,-0.642,-0.598,-0.609,-0.615
+0.541,-0.469,-0.401,-0.504,-0.747,-0.653,-0.646,-0.672,-0.636,-0.645,-0.648
+1.260,-0.558,-0.495,-0.578,-0.830,-0.732,-0.699,-0.721,-0.699,-0.703,-0.703
+2.932,-0.682,-0.611,-0.647,-0.900,-0.792,-0.733,-0.747,-0.736,-0.734,-0.730
+6.822,-0.883,-0.804,-0.764,-1.016,-0.888,-0.784,-0.819,-0.848,-0.806,-0.769
+15.874,-0.992,-0.925,-0.857,-1.100,-0.947,-0.836,-0.936,-1.023,-1.003,-0.905
+36.938,-1.026,-0.978,-0.932,-1.163,-1.009,-0.927,-1.023,-1.105,-1.147,-1.251
+85.951,-1.031,-1.025,-1.019,-1.246,-1.179,-1.054,-1.146,-1.206,-1.227,-1.302
+200.000,-0.978,-1.007,-1.026,-1.353,-1.219,-1.037,-1.105,-1.170,-1.250,-1.369
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.478,-0.269,-0.365,-0.605,-0.593,-0.560,-0.604,-0.556,-0.571,-0.588
+0.233,-0.457,-0.284,-0.379,-0.622,-0.610,-0.575,-0.618,-0.574,-0.588,-0.602
+0.541,-0.409,-0.317,-0.411,-0.660,-0.649,-0.610,-0.651,-0.616,-0.627,-0.636
+1.260,-0.364,-0.385,-0.469,-0.729,-0.717,-0.668,-0.704,-0.684,-0.689,-0.690
+2.932,-0.529,-0.503,-0.538,-0.802,-0.782,-0.701,-0.730,-0.721,-0.721,-0.718
+6.822,-0.790,-0.708,-0.663,-0.929,-0.893,-0.755,-0.804,-0.841,-0.799,-0.760
+15.874,-0.933,-0.861,-0.782,-1.035,-0.972,-0.822,-0.932,-1.033,-1.019,-0.917
+36.938,-0.984,-0.939,-0.878,-1.113,-1.044,-0.942,-1.037,-1.135,-1.188,-1.294
+85.951,-0.999,-1.015,-0.991,-1.220,-1.234,-1.096,-1.168,-1.240,-1.271,-1.323
+200.000,-0.967,-1.030,-1.046,-1.375,-1.321,-1.117,-1.138,-1.210,-1.243,-1.367
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.527,-0.310,-0.292,-0.503,-0.537,-0.501,-0.550,-0.504,-0.548,-0.574
+0.233,-0.505,-0.307,-0.307,-0.520,-0.555,-0.516,-0.564,-0.521,-0.560,-0.585
+0.541,-0.453,-0.301,-0.342,-0.562,-0.596,-0.549,-0.595,-0.562,-0.588,-0.612
+1.260,-0.394,-0.311,-0.405,-0.635,-0.668,-0.605,-0.647,-0.629,-0.634,-0.655
+2.932,-0.516,-0.441,-0.478,-0.709,-0.735,-0.639,-0.672,-0.666,-0.667,-0.675
+6.822,-0.740,-0.661,-0.609,-0.839,-0.847,-0.700,-0.746,-0.784,-0.745,-0.709
+15.874,-0.912,-0.814,-0.729,-0.945,-0.928,-0.785,-0.877,-0.979,-0.969,-0.876
+36.938,-0.957,-0.890,-0.820,-1.020,-1.002,-0.910,-0.993,-1.095,-1.153,-1.283
+85.951,-0.981,-0.949,-0.909,-1.107,-1.182,-1.059,-1.118,-1.198,-1.235,-1.325
+200.000,-0.956,-0.957,-0.953,-1.263,-1.279,-1.092,-1.090,-1.171,-1.215,-1.353
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.374,-0.234,-0.304,-0.485,-0.506,-0.476,-0.516,-0.487,-0.535,-0.563
+0.233,-0.356,-0.252,-0.323,-0.506,-0.526,-0.493,-0.532,-0.502,-0.547,-0.575
+0.541,-0.315,-0.294,-0.366,-0.555,-0.575,-0.533,-0.569,-0.538,-0.576,-0.602
+1.260,-0.283,-0.376,-0.441,-0.639,-0.657,-0.599,-0.628,-0.597,-0.621,-0.645
+2.932,-0.467,-0.499,-0.516,-0.715,-0.725,-0.637,-0.654,-0.634,-0.642,-0.660
+6.822,-0.755,-0.703,-0.645,-0.841,-0.835,-0.702,-0.727,-0.750,-0.707,-0.691
+15.874,-0.893,-0.832,-0.747,-0.932,-0.903,-0.782,-0.856,-0.942,-0.926,-0.874
+36.938,-0.919,-0.895,-0.825,-0.996,-0.973,-0.913,-0.976,-1.062,-1.111,-1.274
+85.951,-0.923,-0.935,-0.895,-1.071,-1.153,-1.066,-1.109,-1.174,-1.203,-1.311
+200.000,-0.869,-0.912,-0.906,-1.208,-1.238,-1.092,-1.077,-1.148,-1.201,-1.333
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.399,-0.417,-0.440,-0.541,-0.480,-0.477,-0.521,-0.472,-0.523,-0.553
+0.233,-0.381,-0.426,-0.448,-0.560,-0.501,-0.493,-0.536,-0.489,-0.537,-0.565
+0.541,-0.338,-0.448,-0.467,-0.604,-0.553,-0.530,-0.570,-0.529,-0.567,-0.595
+1.260,-0.310,-0.495,-0.507,-0.683,-0.640,-0.591,-0.625,-0.594,-0.617,-0.642
+2.932,-0.529,-0.601,-0.580,-0.764,-0.710,-0.629,-0.653,-0.633,-0.641,-0.660
+6.822,-0.853,-0.773,-0.703,-0.894,-0.822,-0.693,-0.729,-0.752,-0.709,-0.694
+15.874,-0.951,-0.872,-0.795,-0.977,-0.885,-0.771,-0.859,-0.948,-0.935,-0.878
+36.938,-0.923,-0.909,-0.856,-1.030,-0.951,-0.901,-0.987,-1.080,-1.134,-1.286
+85.951,-0.889,-0.925,-0.904,-1.087,-1.117,-1.046,-1.121,-1.197,-1.233,-1.315
+200.000,-0.789,-0.864,-0.877,-1.191,-1.173,-1.052,-1.081,-1.168,-1.219,-1.351
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.459,-0.533,-0.496,-0.520,-0.459,-0.481,-0.519,-0.460,-0.509,-0.536
+0.233,-0.477,-0.545,-0.511,-0.541,-0.480,-0.497,-0.533,-0.476,-0.520,-0.547
+0.541,-0.519,-0.573,-0.546,-0.591,-0.531,-0.534,-0.565,-0.512,-0.548,-0.574
+1.260,-0.598,-0.628,-0.611,-0.678,-0.617,-0.594,-0.617,-0.572,-0.591,-0.617
+2.932,-0.711,-0.718,-0.690,-0.758,-0.688,-0.630,-0.642,-0.608,-0.611,-0.633
+6.822,-0.885,-0.856,-0.813,-0.879,-0.794,-0.688,-0.711,-0.720,-0.672,-0.666
+15.874,-0.945,-0.922,-0.875,-0.939,-0.843,-0.761,-0.835,-0.909,-0.890,-0.840
+36.938,-0.913,-0.934,-0.902,-0.970,-0.901,-0.897,-0.957,-1.041,-1.088,-1.236
+85.951,-0.845,-0.890,-0.877,-0.968,-1.030,-1.020,-1.080,-1.159,-1.196,-1.294
+200.000,-0.712,-0.778,-0.786,-1.027,-1.052,-1.006,-1.053,-1.153,-1.211,-1.337
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.890,-0.787,-0.708,-0.667,-0.522,-0.445,-0.477,-0.417,-0.454,-0.484
+0.233,-0.899,-0.804,-0.728,-0.689,-0.543,-0.463,-0.491,-0.434,-0.469,-0.499
+0.541,-0.921,-0.842,-0.774,-0.739,-0.591,-0.505,-0.525,-0.474,-0.504,-0.532
+1.260,-0.955,-0.906,-0.851,-0.822,-0.670,-0.573,-0.578,-0.538,-0.559,-0.586
+2.932,-0.971,-0.947,-0.903,-0.876,-0.720,-0.614,-0.606,-0.577,-0.584,-0.611
+6.822,-0.993,-1.003,-0.977,-0.954,-0.791,-0.673,-0.679,-0.693,-0.652,-0.654
+15.874,-0.981,-1.004,-0.988,-0.972,-0.811,-0.731,-0.811,-0.890,-0.877,-0.829
+36.938,-0.927,-0.964,-0.959,-0.956,-0.835,-0.845,-0.953,-1.047,-1.099,-1.228
+85.951,-0.835,-0.883,-0.887,-0.913,-0.931,-0.942,-1.095,-1.190,-1.236,-1.301
+200.000,-0.702,-0.760,-0.773,-0.953,-0.945,-0.935,-1.103,-1.225,-1.286,-1.353
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.512,-1.320,-1.196,-1.055,-0.739,-0.608,-0.507,-0.445,-0.478,-0.510
+0.233,-1.504,-1.324,-1.204,-1.065,-0.749,-0.616,-0.522,-0.462,-0.493,-0.524
+0.541,-1.485,-1.333,-1.222,-1.089,-0.772,-0.635,-0.555,-0.502,-0.527,-0.557
+1.260,-1.441,-1.340,-1.248,-1.124,-0.806,-0.663,-0.608,-0.566,-0.582,-0.611
+2.932,-1.344,-1.298,-1.236,-1.121,-0.808,-0.665,-0.633,-0.604,-0.611,-0.639
+6.822,-1.185,-1.215,-1.199,-1.102,-0.801,-0.663,-0.702,-0.720,-0.687,-0.689
+15.874,-1.064,-1.110,-1.117,-1.043,-0.765,-0.699,-0.838,-0.926,-0.917,-0.870
+36.938,-0.948,-1.001,-1.018,-0.967,-0.742,-0.825,-0.990,-1.096,-1.152,-1.272
+85.951,-0.846,-0.899,-0.917,-0.902,-0.820,-0.944,-1.142,-1.252,-1.302,-1.361
+200.000,-0.717,-0.766,-0.783,-0.922,-0.820,-0.955,-1.149,-1.288,-1.356,-1.426
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.835,-1.538,-1.369,-1.165,-0.792,-0.657,-0.585,-0.509,-0.501,-0.493
+0.233,-1.819,-1.539,-1.375,-1.173,-0.799,-0.663,-0.597,-0.524,-0.516,-0.508
+0.541,-1.782,-1.543,-1.390,-1.192,-0.818,-0.677,-0.625,-0.561,-0.549,-0.543
+1.260,-1.701,-1.536,-1.407,-1.218,-0.844,-0.696,-0.670,-0.620,-0.604,-0.599
+2.932,-1.539,-1.461,-1.376,-1.198,-0.832,-0.688,-0.687,-0.652,-0.634,-0.632
+6.822,-1.286,-1.325,-1.306,-1.151,-0.801,-0.680,-0.744,-0.759,-0.712,-0.685
+15.874,-1.128,-1.184,-1.195,-1.066,-0.745,-0.725,-0.874,-0.963,-0.949,-0.868
+36.938,-0.987,-1.046,-1.064,-0.966,-0.706,-0.839,-1.018,-1.130,-1.187,-1.282
+85.951,-0.866,-0.919,-0.934,-0.876,-0.754,-0.934,-1.152,-1.274,-1.329,-1.389
+200.000,-0.732,-0.775,-0.782,-0.873,-0.735,-0.919,-1.133,-1.285,-1.358,-1.431
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.404,-1.931,-1.679,-1.347,-0.890,-0.718,-0.601,-0.522,-0.513,-0.504
+0.233,-2.373,-1.925,-1.679,-1.349,-0.893,-0.720,-0.612,-0.538,-0.529,-0.519
+0.541,-2.299,-1.911,-1.679,-1.353,-0.899,-0.723,-0.640,-0.576,-0.564,-0.553
+1.260,-2.146,-1.868,-1.666,-1.351,-0.901,-0.725,-0.683,-0.638,-0.622,-0.608
+2.932,-1.861,-1.721,-1.587,-1.292,-0.861,-0.700,-0.700,-0.672,-0.655,-0.640
+6.822,-1.428,-1.470,-1.440,-1.183,-0.788,-0.671,-0.759,-0.784,-0.738,-0.697
+15.874,-1.200,-1.265,-1.278,-1.064,-0.712,-0.718,-0.895,-0.998,-0.986,-0.896
+36.938,-1.037,-1.096,-1.114,-0.942,-0.657,-0.839,-1.048,-1.174,-1.233,-1.332
+85.951,-0.932,-0.975,-0.982,-0.858,-0.701,-0.941,-1.189,-1.321,-1.375,-1.435
+200.000,-0.802,-0.829,-0.826,-0.843,-0.687,-0.919,-1.160,-1.319,-1.389,-1.459
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.811,-2.108,-1.804,-1.400,-0.939,-0.771,-0.711,-0.616,-0.592,-0.572
+0.233,-2.765,-2.100,-1.803,-1.402,-0.942,-0.774,-0.721,-0.631,-0.607,-0.585
+0.541,-2.660,-2.081,-1.801,-1.405,-0.948,-0.779,-0.745,-0.667,-0.640,-0.618
+1.260,-2.445,-2.025,-1.785,-1.400,-0.951,-0.783,-0.782,-0.723,-0.694,-0.670
+2.932,-2.060,-1.844,-1.698,-1.337,-0.907,-0.755,-0.787,-0.749,-0.722,-0.698
+6.822,-1.485,-1.537,-1.535,-1.218,-0.828,-0.716,-0.827,-0.854,-0.800,-0.750
+15.874,-1.219,-1.302,-1.355,-1.094,-0.754,-0.748,-0.958,-1.075,-1.062,-0.964
+36.938,-1.058,-1.132,-1.186,-0.979,-0.712,-0.859,-1.113,-1.264,-1.332,-1.438
+85.951,-0.946,-0.998,-1.035,-0.886,-0.751,-0.959,-1.263,-1.431,-1.500,-1.567
+200.000,-0.780,-0.814,-0.835,-0.832,-0.710,-0.926,-1.228,-1.430,-1.519,-1.600
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.857,-2.153,-1.842,-1.457,-1.009,-0.821,-0.703,-0.579,-0.545,-0.518
+0.233,-2.811,-2.145,-1.842,-1.460,-1.013,-0.825,-0.714,-0.596,-0.562,-0.534
+0.541,-2.704,-2.127,-1.842,-1.466,-1.023,-0.834,-0.740,-0.637,-0.600,-0.570
+1.260,-2.481,-2.070,-1.826,-1.464,-1.029,-0.842,-0.779,-0.702,-0.661,-0.630
+2.932,-2.071,-1.870,-1.727,-1.390,-0.978,-0.805,-0.788,-0.731,-0.691,-0.663
+6.822,-1.456,-1.532,-1.539,-1.252,-0.883,-0.745,-0.833,-0.841,-0.774,-0.719
+15.874,-1.168,-1.273,-1.337,-1.106,-0.791,-0.760,-0.967,-1.067,-1.042,-0.932
+36.938,-1.003,-1.096,-1.161,-0.984,-0.742,-0.882,-1.133,-1.264,-1.318,-1.417
+85.951,-0.901,-0.973,-1.021,-0.902,-0.798,-0.999,-1.300,-1.445,-1.496,-1.552
+200.000,-0.760,-0.815,-0.851,-0.884,-0.791,-0.985,-1.284,-1.461,-1.532,-1.600
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.510,-1.966,-1.702,-1.394,-1.026,-0.840,-0.717,-0.541,-0.525,-0.512
+0.233,-2.469,-1.957,-1.700,-1.396,-1.029,-0.842,-0.719,-0.559,-0.542,-0.528
+0.541,-2.373,-1.935,-1.695,-1.398,-1.035,-0.848,-0.722,-0.599,-0.580,-0.565
+1.260,-2.175,-1.873,-1.670,-1.389,-1.035,-0.850,-0.728,-0.663,-0.641,-0.625
+2.932,-1.818,-1.683,-1.562,-1.305,-0.973,-0.804,-0.735,-0.692,-0.670,-0.666
+6.822,-1.275,-1.359,-1.362,-1.150,-0.860,-0.722,-0.777,-0.796,-0.744,-0.729
+15.874,-1.002,-1.107,-1.156,-0.992,-0.748,-0.712,-0.900,-1.000,-0.984,-0.899
+36.938,-0.839,-0.931,-0.981,-0.860,-0.681,-0.825,-1.047,-1.166,-1.222,-1.323
+85.951,-0.756,-0.829,-0.865,-0.788,-0.740,-0.926,-1.185,-1.305,-1.349,-1.404
+200.000,-0.660,-0.723,-0.753,-0.817,-0.764,-0.903,-1.149,-1.291,-1.348,-1.409
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.512,-1.914,-1.615,-1.323,-1.007,-0.812,-0.706,-0.461,-0.466,-0.469
+0.233,-2.469,-1.906,-1.616,-1.327,-1.012,-0.816,-0.708,-0.480,-0.484,-0.487
+0.541,-2.370,-1.887,-1.618,-1.335,-1.023,-0.825,-0.712,-0.525,-0.526,-0.529
+1.260,-2.166,-1.830,-1.605,-1.336,-1.030,-0.832,-0.719,-0.599,-0.595,-0.598
+2.932,-1.803,-1.644,-1.506,-1.259,-0.973,-0.789,-0.717,-0.644,-0.638,-0.646
+6.822,-1.246,-1.323,-1.316,-1.111,-0.863,-0.715,-0.753,-0.770,-0.731,-0.719
+15.874,-0.963,-1.066,-1.109,-0.951,-0.748,-0.734,-0.896,-0.979,-0.969,-0.891
+36.938,-0.810,-0.900,-0.942,-0.824,-0.699,-0.875,-1.060,-1.155,-1.205,-1.300
+85.951,-0.732,-0.799,-0.822,-0.749,-0.758,-0.967,-1.185,-1.277,-1.314,-1.364
+200.000,-0.639,-0.690,-0.699,-0.772,-0.766,-0.911,-1.119,-1.233,-1.283,-1.341
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.437,-1.769,-1.421,-1.123,-0.922,-0.686,-0.598,-0.487,-0.512,-0.531
+0.233,-2.396,-1.758,-1.414,-1.129,-0.928,-0.691,-0.601,-0.505,-0.529,-0.547
+0.541,-2.299,-1.730,-1.398,-1.143,-0.944,-0.703,-0.608,-0.547,-0.568,-0.585
+1.260,-2.102,-1.662,-1.364,-1.158,-0.964,-0.718,-0.624,-0.617,-0.633,-0.647
+2.932,-1.753,-1.477,-1.296,-1.115,-0.935,-0.697,-0.656,-0.664,-0.679,-0.692
+6.822,-1.216,-1.183,-1.166,-1.028,-0.877,-0.670,-0.741,-0.797,-0.782,-0.770
+15.874,-0.980,-1.017,-1.040,-0.939,-0.824,-0.738,-0.906,-1.022,-1.033,-0.972
+36.938,-0.928,-0.951,-0.968,-0.897,-0.840,-0.910,-1.095,-1.216,-1.281,-1.386
+85.951,-0.934,-0.930,-0.922,-0.885,-0.968,-1.021,-1.234,-1.349,-1.399,-1.459
+200.000,-0.917,-0.886,-0.852,-0.964,-1.019,-0.980,-1.182,-1.317,-1.376,-1.440
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.738,-1.190,-0.913,-0.728,-0.606,-0.511,-0.417,-0.453,-0.503,-0.546
+0.233,-1.722,-1.195,-0.921,-0.748,-0.626,-0.526,-0.433,-0.471,-0.519,-0.560
+0.541,-1.685,-1.208,-0.941,-0.794,-0.672,-0.561,-0.469,-0.513,-0.558,-0.594
+1.260,-1.602,-1.219,-0.978,-0.873,-0.750,-0.622,-0.531,-0.583,-0.624,-0.652
+2.932,-1.418,-1.169,-1.021,-0.943,-0.817,-0.679,-0.582,-0.642,-0.679,-0.705
+6.822,-1.166,-1.103,-1.085,-1.045,-0.917,-0.768,-0.701,-0.795,-0.802,-0.802
+15.874,-1.124,-1.104,-1.116,-1.095,-0.980,-0.868,-0.899,-1.046,-1.075,-1.029
+36.938,-1.129,-1.113,-1.126,-1.132,-1.066,-1.040,-1.116,-1.269,-1.348,-1.457
+85.951,-1.046,-1.014,-1.008,-1.051,-1.129,-1.110,-1.273,-1.423,-1.491,-1.561
+200.000,-0.920,-0.848,-0.796,-0.981,-1.036,-1.021,-1.240,-1.415,-1.495,-1.572
diff --git a/src/main/resources/gmm/tables/prvi-crustal-epi-upper.csv b/src/main/resources/gmm/tables/prvi-crustal-epi-upper.csv
new file mode 100644
index 00000000..e75ce260
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-crustal-epi-upper.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.286,0.463,0.488,0.608,0.527,0.460,0.487,0.441,0.456,0.474
+0.233,0.306,0.476,0.501,0.621,0.539,0.471,0.498,0.455,0.467,0.481
+0.541,0.352,0.506,0.531,0.650,0.567,0.498,0.524,0.486,0.492,0.498
+1.260,0.442,0.563,0.583,0.699,0.615,0.541,0.564,0.538,0.532,0.526
+2.932,0.576,0.638,0.634,0.744,0.657,0.564,0.583,0.565,0.557,0.549
+6.822,0.761,0.749,0.710,0.810,0.719,0.600,0.632,0.643,0.610,0.580
+15.874,0.795,0.785,0.742,0.834,0.738,0.633,0.711,0.758,0.735,0.671
+36.938,0.773,0.782,0.751,0.838,0.756,0.690,0.780,0.822,0.833,0.871
+85.951,0.741,0.774,0.757,0.844,0.827,0.752,0.850,0.876,0.873,0.883
+200.000,0.682,0.738,0.722,0.865,0.804,0.739,0.808,0.829,0.847,0.904
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.302,0.490,0.500,0.600,0.535,0.468,0.476,0.436,0.447,0.466
+0.233,0.326,0.504,0.514,0.613,0.549,0.479,0.486,0.449,0.458,0.474
+0.541,0.383,0.537,0.546,0.645,0.579,0.504,0.510,0.479,0.483,0.492
+1.260,0.487,0.597,0.603,0.699,0.631,0.547,0.549,0.528,0.526,0.522
+2.932,0.620,0.673,0.654,0.743,0.672,0.581,0.573,0.560,0.553,0.547
+6.822,0.803,0.785,0.731,0.807,0.730,0.628,0.630,0.642,0.609,0.581
+15.874,0.827,0.812,0.754,0.823,0.741,0.651,0.711,0.755,0.733,0.669
+36.938,0.786,0.792,0.748,0.814,0.746,0.701,0.784,0.821,0.831,0.867
+85.951,0.746,0.776,0.748,0.816,0.812,0.769,0.858,0.882,0.878,0.887
+200.000,0.680,0.727,0.699,0.820,0.777,0.756,0.816,0.833,0.852,0.911
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.302,0.490,0.500,0.600,0.535,0.468,0.476,0.436,0.447,0.466
+0.233,0.326,0.504,0.514,0.613,0.549,0.479,0.486,0.449,0.458,0.474
+0.541,0.383,0.537,0.546,0.645,0.579,0.504,0.510,0.479,0.483,0.492
+1.260,0.487,0.597,0.603,0.699,0.631,0.547,0.549,0.528,0.526,0.522
+2.932,0.620,0.673,0.654,0.743,0.672,0.581,0.573,0.560,0.553,0.547
+6.822,0.803,0.785,0.731,0.807,0.730,0.628,0.630,0.642,0.609,0.581
+15.874,0.827,0.812,0.754,0.823,0.741,0.651,0.711,0.755,0.733,0.669
+36.938,0.786,0.792,0.748,0.814,0.746,0.701,0.784,0.821,0.831,0.867
+85.951,0.746,0.776,0.748,0.816,0.812,0.769,0.858,0.882,0.878,0.887
+200.000,0.680,0.727,0.699,0.820,0.777,0.756,0.816,0.833,0.852,0.911
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.435,0.603,0.591,0.666,0.605,0.543,0.454,0.426,0.435,0.439
+0.233,0.458,0.616,0.604,0.678,0.616,0.553,0.468,0.441,0.449,0.452
+0.541,0.513,0.645,0.632,0.706,0.643,0.575,0.499,0.477,0.482,0.483
+1.260,0.614,0.700,0.682,0.753,0.689,0.612,0.549,0.535,0.535,0.533
+2.932,0.744,0.773,0.731,0.795,0.726,0.641,0.576,0.567,0.563,0.558
+6.822,0.917,0.875,0.798,0.852,0.775,0.677,0.634,0.650,0.620,0.593
+15.874,0.913,0.877,0.798,0.847,0.766,0.678,0.713,0.761,0.742,0.680
+36.938,0.843,0.830,0.767,0.817,0.750,0.702,0.785,0.827,0.839,0.878
+85.951,0.797,0.810,0.764,0.817,0.810,0.774,0.866,0.892,0.890,0.901
+200.000,0.713,0.753,0.714,0.817,0.774,0.770,0.833,0.853,0.849,0.893
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.506,0.654,0.632,0.680,0.623,0.567,0.558,0.514,0.516,0.515
+0.233,0.528,0.666,0.643,0.691,0.633,0.575,0.569,0.527,0.528,0.527
+0.541,0.578,0.693,0.670,0.716,0.657,0.594,0.595,0.557,0.555,0.552
+1.260,0.671,0.744,0.717,0.761,0.699,0.626,0.636,0.607,0.600,0.594
+2.932,0.792,0.813,0.764,0.802,0.735,0.654,0.656,0.634,0.623,0.614
+6.822,0.950,0.906,0.826,0.856,0.781,0.687,0.704,0.706,0.669,0.639
+15.874,0.940,0.900,0.818,0.847,0.767,0.702,0.770,0.801,0.772,0.706
+36.938,0.867,0.848,0.781,0.812,0.746,0.755,0.824,0.848,0.849,0.880
+85.951,0.823,0.830,0.781,0.815,0.806,0.826,0.900,0.908,0.896,0.898
+200.000,0.743,0.776,0.735,0.817,0.766,0.809,0.853,0.854,0.856,0.911
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.384,0.504,0.519,0.607,0.546,0.517,0.548,0.510,0.516,0.518
+0.233,0.403,0.518,0.532,0.620,0.558,0.527,0.558,0.523,0.528,0.529
+0.541,0.448,0.549,0.563,0.651,0.588,0.552,0.582,0.553,0.555,0.554
+1.260,0.532,0.608,0.618,0.704,0.640,0.592,0.620,0.601,0.599,0.595
+2.932,0.656,0.686,0.673,0.752,0.683,0.616,0.641,0.629,0.623,0.617
+6.822,0.829,0.801,0.754,0.822,0.745,0.650,0.690,0.704,0.672,0.643
+15.874,0.854,0.829,0.778,0.841,0.755,0.671,0.754,0.799,0.776,0.712
+36.938,0.814,0.808,0.771,0.831,0.756,0.717,0.802,0.841,0.850,0.887
+85.951,0.786,0.803,0.783,0.842,0.828,0.787,0.879,0.902,0.897,0.906
+200.000,0.712,0.752,0.745,0.860,0.801,0.774,0.833,0.846,0.864,0.920
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.307,0.401,0.390,0.526,0.460,0.464,0.491,0.456,0.485,0.500
+0.233,0.325,0.412,0.405,0.541,0.474,0.476,0.502,0.469,0.493,0.506
+0.541,0.365,0.440,0.441,0.576,0.507,0.504,0.529,0.499,0.512,0.520
+1.260,0.444,0.493,0.504,0.635,0.564,0.549,0.572,0.548,0.543,0.544
+2.932,0.572,0.571,0.568,0.690,0.615,0.569,0.591,0.574,0.566,0.562
+6.822,0.752,0.692,0.666,0.775,0.692,0.600,0.641,0.652,0.617,0.587
+15.874,0.789,0.749,0.717,0.816,0.725,0.635,0.724,0.767,0.741,0.675
+36.938,0.775,0.762,0.745,0.836,0.755,0.702,0.794,0.830,0.835,0.869
+85.951,0.758,0.775,0.777,0.867,0.846,0.774,0.872,0.891,0.880,0.889
+200.000,0.697,0.737,0.758,0.906,0.845,0.778,0.847,0.855,0.893,0.955
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.391,0.237,0.286,0.453,0.429,0.467,0.499,0.458,0.478,0.494
+0.233,0.369,0.253,0.303,0.470,0.446,0.478,0.510,0.471,0.489,0.502
+0.541,0.317,0.289,0.344,0.509,0.484,0.504,0.536,0.504,0.514,0.521
+1.260,0.266,0.358,0.416,0.577,0.549,0.545,0.576,0.556,0.554,0.551
+2.932,0.430,0.459,0.485,0.637,0.604,0.561,0.591,0.581,0.577,0.571
+6.822,0.665,0.616,0.598,0.733,0.691,0.591,0.638,0.660,0.628,0.600
+15.874,0.736,0.699,0.674,0.793,0.739,0.641,0.724,0.782,0.761,0.693
+36.938,0.743,0.735,0.723,0.829,0.783,0.718,0.798,0.847,0.859,0.898
+85.951,0.741,0.759,0.765,0.869,0.885,0.805,0.875,0.908,0.903,0.911
+200.000,0.693,0.739,0.761,0.932,0.914,0.796,0.864,0.888,0.878,0.934
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.421,0.237,0.237,0.348,0.390,0.431,0.462,0.463,0.496,0.514
+0.233,0.399,0.251,0.247,0.367,0.403,0.442,0.473,0.471,0.502,0.519
+0.541,0.348,0.282,0.270,0.411,0.435,0.468,0.498,0.487,0.514,0.532
+1.260,0.296,0.345,0.317,0.488,0.492,0.508,0.538,0.517,0.536,0.551
+2.932,0.451,0.447,0.396,0.557,0.554,0.525,0.555,0.543,0.549,0.554
+6.822,0.680,0.609,0.527,0.668,0.653,0.561,0.604,0.623,0.591,0.562
+15.874,0.757,0.687,0.616,0.740,0.713,0.623,0.694,0.748,0.725,0.664
+36.938,0.749,0.696,0.673,0.786,0.768,0.714,0.770,0.816,0.824,0.872
+85.951,0.726,0.712,0.714,0.827,0.874,0.809,0.841,0.872,0.864,0.888
+200.000,0.648,0.696,0.715,0.900,0.918,0.819,0.839,0.866,0.855,0.892
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.311,0.307,0.345,0.492,0.450,0.390,0.421,0.451,0.485,0.503
+0.233,0.302,0.321,0.360,0.506,0.464,0.403,0.433,0.458,0.492,0.510
+0.541,0.282,0.356,0.395,0.540,0.497,0.432,0.461,0.474,0.508,0.526
+1.260,0.278,0.422,0.456,0.599,0.554,0.481,0.506,0.501,0.533,0.551
+2.932,0.445,0.512,0.520,0.655,0.605,0.525,0.526,0.521,0.537,0.556
+6.822,0.684,0.652,0.623,0.744,0.685,0.591,0.578,0.591,0.565,0.571
+15.874,0.750,0.716,0.682,0.792,0.724,0.640,0.668,0.715,0.694,0.680
+36.938,0.744,0.729,0.709,0.811,0.754,0.710,0.750,0.790,0.798,0.890
+85.951,0.722,0.726,0.725,0.832,0.846,0.792,0.828,0.853,0.843,0.905
+200.000,0.638,0.670,0.686,0.872,0.859,0.774,0.829,0.850,0.837,0.917
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.370,0.351,0.419,0.586,0.493,0.435,0.471,0.422,0.441,0.462
+0.233,0.354,0.364,0.431,0.598,0.505,0.446,0.482,0.436,0.452,0.470
+0.541,0.317,0.392,0.459,0.626,0.534,0.472,0.508,0.468,0.475,0.490
+1.260,0.288,0.449,0.509,0.676,0.583,0.516,0.548,0.520,0.514,0.522
+2.932,0.458,0.538,0.564,0.724,0.629,0.547,0.566,0.548,0.538,0.537
+6.822,0.697,0.676,0.653,0.801,0.700,0.597,0.615,0.628,0.592,0.560
+15.874,0.749,0.732,0.702,0.838,0.730,0.638,0.703,0.752,0.726,0.665
+36.938,0.728,0.728,0.714,0.843,0.748,0.696,0.778,0.820,0.828,0.883
+85.951,0.700,0.721,0.730,0.864,0.840,0.778,0.845,0.874,0.867,0.900
+200.000,0.608,0.651,0.681,0.890,0.841,0.751,0.828,0.856,0.849,0.921
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.466,0.375,0.386,0.492,0.420,0.419,0.460,0.404,0.433,0.451
+0.233,0.459,0.390,0.402,0.508,0.437,0.430,0.470,0.416,0.441,0.458
+0.541,0.443,0.424,0.438,0.546,0.474,0.454,0.492,0.444,0.457,0.475
+1.260,0.435,0.488,0.502,0.611,0.538,0.496,0.527,0.490,0.485,0.500
+2.932,0.539,0.566,0.562,0.667,0.591,0.533,0.539,0.513,0.502,0.509
+6.822,0.693,0.686,0.655,0.754,0.673,0.591,0.579,0.586,0.548,0.529
+15.874,0.741,0.734,0.702,0.794,0.708,0.639,0.663,0.709,0.684,0.639
+36.938,0.722,0.730,0.712,0.804,0.732,0.707,0.746,0.792,0.801,0.858
+85.951,0.676,0.702,0.700,0.802,0.808,0.772,0.817,0.855,0.853,0.892
+200.000,0.569,0.613,0.629,0.818,0.799,0.737,0.813,0.857,0.860,0.926
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.517,0.587,0.571,0.608,0.507,0.453,0.390,0.356,0.393,0.412
+0.233,0.528,0.597,0.583,0.621,0.521,0.464,0.402,0.368,0.401,0.421
+0.541,0.555,0.620,0.610,0.652,0.552,0.490,0.431,0.397,0.421,0.440
+1.260,0.603,0.661,0.657,0.703,0.604,0.533,0.475,0.444,0.452,0.471
+2.932,0.658,0.701,0.694,0.741,0.642,0.566,0.492,0.469,0.467,0.484
+6.822,0.736,0.759,0.748,0.797,0.697,0.614,0.537,0.545,0.510,0.511
+15.874,0.747,0.769,0.760,0.809,0.709,0.648,0.627,0.672,0.650,0.622
+36.938,0.706,0.742,0.741,0.792,0.712,0.703,0.726,0.773,0.783,0.838
+85.951,0.649,0.692,0.700,0.764,0.768,0.749,0.816,0.857,0.860,0.888
+200.000,0.555,0.602,0.619,0.778,0.757,0.711,0.839,0.889,0.897,0.934
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.794,0.698,0.687,0.706,0.583,0.514,0.437,0.397,0.389,0.400
+0.233,0.783,0.706,0.696,0.717,0.594,0.524,0.445,0.407,0.398,0.409
+0.541,0.758,0.725,0.718,0.742,0.620,0.546,0.464,0.430,0.419,0.432
+1.260,0.723,0.755,0.754,0.783,0.662,0.581,0.494,0.469,0.453,0.469
+2.932,0.748,0.775,0.775,0.805,0.684,0.597,0.505,0.491,0.474,0.490
+6.822,0.774,0.798,0.802,0.834,0.712,0.618,0.544,0.559,0.529,0.528
+15.874,0.753,0.787,0.797,0.835,0.713,0.644,0.633,0.688,0.673,0.639
+36.938,0.712,0.757,0.776,0.818,0.719,0.706,0.735,0.801,0.821,0.853
+85.951,0.646,0.701,0.728,0.786,0.779,0.759,0.819,0.890,0.909,0.926
+200.000,0.570,0.619,0.652,0.808,0.780,0.738,0.833,0.925,0.956,0.981
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.926,0.732,0.704,0.690,0.547,0.478,0.424,0.392,0.382,0.369
+0.233,0.907,0.741,0.714,0.702,0.560,0.489,0.434,0.403,0.393,0.379
+0.541,0.860,0.761,0.739,0.730,0.589,0.513,0.457,0.430,0.417,0.402
+1.260,0.793,0.793,0.779,0.776,0.636,0.553,0.493,0.474,0.457,0.440
+2.932,0.801,0.810,0.802,0.801,0.660,0.571,0.507,0.498,0.481,0.464
+6.822,0.804,0.828,0.830,0.833,0.690,0.594,0.551,0.573,0.544,0.516
+15.874,0.777,0.812,0.822,0.829,0.686,0.614,0.652,0.717,0.707,0.660
+36.938,0.738,0.780,0.797,0.809,0.689,0.671,0.772,0.853,0.878,0.910
+85.951,0.671,0.721,0.744,0.774,0.746,0.723,0.865,0.955,0.984,1.006
+200.000,0.588,0.645,0.673,0.809,0.766,0.727,0.861,0.979,1.024,1.056
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.439,1.075,0.958,0.764,0.594,0.487,0.463,0.428,0.415,0.399
+0.233,1.426,1.079,0.966,0.773,0.602,0.493,0.472,0.439,0.426,0.409
+0.541,1.396,1.088,0.984,0.793,0.621,0.506,0.495,0.466,0.449,0.431
+1.260,1.327,1.094,1.011,0.824,0.649,0.526,0.531,0.509,0.489,0.467
+2.932,1.169,1.042,1.010,0.826,0.650,0.525,0.546,0.533,0.512,0.491
+6.822,0.933,0.948,0.995,0.817,0.644,0.522,0.589,0.606,0.573,0.540
+15.874,0.834,0.871,0.948,0.786,0.628,0.544,0.683,0.748,0.736,0.686
+36.938,0.791,0.820,0.893,0.752,0.631,0.629,0.795,0.878,0.908,0.945
+85.951,0.720,0.732,0.788,0.677,0.649,0.689,0.881,0.977,1.011,1.039
+200.000,0.589,0.581,0.614,0.603,0.575,0.657,0.861,0.984,1.035,1.074
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.452,1.149,1.046,0.859,0.673,0.547,0.521,0.481,0.460,0.437
+0.233,1.441,1.152,1.053,0.867,0.679,0.551,0.531,0.493,0.471,0.447
+0.541,1.415,1.160,1.068,0.884,0.694,0.560,0.554,0.520,0.497,0.471
+1.260,1.353,1.161,1.089,0.908,0.715,0.573,0.589,0.565,0.538,0.509
+2.932,1.203,1.104,1.080,0.899,0.705,0.562,0.596,0.584,0.558,0.530
+6.822,0.971,0.999,1.050,0.872,0.678,0.539,0.629,0.652,0.615,0.577
+15.874,0.857,0.907,0.990,0.823,0.645,0.557,0.723,0.801,0.792,0.738
+36.938,0.811,0.853,0.931,0.783,0.645,0.649,0.844,0.948,0.986,1.031
+85.951,0.752,0.774,0.834,0.714,0.664,0.714,0.940,1.061,1.107,1.141
+200.000,0.633,0.631,0.665,0.637,0.588,0.684,0.924,1.073,1.136,1.182
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.431,1.141,1.028,0.867,0.684,0.545,0.524,0.472,0.441,0.408
+0.233,1.421,1.145,1.035,0.875,0.691,0.549,0.535,0.484,0.452,0.420
+0.541,1.398,1.154,1.051,0.893,0.708,0.560,0.561,0.514,0.479,0.448
+1.260,1.340,1.159,1.075,0.918,0.731,0.575,0.600,0.561,0.522,0.494
+2.932,1.191,1.102,1.065,0.909,0.719,0.563,0.609,0.581,0.542,0.521
+6.822,0.959,0.997,1.034,0.880,0.690,0.545,0.643,0.650,0.598,0.564
+15.874,0.840,0.903,0.972,0.828,0.651,0.569,0.731,0.794,0.771,0.702
+36.938,0.790,0.846,0.911,0.785,0.647,0.654,0.842,0.930,0.956,0.993
+85.951,0.731,0.768,0.813,0.717,0.673,0.731,0.946,1.047,1.080,1.105
+200.000,0.626,0.636,0.653,0.654,0.612,0.726,0.948,1.073,1.121,1.158
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.547,1.150,0.989,0.828,0.664,0.518,0.553,0.486,0.451,0.435
+0.233,1.533,1.154,0.997,0.836,0.672,0.524,0.562,0.498,0.462,0.448
+0.541,1.499,1.164,1.015,0.855,0.689,0.536,0.584,0.525,0.486,0.478
+1.260,1.419,1.167,1.040,0.881,0.713,0.554,0.617,0.567,0.523,0.526
+2.932,1.222,1.094,1.026,0.868,0.697,0.554,0.620,0.580,0.535,0.557
+6.822,0.917,0.956,0.981,0.826,0.657,0.549,0.642,0.635,0.574,0.601
+15.874,0.762,0.832,0.897,0.757,0.604,0.562,0.714,0.759,0.723,0.684
+36.938,0.702,0.765,0.824,0.708,0.597,0.636,0.809,0.876,0.888,0.915
+85.951,0.643,0.683,0.719,0.639,0.625,0.698,0.895,0.973,0.991,1.006
+200.000,0.551,0.558,0.560,0.581,0.576,0.679,0.882,0.985,1.019,1.046
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.407,1.057,0.918,0.809,0.681,0.559,0.501,0.443,0.411,0.399
+0.233,1.395,1.062,0.926,0.817,0.688,0.565,0.512,0.455,0.422,0.413
+0.541,1.366,1.072,0.944,0.837,0.706,0.577,0.537,0.484,0.448,0.445
+1.260,1.299,1.078,0.971,0.865,0.732,0.594,0.575,0.530,0.489,0.498
+2.932,1.139,1.024,0.968,0.863,0.727,0.585,0.588,0.550,0.507,0.529
+6.822,0.889,0.918,0.942,0.840,0.703,0.559,0.622,0.613,0.553,0.574
+15.874,0.761,0.816,0.872,0.782,0.657,0.554,0.700,0.741,0.703,0.655
+36.938,0.708,0.755,0.805,0.734,0.647,0.632,0.806,0.866,0.874,0.897
+85.951,0.643,0.669,0.697,0.657,0.667,0.694,0.894,0.967,0.981,0.993
+200.000,0.567,0.542,0.535,0.598,0.610,0.669,0.877,0.977,1.009,1.034
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.476,1.042,0.864,0.769,0.635,0.497,0.491,0.457,0.436,0.452
+0.233,1.464,1.049,0.874,0.780,0.645,0.504,0.502,0.470,0.447,0.466
+0.541,1.435,1.065,0.899,0.806,0.667,0.520,0.528,0.499,0.472,0.497
+1.260,1.363,1.078,0.935,0.842,0.699,0.544,0.569,0.546,0.513,0.549
+2.932,1.174,1.009,0.927,0.836,0.691,0.540,0.584,0.568,0.534,0.588
+6.822,0.883,0.882,0.893,0.807,0.663,0.536,0.625,0.635,0.590,0.650
+15.874,0.756,0.779,0.826,0.757,0.629,0.576,0.713,0.763,0.733,0.740
+36.938,0.745,0.754,0.789,0.748,0.660,0.673,0.821,0.882,0.884,0.903
+85.951,0.735,0.714,0.720,0.714,0.717,0.737,0.903,0.971,0.977,0.982
+200.000,0.691,0.628,0.589,0.682,0.693,0.716,0.883,0.974,0.995,1.011
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.388,0.992,0.819,0.756,0.650,0.532,0.462,0.383,0.446,0.530
+0.233,1.373,0.995,0.826,0.764,0.657,0.538,0.464,0.395,0.457,0.541
+0.541,1.338,1.002,0.843,0.783,0.675,0.550,0.469,0.422,0.483,0.566
+1.260,1.259,1.003,0.867,0.810,0.701,0.569,0.480,0.466,0.528,0.608
+2.932,1.090,0.942,0.862,0.809,0.701,0.568,0.504,0.497,0.563,0.640
+6.822,0.839,0.837,0.839,0.797,0.694,0.566,0.563,0.579,0.636,0.693
+15.874,0.759,0.774,0.803,0.779,0.693,0.602,0.681,0.733,0.758,0.788
+36.938,0.782,0.779,0.794,0.793,0.744,0.717,0.838,0.903,0.890,0.934
+85.951,0.802,0.769,0.755,0.783,0.824,0.804,0.965,1.040,1.033,1.023
+200.000,0.789,0.717,0.661,0.784,0.818,0.798,0.994,1.091,1.099,1.100
diff --git a/src/main/resources/gmm/tables/prvi-interface-epi-lower.csv b/src/main/resources/gmm/tables/prvi-interface-epi-lower.csv
new file mode 100644
index 00000000..a8f98deb
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-interface-epi-lower.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.394,-0.331,-0.247,-0.326,-0.410,-0.490,-0.559,-0.567,-0.609,-0.616
+0.251,-0.416,-0.350,-0.269,-0.337,-0.423,-0.504,-0.572,-0.582,-0.624,-0.631
+0.632,-0.469,-0.401,-0.323,-0.364,-0.455,-0.539,-0.606,-0.620,-0.661,-0.667
+1.587,-0.551,-0.477,-0.410,-0.418,-0.498,-0.583,-0.645,-0.665,-0.702,-0.707
+3.989,-0.674,-0.588,-0.552,-0.532,-0.549,-0.625,-0.676,-0.696,-0.721,-0.726
+10.026,-0.847,-0.758,-0.737,-0.695,-0.626,-0.684,-0.810,-0.910,-0.826,-0.759
+25.198,-1.002,-0.963,-0.929,-0.872,-0.783,-0.832,-0.975,-1.083,-1.138,-1.143
+63.329,-1.186,-1.157,-1.114,-1.048,-1.039,-0.996,-1.143,-1.274,-1.312,-1.382
+159.159,-1.281,-1.247,-1.199,-1.236,-1.235,-1.151,-1.205,-1.283,-1.320,-1.390
+400.000,-1.153,-1.116,-1.062,-1.221,-1.187,-1.101,-1.222,-1.305,-1.328,-1.333
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.436,-0.359,-0.330,-0.391,-0.466,-0.541,-0.609,-0.580,-0.609,-0.641
+0.251,-0.458,-0.383,-0.356,-0.402,-0.478,-0.554,-0.621,-0.598,-0.626,-0.656
+0.632,-0.512,-0.440,-0.421,-0.427,-0.506,-0.587,-0.653,-0.642,-0.667,-0.695
+1.587,-0.598,-0.529,-0.515,-0.482,-0.545,-0.626,-0.689,-0.693,-0.714,-0.740
+3.989,-0.735,-0.664,-0.643,-0.602,-0.587,-0.659,-0.711,-0.730,-0.746,-0.768
+10.026,-0.917,-0.850,-0.814,-0.760,-0.677,-0.712,-0.834,-0.935,-0.856,-0.795
+25.198,-1.066,-1.022,-0.976,-0.912,-0.815,-0.851,-0.990,-1.095,-1.151,-1.158
+63.329,-1.201,-1.161,-1.111,-1.041,-1.037,-0.990,-1.127,-1.261,-1.301,-1.373
+159.159,-1.246,-1.202,-1.148,-1.186,-1.190,-1.112,-1.156,-1.243,-1.286,-1.359
+400.000,-1.127,-1.079,-1.020,-1.178,-1.147,-1.054,-1.177,-1.269,-1.299,-1.309
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.436,-0.359,-0.330,-0.391,-0.466,-0.541,-0.609,-0.580,-0.609,-0.641
+0.251,-0.458,-0.383,-0.356,-0.402,-0.478,-0.554,-0.621,-0.598,-0.626,-0.656
+0.632,-0.512,-0.440,-0.421,-0.427,-0.506,-0.587,-0.653,-0.642,-0.667,-0.695
+1.587,-0.598,-0.529,-0.515,-0.482,-0.545,-0.626,-0.689,-0.693,-0.714,-0.740
+3.989,-0.735,-0.664,-0.643,-0.602,-0.587,-0.659,-0.711,-0.730,-0.746,-0.768
+10.026,-0.917,-0.850,-0.814,-0.760,-0.677,-0.712,-0.834,-0.935,-0.856,-0.795
+25.198,-1.066,-1.022,-0.976,-0.912,-0.815,-0.851,-0.990,-1.095,-1.151,-1.158
+63.329,-1.201,-1.161,-1.111,-1.041,-1.037,-0.990,-1.127,-1.261,-1.301,-1.373
+159.159,-1.246,-1.202,-1.148,-1.186,-1.190,-1.112,-1.156,-1.243,-1.286,-1.359
+400.000,-1.127,-1.079,-1.020,-1.178,-1.147,-1.054,-1.177,-1.269,-1.299,-1.309
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.479,-0.412,-0.360,-0.419,-0.507,-0.594,-0.672,-0.666,-0.709,-0.713
+0.251,-0.467,-0.399,-0.362,-0.427,-0.517,-0.606,-0.684,-0.681,-0.723,-0.727
+0.632,-0.438,-0.369,-0.367,-0.445,-0.542,-0.637,-0.715,-0.717,-0.758,-0.762
+1.587,-0.435,-0.371,-0.398,-0.474,-0.576,-0.672,-0.747,-0.758,-0.796,-0.801
+3.989,-0.542,-0.502,-0.510,-0.521,-0.611,-0.696,-0.758,-0.786,-0.808,-0.822
+10.026,-0.745,-0.715,-0.698,-0.666,-0.674,-0.736,-0.874,-0.989,-0.908,-0.839
+25.198,-0.990,-0.964,-0.929,-0.875,-0.793,-0.876,-1.030,-1.150,-1.213,-1.218
+63.329,-1.254,-1.218,-1.169,-1.100,-1.087,-1.040,-1.184,-1.329,-1.374,-1.448
+159.159,-1.384,-1.352,-1.301,-1.321,-1.312,-1.231,-1.233,-1.324,-1.368,-1.442
+400.000,-1.234,-1.198,-1.147,-1.284,-1.251,-1.157,-1.267,-1.366,-1.398,-1.405
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.489,-0.413,-0.355,-0.388,-0.480,-0.582,-0.673,-0.686,-0.727,-0.728
+0.251,-0.476,-0.401,-0.347,-0.392,-0.489,-0.592,-0.683,-0.701,-0.742,-0.743
+0.632,-0.445,-0.369,-0.325,-0.402,-0.510,-0.618,-0.708,-0.741,-0.781,-0.781
+1.587,-0.432,-0.359,-0.330,-0.423,-0.540,-0.649,-0.735,-0.781,-0.818,-0.819
+3.989,-0.499,-0.444,-0.439,-0.472,-0.576,-0.674,-0.748,-0.792,-0.818,-0.830
+10.026,-0.659,-0.652,-0.639,-0.612,-0.652,-0.728,-0.878,-1.005,-0.922,-0.851
+25.198,-0.968,-0.940,-0.902,-0.849,-0.772,-0.890,-1.058,-1.189,-1.256,-1.263
+63.329,-1.287,-1.246,-1.193,-1.120,-1.100,-1.065,-1.233,-1.390,-1.439,-1.518
+159.159,-1.485,-1.438,-1.376,-1.384,-1.365,-1.281,-1.295,-1.395,-1.445,-1.525
+400.000,-1.348,-1.311,-1.256,-1.368,-1.324,-1.229,-1.318,-1.427,-1.463,-1.475
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.498,-0.425,-0.382,-0.422,-0.502,-0.615,-0.744,-0.765,-0.816,-0.823
+0.251,-0.485,-0.411,-0.376,-0.423,-0.513,-0.628,-0.752,-0.779,-0.829,-0.836
+0.632,-0.451,-0.376,-0.361,-0.428,-0.539,-0.660,-0.774,-0.813,-0.863,-0.869
+1.587,-0.437,-0.359,-0.364,-0.445,-0.573,-0.697,-0.798,-0.850,-0.896,-0.903
+3.989,-0.514,-0.430,-0.440,-0.494,-0.608,-0.720,-0.808,-0.863,-0.895,-0.913
+10.026,-0.644,-0.641,-0.633,-0.613,-0.686,-0.772,-0.938,-1.082,-1.000,-0.925
+25.198,-0.976,-0.952,-0.918,-0.870,-0.805,-0.937,-1.121,-1.269,-1.345,-1.353
+63.329,-1.325,-1.288,-1.238,-1.169,-1.156,-1.120,-1.301,-1.478,-1.536,-1.620
+159.159,-1.555,-1.510,-1.451,-1.461,-1.449,-1.374,-1.368,-1.487,-1.547,-1.633
+400.000,-1.475,-1.426,-1.362,-1.475,-1.437,-1.349,-1.419,-1.545,-1.591,-1.606
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.467,-0.398,-0.354,-0.389,-0.479,-0.600,-0.761,-0.802,-0.862,-0.875
+0.251,-0.453,-0.383,-0.347,-0.393,-0.490,-0.611,-0.763,-0.813,-0.873,-0.886
+0.632,-0.417,-0.346,-0.330,-0.401,-0.515,-0.640,-0.769,-0.842,-0.903,-0.916
+1.587,-0.403,-0.333,-0.339,-0.421,-0.549,-0.672,-0.777,-0.866,-0.927,-0.940
+3.989,-0.483,-0.432,-0.441,-0.469,-0.584,-0.695,-0.783,-0.848,-0.908,-0.922
+10.026,-0.648,-0.645,-0.636,-0.615,-0.661,-0.747,-0.911,-1.052,-0.971,-0.897
+25.198,-0.969,-0.945,-0.912,-0.863,-0.790,-0.918,-1.100,-1.245,-1.319,-1.326
+63.329,-1.307,-1.271,-1.223,-1.155,-1.141,-1.108,-1.289,-1.462,-1.518,-1.600
+159.159,-1.534,-1.492,-1.434,-1.449,-1.437,-1.361,-1.364,-1.477,-1.534,-1.618
+400.000,-1.464,-1.419,-1.357,-1.478,-1.440,-1.351,-1.415,-1.533,-1.575,-1.588
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.407,-0.354,-0.316,-0.372,-0.530,-0.695,-0.852,-0.884,-0.942,-0.951
+0.251,-0.393,-0.340,-0.308,-0.372,-0.525,-0.690,-0.851,-0.892,-0.951,-0.959
+0.632,-0.360,-0.305,-0.288,-0.372,-0.515,-0.678,-0.846,-0.912,-0.972,-0.980
+1.587,-0.343,-0.295,-0.294,-0.381,-0.511,-0.666,-0.828,-0.923,-0.983,-0.992
+3.989,-0.409,-0.391,-0.400,-0.422,-0.538,-0.662,-0.776,-0.885,-0.948,-0.959
+10.026,-0.587,-0.590,-0.587,-0.570,-0.604,-0.693,-0.863,-1.016,-0.963,-0.888
+25.198,-0.878,-0.862,-0.838,-0.799,-0.736,-0.848,-1.033,-1.187,-1.267,-1.276
+63.329,-1.189,-1.162,-1.124,-1.067,-1.065,-1.036,-1.200,-1.380,-1.443,-1.524
+159.159,-1.402,-1.370,-1.323,-1.348,-1.350,-1.288,-1.268,-1.393,-1.457,-1.540
+400.000,-1.363,-1.327,-1.275,-1.408,-1.384,-1.310,-1.359,-1.491,-1.541,-1.555
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.331,-0.285,-0.316,-0.413,-0.526,-0.652,-0.802,-0.834,-0.884,-0.881
+0.251,-0.318,-0.274,-0.314,-0.416,-0.532,-0.660,-0.806,-0.843,-0.894,-0.891
+0.632,-0.286,-0.246,-0.311,-0.422,-0.549,-0.681,-0.814,-0.868,-0.919,-0.916
+1.587,-0.272,-0.241,-0.321,-0.432,-0.565,-0.697,-0.814,-0.887,-0.937,-0.937
+3.989,-0.343,-0.334,-0.371,-0.445,-0.562,-0.681,-0.786,-0.868,-0.914,-0.925
+10.026,-0.531,-0.516,-0.524,-0.519,-0.592,-0.680,-0.855,-1.017,-0.957,-0.884
+25.198,-0.793,-0.766,-0.756,-0.732,-0.682,-0.799,-0.985,-1.141,-1.223,-1.222
+63.329,-1.078,-1.044,-1.021,-0.980,-0.998,-0.991,-1.117,-1.296,-1.358,-1.425
+159.159,-1.285,-1.247,-1.216,-1.261,-1.286,-1.245,-1.171,-1.295,-1.357,-1.427
+400.000,-1.289,-1.246,-1.210,-1.368,-1.366,-1.310,-1.315,-1.442,-1.489,-1.491
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.276,-0.241,-0.272,-0.386,-0.535,-0.687,-0.829,-0.847,-0.889,-0.880
+0.251,-0.264,-0.233,-0.265,-0.379,-0.529,-0.685,-0.829,-0.855,-0.898,-0.888
+0.632,-0.234,-0.212,-0.247,-0.363,-0.514,-0.680,-0.829,-0.878,-0.920,-0.910
+1.587,-0.234,-0.216,-0.252,-0.352,-0.499,-0.667,-0.816,-0.893,-0.936,-0.926
+3.989,-0.351,-0.316,-0.341,-0.373,-0.499,-0.633,-0.763,-0.871,-0.915,-0.907
+10.026,-0.547,-0.495,-0.505,-0.501,-0.530,-0.629,-0.807,-0.975,-0.939,-0.852
+25.198,-0.789,-0.731,-0.724,-0.704,-0.658,-0.751,-0.946,-1.107,-1.191,-1.192
+63.329,-1.054,-0.993,-0.976,-0.940,-0.964,-0.962,-1.089,-1.274,-1.339,-1.410
+159.159,-1.253,-1.188,-1.164,-1.217,-1.251,-1.217,-1.165,-1.291,-1.354,-1.427
+400.000,-1.281,-1.212,-1.182,-1.351,-1.358,-1.309,-1.314,-1.438,-1.481,-1.484
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.263,-0.244,-0.287,-0.346,-0.480,-0.642,-0.798,-0.838,-0.894,-0.893
+0.251,-0.257,-0.234,-0.279,-0.348,-0.481,-0.640,-0.798,-0.847,-0.903,-0.902
+0.632,-0.242,-0.209,-0.259,-0.353,-0.484,-0.634,-0.798,-0.869,-0.925,-0.925
+1.587,-0.255,-0.216,-0.265,-0.364,-0.490,-0.628,-0.786,-0.885,-0.942,-0.942
+3.989,-0.368,-0.341,-0.368,-0.395,-0.504,-0.623,-0.735,-0.860,-0.919,-0.921
+10.026,-0.545,-0.518,-0.529,-0.522,-0.541,-0.636,-0.808,-0.960,-0.939,-0.862
+25.198,-0.762,-0.734,-0.733,-0.711,-0.659,-0.757,-0.945,-1.099,-1.178,-1.176
+63.329,-0.998,-0.978,-0.968,-0.934,-0.959,-0.948,-1.084,-1.260,-1.319,-1.386
+159.159,-1.170,-1.158,-1.142,-1.205,-1.241,-1.200,-1.149,-1.265,-1.321,-1.388
+400.000,-1.185,-1.172,-1.154,-1.343,-1.353,-1.299,-1.283,-1.398,-1.436,-1.435
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.242,-0.188,-0.263,-0.346,-0.433,-0.535,-0.703,-0.773,-0.843,-0.854
+0.251,-0.271,-0.217,-0.271,-0.356,-0.445,-0.545,-0.705,-0.782,-0.853,-0.864
+0.632,-0.344,-0.289,-0.291,-0.383,-0.477,-0.573,-0.709,-0.806,-0.877,-0.889
+1.587,-0.435,-0.383,-0.341,-0.421,-0.515,-0.605,-0.709,-0.823,-0.895,-0.907
+3.989,-0.519,-0.483,-0.461,-0.474,-0.544,-0.627,-0.696,-0.798,-0.871,-0.885
+10.026,-0.645,-0.609,-0.608,-0.594,-0.582,-0.654,-0.794,-0.908,-0.890,-0.827
+25.198,-0.806,-0.765,-0.770,-0.748,-0.684,-0.767,-0.927,-1.047,-1.105,-1.103
+63.329,-0.985,-0.952,-0.954,-0.923,-0.946,-0.921,-1.056,-1.198,-1.238,-1.295
+159.159,-1.103,-1.080,-1.078,-1.156,-1.192,-1.136,-1.110,-1.195,-1.235,-1.292
+400.000,-1.074,-1.056,-1.052,-1.265,-1.274,-1.207,-1.192,-1.278,-1.301,-1.293
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.331,-0.286,-0.269,-0.311,-0.393,-0.472,-0.630,-0.722,-0.806,-0.831
+0.251,-0.359,-0.317,-0.300,-0.327,-0.405,-0.484,-0.631,-0.730,-0.815,-0.839
+0.632,-0.429,-0.394,-0.377,-0.367,-0.435,-0.516,-0.634,-0.751,-0.837,-0.861
+1.587,-0.512,-0.489,-0.477,-0.435,-0.474,-0.555,-0.638,-0.765,-0.852,-0.877
+3.989,-0.571,-0.573,-0.581,-0.552,-0.517,-0.592,-0.647,-0.742,-0.830,-0.856
+10.026,-0.660,-0.677,-0.695,-0.677,-0.613,-0.630,-0.760,-0.862,-0.849,-0.802
+25.198,-0.779,-0.803,-0.815,-0.792,-0.722,-0.747,-0.897,-1.008,-1.063,-1.071
+63.329,-0.910,-0.942,-0.949,-0.919,-0.944,-0.913,-1.034,-1.166,-1.204,-1.264
+159.159,-0.991,-1.021,-1.025,-1.112,-1.150,-1.086,-1.095,-1.172,-1.209,-1.269
+400.000,-0.941,-0.970,-0.972,-1.200,-1.206,-1.129,-1.166,-1.248,-1.271,-1.268
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.565,-0.540,-0.509,-0.447,-0.381,-0.439,-0.493,-0.552,-0.636,-0.668
+0.251,-0.589,-0.566,-0.536,-0.473,-0.402,-0.455,-0.507,-0.564,-0.648,-0.681
+0.632,-0.648,-0.630,-0.603,-0.540,-0.453,-0.494,-0.543,-0.593,-0.678,-0.711
+1.587,-0.709,-0.705,-0.686,-0.627,-0.526,-0.541,-0.584,-0.624,-0.709,-0.742
+3.989,-0.722,-0.756,-0.760,-0.717,-0.620,-0.579,-0.612,-0.633,-0.711,-0.744
+10.026,-0.756,-0.806,-0.824,-0.795,-0.708,-0.620,-0.732,-0.819,-0.761,-0.724
+25.198,-0.820,-0.866,-0.882,-0.852,-0.766,-0.736,-0.868,-0.964,-1.012,-1.014
+63.329,-0.887,-0.930,-0.942,-0.910,-0.933,-0.884,-1.007,-1.125,-1.158,-1.213
+159.159,-0.899,-0.941,-0.951,-1.050,-1.084,-1.002,-1.074,-1.144,-1.178,-1.233
+400.000,-0.805,-0.845,-0.854,-1.100,-1.101,-1.059,-1.170,-1.248,-1.269,-1.276
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.726,-0.656,-0.622,-0.558,-0.466,-0.427,-0.474,-0.578,-0.669,-0.705
+0.251,-0.742,-0.679,-0.647,-0.584,-0.489,-0.443,-0.488,-0.590,-0.681,-0.717
+0.632,-0.784,-0.736,-0.709,-0.647,-0.548,-0.483,-0.525,-0.620,-0.712,-0.748
+1.587,-0.821,-0.800,-0.784,-0.726,-0.624,-0.533,-0.568,-0.649,-0.741,-0.777
+3.989,-0.807,-0.834,-0.841,-0.800,-0.702,-0.578,-0.603,-0.646,-0.738,-0.774
+10.026,-0.811,-0.863,-0.884,-0.858,-0.772,-0.630,-0.730,-0.809,-0.787,-0.751
+25.198,-0.848,-0.897,-0.917,-0.891,-0.806,-0.756,-0.871,-0.961,-1.012,-1.043
+63.329,-0.881,-0.929,-0.946,-0.919,-0.952,-0.910,-1.008,-1.123,-1.155,-1.216
+159.159,-0.868,-0.913,-0.927,-1.035,-1.080,-1.006,-1.070,-1.139,-1.173,-1.232
+400.000,-0.783,-0.825,-0.838,-1.096,-1.105,-1.049,-1.160,-1.238,-1.303,-1.344
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.757,-0.688,-0.644,-0.573,-0.468,-0.510,-0.546,-0.531,-0.630,-0.671
+0.251,-0.778,-0.713,-0.672,-0.599,-0.493,-0.524,-0.559,-0.544,-0.644,-0.684
+0.632,-0.830,-0.775,-0.740,-0.667,-0.554,-0.560,-0.591,-0.578,-0.678,-0.719
+1.587,-0.876,-0.842,-0.820,-0.751,-0.635,-0.602,-0.627,-0.617,-0.712,-0.752
+3.989,-0.854,-0.868,-0.876,-0.829,-0.722,-0.635,-0.650,-0.645,-0.714,-0.753
+10.026,-0.833,-0.879,-0.906,-0.881,-0.792,-0.663,-0.764,-0.838,-0.764,-0.733
+25.198,-0.852,-0.906,-0.931,-0.907,-0.821,-0.767,-0.891,-0.978,-1.021,-1.029
+63.329,-0.881,-0.937,-0.957,-0.929,-0.951,-0.900,-1.019,-1.131,-1.160,-1.219
+159.159,-0.866,-0.917,-0.934,-1.029,-1.061,-0.980,-1.065,-1.131,-1.163,-1.254
+400.000,-0.752,-0.800,-0.814,-1.048,-1.051,-1.014,-1.126,-1.211,-1.347,-1.389
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.666,-0.664,-0.631,-0.564,-0.468,-0.473,-0.529,-0.600,-0.708,-0.749
+0.251,-0.688,-0.689,-0.656,-0.590,-0.492,-0.488,-0.542,-0.612,-0.720,-0.761
+0.632,-0.742,-0.750,-0.721,-0.654,-0.551,-0.525,-0.576,-0.641,-0.749,-0.791
+1.587,-0.795,-0.816,-0.798,-0.735,-0.628,-0.569,-0.614,-0.669,-0.777,-0.818
+3.989,-0.796,-0.844,-0.852,-0.810,-0.710,-0.601,-0.636,-0.667,-0.771,-0.813
+10.026,-0.806,-0.866,-0.891,-0.867,-0.781,-0.636,-0.747,-0.841,-0.815,-0.787
+25.198,-0.840,-0.896,-0.920,-0.897,-0.812,-0.760,-0.880,-0.980,-1.034,-1.070
+63.329,-0.888,-0.928,-0.948,-0.922,-0.952,-0.912,-1.007,-1.132,-1.167,-1.247
+159.159,-0.896,-0.920,-0.935,-1.039,-1.083,-1.008,-1.062,-1.138,-1.176,-1.261
+400.000,-0.816,-0.841,-0.853,-1.107,-1.118,-1.038,-1.153,-1.238,-1.316,-1.360
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.676,-0.651,-0.623,-0.558,-0.459,-0.481,-0.554,-0.668,-0.790,-0.831
+0.251,-0.698,-0.678,-0.650,-0.584,-0.483,-0.496,-0.568,-0.680,-0.802,-0.843
+0.632,-0.753,-0.744,-0.717,-0.649,-0.542,-0.535,-0.604,-0.710,-0.833,-0.874
+1.587,-0.810,-0.820,-0.800,-0.735,-0.624,-0.580,-0.643,-0.738,-0.860,-0.901
+3.989,-0.825,-0.867,-0.872,-0.826,-0.721,-0.615,-0.666,-0.728,-0.850,-0.891
+10.026,-0.860,-0.915,-0.933,-0.901,-0.808,-0.661,-0.788,-0.900,-0.891,-0.858
+25.198,-0.934,-0.984,-0.996,-0.960,-0.863,-0.801,-0.947,-1.061,-1.126,-1.153
+63.329,-1.023,-1.068,-1.074,-1.031,-1.028,-0.962,-1.105,-1.243,-1.287,-1.337
+159.159,-1.075,-1.116,-1.117,-1.181,-1.189,-1.094,-1.182,-1.268,-1.312,-1.362
+400.000,-1.047,-1.084,-1.082,-1.270,-1.249,-1.169,-1.291,-1.382,-1.411,-1.409
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.715,-0.727,-0.698,-0.628,-0.523,-0.464,-0.531,-0.647,-0.782,-0.825
+0.251,-0.740,-0.753,-0.724,-0.654,-0.546,-0.482,-0.548,-0.659,-0.795,-0.837
+0.632,-0.803,-0.819,-0.790,-0.717,-0.603,-0.527,-0.591,-0.689,-0.825,-0.867
+1.587,-0.868,-0.894,-0.871,-0.800,-0.683,-0.584,-0.641,-0.718,-0.852,-0.894
+3.989,-0.888,-0.940,-0.944,-0.892,-0.781,-0.635,-0.675,-0.715,-0.842,-0.884
+10.026,-0.929,-0.988,-1.004,-0.968,-0.870,-0.711,-0.816,-0.916,-0.884,-0.854
+25.198,-1.016,-1.068,-1.077,-1.035,-0.932,-0.855,-0.995,-1.101,-1.159,-1.156
+63.329,-1.120,-1.165,-1.167,-1.117,-1.100,-1.029,-1.174,-1.304,-1.345,-1.388
+159.159,-1.189,-1.229,-1.225,-1.274,-1.264,-1.153,-1.256,-1.333,-1.374,-1.417
+400.000,-1.183,-1.219,-1.210,-1.375,-1.334,-1.225,-1.340,-1.420,-1.444,-1.420
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.818,-0.826,-0.790,-0.711,-0.593,-0.513,-0.573,-0.669,-0.812,-0.852
+0.251,-0.844,-0.854,-0.818,-0.737,-0.617,-0.531,-0.589,-0.681,-0.825,-0.864
+0.632,-0.908,-0.923,-0.888,-0.804,-0.676,-0.576,-0.630,-0.713,-0.856,-0.895
+1.587,-0.970,-0.997,-0.969,-0.888,-0.757,-0.633,-0.679,-0.743,-0.884,-0.923
+3.989,-0.968,-1.025,-1.029,-0.971,-0.849,-0.687,-0.719,-0.744,-0.876,-0.914
+10.026,-0.983,-1.050,-1.070,-1.033,-0.928,-0.760,-0.868,-0.953,-0.926,-0.886
+25.198,-1.054,-1.114,-1.127,-1.086,-0.979,-0.923,-1.055,-1.146,-1.197,-1.210
+63.329,-1.153,-1.206,-1.212,-1.162,-1.141,-1.106,-1.243,-1.361,-1.395,-1.430
+159.159,-1.232,-1.278,-1.276,-1.323,-1.309,-1.223,-1.328,-1.390,-1.423,-1.451
+400.000,-1.256,-1.297,-1.288,-1.447,-1.398,-1.283,-1.384,-1.445,-1.459,-1.418
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.891,-0.843,-0.810,-0.734,-0.614,-0.550,-0.606,-0.674,-0.835,-0.881
+0.251,-0.913,-0.870,-0.839,-0.762,-0.639,-0.566,-0.620,-0.686,-0.846,-0.893
+0.632,-0.970,-0.940,-0.912,-0.832,-0.702,-0.606,-0.655,-0.715,-0.875,-0.921
+1.587,-1.014,-1.009,-0.994,-0.919,-0.786,-0.657,-0.696,-0.743,-0.900,-0.945
+3.989,-0.970,-1.015,-1.040,-0.996,-0.878,-0.712,-0.726,-0.748,-0.886,-0.931
+10.026,-0.932,-1.005,-1.053,-1.035,-0.942,-0.776,-0.866,-0.951,-0.930,-0.902
+25.198,-0.965,-1.039,-1.081,-1.061,-0.969,-0.914,-1.043,-1.134,-1.196,-1.219
+63.329,-1.032,-1.109,-1.144,-1.117,-1.114,-1.083,-1.217,-1.333,-1.381,-1.456
+159.159,-1.093,-1.173,-1.200,-1.272,-1.278,-1.178,-1.281,-1.342,-1.378,-1.454
+400.000,-1.137,-1.209,-1.226,-1.411,-1.377,-1.247,-1.289,-1.348,-1.363,-1.331
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.313,-1.220,-1.067,-0.915,-0.763,-0.576,-0.544,-0.601,-0.769,-0.823
+0.251,-1.328,-1.239,-1.088,-0.944,-0.788,-0.597,-0.560,-0.611,-0.779,-0.833
+0.632,-1.365,-1.286,-1.141,-1.014,-0.852,-0.650,-0.599,-0.636,-0.804,-0.858
+1.587,-1.361,-1.308,-1.191,-1.094,-0.931,-0.719,-0.647,-0.664,-0.826,-0.880
+3.989,-1.199,-1.209,-1.184,-1.136,-1.003,-0.795,-0.687,-0.681,-0.817,-0.869
+10.026,-1.013,-1.050,-1.104,-1.101,-1.010,-0.834,-0.826,-0.882,-0.872,-0.855
+25.198,-0.933,-0.979,-1.045,-1.044,-0.965,-0.898,-0.997,-1.066,-1.162,-1.189
+63.329,-0.903,-0.972,-1.031,-1.027,-1.054,-1.050,-1.172,-1.271,-1.393,-1.467
+159.159,-0.903,-0.984,-1.036,-1.145,-1.180,-1.144,-1.239,-1.290,-1.422,-1.499
+400.000,-0.966,-1.036,-1.074,-1.303,-1.287,-1.169,-1.246,-1.286,-1.300,-1.325
diff --git a/src/main/resources/gmm/tables/prvi-interface-epi-upper.csv b/src/main/resources/gmm/tables/prvi-interface-epi-upper.csv
new file mode 100644
index 00000000..ce7daebe
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-interface-epi-upper.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.603,0.557,0.523,0.482,0.430,0.368,0.399,0.405,0.426,0.420
+0.251,0.610,0.565,0.532,0.491,0.438,0.375,0.407,0.418,0.438,0.431
+0.632,0.628,0.587,0.554,0.515,0.461,0.393,0.428,0.450,0.468,0.461
+1.587,0.675,0.632,0.595,0.551,0.492,0.423,0.460,0.488,0.503,0.496
+3.989,0.797,0.733,0.673,0.609,0.530,0.476,0.508,0.516,0.522,0.523
+10.026,0.923,0.856,0.789,0.712,0.613,0.541,0.630,0.677,0.617,0.577
+25.198,0.960,0.904,0.848,0.780,0.686,0.650,0.756,0.809,0.827,0.829
+63.329,0.947,0.896,0.847,0.788,0.761,0.768,0.879,0.945,0.953,0.985
+159.159,0.914,0.863,0.814,0.822,0.803,0.836,0.931,0.971,0.979,1.012
+400.000,0.913,0.859,0.807,0.885,0.845,0.843,0.931,0.964,0.960,0.958
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.706,0.674,0.639,0.595,0.540,0.473,0.438,0.404,0.418,0.441
+0.251,0.713,0.680,0.645,0.602,0.546,0.479,0.451,0.420,0.433,0.455
+0.632,0.730,0.695,0.661,0.620,0.564,0.493,0.484,0.460,0.469,0.488
+1.587,0.771,0.729,0.692,0.648,0.587,0.512,0.524,0.509,0.514,0.530
+3.989,0.869,0.810,0.754,0.691,0.614,0.536,0.560,0.555,0.554,0.567
+10.026,0.964,0.905,0.844,0.772,0.676,0.579,0.667,0.715,0.652,0.611
+25.198,0.976,0.927,0.877,0.815,0.726,0.679,0.781,0.832,0.850,0.850
+63.329,0.940,0.895,0.851,0.796,0.775,0.780,0.886,0.950,0.957,0.989
+159.159,0.884,0.835,0.789,0.800,0.785,0.831,0.921,0.958,0.966,0.998
+400.000,0.859,0.807,0.756,0.834,0.795,0.843,0.926,0.957,0.953,0.952
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.706,0.674,0.639,0.595,0.540,0.473,0.438,0.404,0.418,0.441
+0.251,0.713,0.680,0.645,0.602,0.546,0.479,0.451,0.420,0.433,0.455
+0.632,0.730,0.695,0.661,0.620,0.564,0.493,0.484,0.460,0.469,0.488
+1.587,0.771,0.729,0.692,0.648,0.587,0.512,0.524,0.509,0.514,0.530
+3.989,0.869,0.810,0.754,0.691,0.614,0.536,0.560,0.555,0.554,0.567
+10.026,0.964,0.905,0.844,0.772,0.676,0.579,0.667,0.715,0.652,0.611
+25.198,0.976,0.927,0.877,0.815,0.726,0.679,0.781,0.832,0.850,0.850
+63.329,0.940,0.895,0.851,0.796,0.775,0.780,0.886,0.950,0.957,0.989
+159.159,0.884,0.835,0.789,0.800,0.785,0.831,0.921,0.958,0.966,0.998
+400.000,0.859,0.807,0.756,0.834,0.795,0.843,0.926,0.957,0.953,0.952
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.624,0.597,0.566,0.526,0.474,0.430,0.514,0.513,0.533,0.522
+0.251,0.633,0.605,0.574,0.535,0.482,0.434,0.520,0.524,0.543,0.532
+0.632,0.657,0.626,0.595,0.555,0.501,0.446,0.535,0.551,0.569,0.556
+1.587,0.709,0.669,0.633,0.589,0.528,0.466,0.550,0.577,0.594,0.582
+3.989,0.825,0.765,0.708,0.646,0.567,0.500,0.554,0.575,0.594,0.591
+10.026,0.944,0.881,0.818,0.745,0.649,0.561,0.655,0.715,0.665,0.634
+25.198,0.973,0.921,0.869,0.806,0.717,0.679,0.789,0.853,0.880,0.890
+63.329,0.949,0.903,0.859,0.807,0.785,0.798,0.915,0.993,1.009,1.051
+159.159,0.899,0.854,0.812,0.826,0.814,0.860,0.967,1.020,1.038,1.079
+400.000,0.881,0.832,0.786,0.867,0.833,0.872,0.972,1.018,1.023,1.030
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.504,0.455,0.430,0.397,0.389,0.482,0.558,0.549,0.565,0.554
+0.251,0.514,0.467,0.441,0.408,0.393,0.485,0.563,0.559,0.575,0.563
+0.632,0.540,0.495,0.469,0.435,0.402,0.495,0.575,0.584,0.599,0.586
+1.587,0.601,0.554,0.521,0.481,0.425,0.502,0.579,0.607,0.621,0.607
+3.989,0.749,0.683,0.624,0.561,0.483,0.497,0.550,0.603,0.619,0.605
+10.026,0.911,0.843,0.774,0.696,0.596,0.551,0.651,0.711,0.657,0.624
+25.198,0.971,0.915,0.860,0.792,0.700,0.684,0.799,0.864,0.891,0.900
+63.329,0.970,0.922,0.876,0.821,0.797,0.821,0.945,1.025,1.042,1.083
+159.159,0.938,0.890,0.846,0.858,0.846,0.903,1.016,1.073,1.091,1.133
+400.000,0.929,0.882,0.837,0.914,0.882,0.924,1.031,1.081,1.086,1.092
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.471,0.453,0.431,0.401,0.407,0.493,0.565,0.562,0.593,0.582
+0.251,0.485,0.464,0.441,0.411,0.408,0.498,0.571,0.572,0.600,0.588
+0.632,0.518,0.491,0.466,0.436,0.411,0.508,0.586,0.597,0.617,0.604
+1.587,0.592,0.551,0.518,0.481,0.429,0.521,0.598,0.620,0.633,0.623
+3.989,0.760,0.691,0.628,0.564,0.488,0.533,0.592,0.613,0.628,0.637
+10.026,0.944,0.869,0.795,0.713,0.611,0.593,0.700,0.771,0.721,0.689
+25.198,1.014,0.954,0.894,0.825,0.731,0.730,0.852,0.927,0.960,0.973
+63.329,1.018,0.967,0.920,0.866,0.842,0.859,0.995,1.088,1.113,1.160
+159.159,0.990,0.941,0.897,0.909,0.898,0.926,1.054,1.128,1.157,1.204
+400.000,0.994,0.944,0.899,0.973,0.943,0.946,1.070,1.140,1.158,1.171
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.402,0.384,0.371,0.460,0.550,0.631,0.697,0.678,0.692,0.676
+0.251,0.418,0.397,0.382,0.451,0.545,0.630,0.697,0.685,0.698,0.681
+0.632,0.457,0.431,0.410,0.428,0.532,0.626,0.698,0.700,0.713,0.695
+1.587,0.538,0.498,0.465,0.428,0.511,0.606,0.685,0.709,0.722,0.703
+3.989,0.711,0.642,0.579,0.513,0.478,0.536,0.628,0.682,0.699,0.682
+10.026,0.904,0.828,0.754,0.671,0.571,0.544,0.650,0.721,0.687,0.651
+25.198,0.983,0.923,0.864,0.796,0.705,0.692,0.814,0.889,0.924,0.940
+63.329,0.996,0.946,0.900,0.848,0.825,0.838,0.972,1.066,1.092,1.140
+159.159,0.972,0.926,0.885,0.899,0.891,0.920,1.048,1.123,1.153,1.202
+400.000,0.978,0.930,0.888,0.965,0.940,0.944,1.072,1.145,1.164,1.179
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.338,0.324,0.328,0.422,0.517,0.606,0.679,0.675,0.693,0.679
+0.251,0.353,0.338,0.337,0.413,0.513,0.605,0.681,0.682,0.700,0.686
+0.632,0.391,0.371,0.361,0.390,0.502,0.603,0.684,0.699,0.717,0.702
+1.587,0.469,0.437,0.412,0.388,0.483,0.588,0.676,0.711,0.729,0.714
+3.989,0.635,0.575,0.523,0.469,0.444,0.531,0.630,0.690,0.712,0.697
+10.026,0.819,0.753,0.689,0.618,0.528,0.512,0.616,0.729,0.705,0.643
+25.198,0.902,0.849,0.799,0.740,0.658,0.655,0.775,0.849,0.883,0.900
+63.329,0.926,0.883,0.845,0.801,0.788,0.791,0.924,1.019,1.045,1.094
+159.159,0.918,0.878,0.845,0.868,0.870,0.870,0.999,1.076,1.107,1.156
+400.000,0.942,0.900,0.864,0.952,0.936,0.912,1.041,1.117,1.138,1.152
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.290,0.347,0.423,0.513,0.610,0.702,0.785,0.797,0.822,0.807
+0.251,0.308,0.341,0.404,0.500,0.602,0.699,0.783,0.802,0.827,0.811
+0.632,0.353,0.325,0.359,0.468,0.583,0.690,0.780,0.813,0.838,0.822
+1.587,0.431,0.341,0.332,0.429,0.540,0.660,0.759,0.812,0.839,0.823
+3.989,0.571,0.466,0.403,0.398,0.441,0.574,0.685,0.765,0.798,0.784
+10.026,0.730,0.623,0.562,0.509,0.437,0.497,0.615,0.761,0.754,0.697
+25.198,0.817,0.726,0.692,0.649,0.583,0.618,0.752,0.835,0.870,0.883
+63.329,0.866,0.790,0.767,0.737,0.746,0.730,0.878,0.985,1.016,1.066
+159.159,0.886,0.821,0.801,0.844,0.869,0.830,0.931,1.019,1.055,1.105
+400.000,0.924,0.884,0.864,0.977,0.986,0.943,0.953,1.045,1.073,1.088
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.264,0.272,0.329,0.430,0.536,0.636,0.725,0.741,0.768,0.758
+0.251,0.280,0.273,0.317,0.418,0.529,0.634,0.724,0.746,0.773,0.763
+0.632,0.321,0.276,0.286,0.389,0.512,0.627,0.723,0.759,0.787,0.776
+1.587,0.392,0.308,0.283,0.366,0.476,0.603,0.708,0.764,0.793,0.782
+3.989,0.521,0.428,0.396,0.391,0.395,0.530,0.648,0.731,0.764,0.755
+10.026,0.670,0.591,0.557,0.513,0.443,0.488,0.595,0.745,0.740,0.688
+25.198,0.764,0.698,0.673,0.637,0.572,0.602,0.730,0.803,0.832,0.841
+63.329,0.823,0.760,0.743,0.718,0.732,0.717,0.859,0.955,0.979,1.024
+159.159,0.857,0.796,0.782,0.832,0.861,0.821,0.918,0.997,1.026,1.071
+400.000,0.904,0.867,0.853,0.975,0.987,0.942,0.948,1.032,1.053,1.063
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.339,0.273,0.311,0.418,0.530,0.635,0.725,0.736,0.762,0.754
+0.251,0.357,0.291,0.307,0.406,0.522,0.631,0.724,0.741,0.767,0.758
+0.632,0.404,0.337,0.297,0.374,0.503,0.622,0.721,0.753,0.779,0.769
+1.587,0.470,0.404,0.310,0.354,0.467,0.596,0.703,0.756,0.783,0.773
+3.989,0.560,0.491,0.403,0.396,0.392,0.524,0.642,0.723,0.755,0.746
+10.026,0.665,0.596,0.536,0.508,0.451,0.438,0.592,0.742,0.735,0.683
+25.198,0.733,0.668,0.641,0.620,0.568,0.567,0.691,0.765,0.808,0.814
+63.329,0.779,0.719,0.714,0.701,0.729,0.707,0.835,0.933,0.958,1.003
+159.159,0.802,0.755,0.756,0.825,0.869,0.837,0.912,0.992,1.022,1.069
+400.000,0.828,0.815,0.814,0.965,0.990,0.951,0.974,1.058,1.080,1.092
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.453,0.390,0.333,0.295,0.406,0.526,0.633,0.663,0.699,0.697
+0.251,0.468,0.407,0.355,0.319,0.401,0.525,0.634,0.670,0.705,0.703
+0.632,0.506,0.448,0.411,0.377,0.387,0.522,0.636,0.686,0.721,0.719
+1.587,0.550,0.499,0.481,0.452,0.392,0.508,0.627,0.697,0.733,0.730
+3.989,0.579,0.545,0.549,0.529,0.468,0.464,0.580,0.675,0.715,0.713
+10.026,0.618,0.608,0.623,0.612,0.556,0.482,0.576,0.710,0.710,0.664
+25.198,0.662,0.666,0.683,0.675,0.624,0.585,0.698,0.757,0.791,0.793
+63.329,0.697,0.712,0.730,0.725,0.756,0.721,0.814,0.895,0.907,0.942
+159.159,0.707,0.729,0.747,0.827,0.869,0.817,0.875,0.936,0.954,0.990
+400.000,0.701,0.723,0.736,0.905,0.920,0.855,0.937,0.998,1.006,1.008
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.490,0.435,0.420,0.378,0.318,0.448,0.565,0.605,0.647,0.653
+0.251,0.507,0.454,0.439,0.399,0.336,0.445,0.564,0.611,0.652,0.658
+0.632,0.551,0.500,0.487,0.451,0.382,0.437,0.562,0.623,0.665,0.671
+1.587,0.595,0.554,0.545,0.516,0.444,0.432,0.551,0.632,0.675,0.680
+3.989,0.600,0.587,0.596,0.577,0.512,0.442,0.513,0.616,0.662,0.668
+10.026,0.610,0.628,0.647,0.638,0.582,0.477,0.569,0.661,0.668,0.631
+25.198,0.641,0.669,0.687,0.679,0.627,0.579,0.681,0.736,0.763,0.768
+63.329,0.675,0.701,0.719,0.713,0.739,0.698,0.788,0.861,0.870,0.901
+159.159,0.683,0.709,0.725,0.802,0.837,0.777,0.842,0.896,0.910,0.943
+400.000,0.670,0.693,0.704,0.869,0.875,0.801,0.912,0.965,0.969,0.970
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.620,0.565,0.507,0.457,0.373,0.345,0.408,0.470,0.519,0.537
+0.251,0.629,0.576,0.525,0.477,0.393,0.356,0.415,0.478,0.527,0.546
+0.632,0.651,0.603,0.572,0.528,0.443,0.386,0.431,0.501,0.550,0.567
+1.587,0.670,0.634,0.628,0.590,0.506,0.422,0.452,0.523,0.572,0.589
+3.989,0.661,0.656,0.667,0.644,0.569,0.453,0.475,0.523,0.574,0.592
+10.026,0.653,0.674,0.696,0.684,0.622,0.501,0.564,0.604,0.610,0.583
+25.198,0.660,0.690,0.711,0.703,0.644,0.587,0.665,0.710,0.732,0.752
+63.329,0.667,0.704,0.725,0.718,0.740,0.687,0.764,0.823,0.823,0.844
+159.159,0.657,0.692,0.711,0.793,0.822,0.744,0.822,0.856,0.858,0.880
+400.000,0.602,0.632,0.645,0.824,0.818,0.826,0.910,0.935,0.924,0.915
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.654,0.600,0.581,0.547,0.480,0.379,0.420,0.492,0.547,0.564
+0.251,0.663,0.611,0.594,0.562,0.495,0.391,0.424,0.500,0.554,0.572
+0.632,0.685,0.639,0.628,0.600,0.532,0.422,0.434,0.518,0.573,0.590
+1.587,0.699,0.669,0.668,0.645,0.579,0.463,0.450,0.535,0.591,0.608
+3.989,0.668,0.683,0.697,0.683,0.621,0.504,0.479,0.529,0.587,0.605
+10.026,0.661,0.697,0.719,0.712,0.656,0.543,0.572,0.605,0.613,0.588
+25.198,0.670,0.705,0.726,0.720,0.666,0.617,0.671,0.709,0.727,0.746
+63.329,0.672,0.705,0.725,0.717,0.743,0.697,0.768,0.817,0.811,0.831
+159.159,0.658,0.687,0.702,0.780,0.809,0.738,0.818,0.842,0.838,0.859
+400.000,0.632,0.656,0.664,0.830,0.824,0.814,0.888,0.904,0.887,0.877
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.728,0.672,0.618,0.576,0.499,0.384,0.390,0.446,0.509,0.531
+0.251,0.736,0.683,0.634,0.594,0.517,0.399,0.400,0.456,0.519,0.541
+0.632,0.756,0.709,0.675,0.638,0.560,0.436,0.426,0.483,0.546,0.568
+1.587,0.766,0.732,0.719,0.690,0.614,0.485,0.457,0.509,0.573,0.594
+3.989,0.723,0.725,0.741,0.727,0.662,0.536,0.478,0.512,0.577,0.599
+10.026,0.673,0.710,0.740,0.739,0.686,0.572,0.565,0.605,0.613,0.590
+25.198,0.659,0.704,0.733,0.732,0.680,0.628,0.666,0.707,0.740,0.761
+63.329,0.657,0.700,0.727,0.724,0.748,0.697,0.765,0.816,0.810,0.853
+159.159,0.630,0.669,0.692,0.772,0.799,0.733,0.819,0.844,0.839,0.861
+400.000,0.550,0.584,0.599,0.768,0.759,0.828,0.901,0.914,0.896,0.913
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.751,0.691,0.597,0.488,0.417,0.308,0.441,0.540,0.605,0.618
+0.251,0.760,0.702,0.609,0.509,0.437,0.325,0.445,0.550,0.614,0.627
+0.632,0.784,0.731,0.640,0.560,0.488,0.370,0.457,0.573,0.637,0.650
+1.587,0.793,0.752,0.672,0.620,0.549,0.426,0.469,0.593,0.659,0.671
+3.989,0.742,0.725,0.682,0.661,0.600,0.480,0.470,0.587,0.654,0.667
+10.026,0.681,0.673,0.693,0.691,0.640,0.528,0.552,0.642,0.673,0.646
+25.198,0.660,0.679,0.706,0.705,0.655,0.605,0.662,0.699,0.773,0.786
+63.329,0.649,0.690,0.716,0.712,0.738,0.692,0.769,0.817,0.809,0.844
+159.159,0.640,0.677,0.699,0.779,0.811,0.743,0.828,0.854,0.850,0.872
+400.000,0.599,0.633,0.649,0.820,0.821,0.839,0.918,0.937,0.921,0.913
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.819,0.752,0.651,0.513,0.455,0.356,0.449,0.550,0.617,0.636
+0.251,0.825,0.761,0.661,0.528,0.470,0.369,0.453,0.559,0.625,0.645
+0.632,0.841,0.784,0.687,0.567,0.508,0.402,0.462,0.580,0.646,0.666
+1.587,0.844,0.797,0.708,0.615,0.557,0.445,0.473,0.601,0.668,0.686
+3.989,0.789,0.764,0.697,0.660,0.602,0.487,0.480,0.601,0.670,0.689
+10.026,0.724,0.708,0.724,0.712,0.652,0.534,0.571,0.673,0.699,0.674
+25.198,0.715,0.744,0.760,0.747,0.688,0.627,0.697,0.731,0.809,0.828
+63.329,0.737,0.765,0.780,0.768,0.783,0.727,0.827,0.872,0.865,0.885
+159.159,0.741,0.765,0.776,0.844,0.863,0.816,0.906,0.930,0.926,0.936
+400.000,0.749,0.769,0.775,0.925,0.912,0.903,0.989,1.009,0.996,0.978
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.791,0.718,0.610,0.531,0.472,0.373,0.433,0.499,0.572,0.599
+0.251,0.801,0.731,0.624,0.546,0.488,0.386,0.442,0.510,0.582,0.609
+0.632,0.828,0.764,0.660,0.586,0.527,0.420,0.467,0.537,0.609,0.635
+1.587,0.844,0.791,0.699,0.638,0.579,0.466,0.498,0.562,0.635,0.661
+3.989,0.802,0.771,0.718,0.693,0.635,0.520,0.524,0.561,0.636,0.663
+10.026,0.748,0.747,0.766,0.756,0.696,0.577,0.627,0.662,0.670,0.653
+25.198,0.756,0.788,0.806,0.795,0.733,0.670,0.760,0.791,0.802,0.820
+63.329,0.780,0.811,0.827,0.814,0.826,0.785,0.884,0.925,0.918,0.914
+159.159,0.782,0.809,0.821,0.889,0.905,0.860,0.951,0.973,0.969,0.966
+400.000,0.780,0.802,0.810,0.962,0.949,0.918,1.006,1.026,1.013,0.983
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.934,0.853,0.737,0.591,0.534,0.431,0.436,0.520,0.596,0.627
+0.251,0.942,0.864,0.750,0.607,0.550,0.445,0.446,0.531,0.606,0.637
+0.632,0.963,0.892,0.781,0.647,0.591,0.481,0.473,0.557,0.632,0.662
+1.587,0.964,0.906,0.805,0.696,0.641,0.526,0.508,0.582,0.657,0.686
+3.989,0.886,0.855,0.780,0.738,0.684,0.568,0.541,0.582,0.659,0.689
+10.026,0.788,0.766,0.789,0.783,0.728,0.611,0.653,0.680,0.694,0.678
+25.198,0.761,0.799,0.820,0.811,0.751,0.713,0.799,0.817,0.828,0.854
+63.329,0.783,0.819,0.838,0.827,0.838,0.852,0.938,0.963,0.947,0.931
+159.159,0.782,0.814,0.830,0.899,0.914,0.927,1.004,1.009,0.995,0.969
+400.000,0.770,0.799,0.812,0.969,0.958,0.947,1.025,1.030,1.009,0.957
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.030,0.945,0.825,0.682,0.613,0.492,0.420,0.504,0.585,0.616
+0.251,1.036,0.954,0.836,0.698,0.628,0.505,0.431,0.514,0.595,0.626
+0.632,1.051,0.977,0.862,0.736,0.668,0.541,0.456,0.539,0.620,0.650
+1.587,1.040,0.981,0.879,0.782,0.716,0.585,0.488,0.565,0.646,0.676
+3.989,0.937,0.908,0.840,0.814,0.756,0.629,0.514,0.569,0.652,0.682
+10.026,0.802,0.786,0.822,0.824,0.772,0.652,0.619,0.659,0.695,0.679
+25.198,0.735,0.783,0.814,0.810,0.753,0.703,0.768,0.779,0.846,0.874
+63.329,0.734,0.778,0.802,0.793,0.808,0.836,0.911,0.921,0.914,0.977
+159.159,0.727,0.766,0.785,0.856,0.874,0.910,0.975,0.968,0.947,0.960
+400.000,0.728,0.764,0.781,0.943,0.937,0.882,0.953,0.948,0.920,0.925
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.187,1.095,0.970,0.802,0.676,0.531,0.400,0.452,0.539,0.568
+0.251,1.190,1.101,0.977,0.814,0.695,0.548,0.408,0.462,0.549,0.578
+0.632,1.197,1.116,0.997,0.847,0.743,0.591,0.429,0.489,0.576,0.604
+1.587,1.174,1.109,1.001,0.881,0.798,0.644,0.455,0.516,0.604,0.632
+3.989,1.051,1.017,0.941,0.896,0.829,0.686,0.478,0.527,0.615,0.643
+10.026,0.876,0.854,0.853,0.855,0.802,0.677,0.577,0.627,0.670,0.652
+25.198,0.752,0.755,0.783,0.776,0.717,0.680,0.740,0.752,0.844,0.867
+63.329,0.671,0.709,0.727,0.711,0.719,0.824,0.888,0.887,0.949,1.003
+159.159,0.658,0.694,0.706,0.770,0.781,0.883,0.934,0.914,0.959,1.013
+400.000,0.745,0.745,0.757,0.915,0.908,0.810,0.864,0.851,0.943,0.968
diff --git a/src/main/resources/gmm/tables/prvi-intraslab-epi-lower.csv b/src/main/resources/gmm/tables/prvi-intraslab-epi-lower.csv
new file mode 100644
index 00000000..462d7ca2
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-intraslab-epi-lower.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.315,-1.259,-1.180,-1.074,-0.937,-0.778,-0.610,-0.523,-0.438,-0.459
+0.251,-1.305,-1.256,-1.183,-1.081,-0.945,-0.783,-0.612,-0.514,-0.446,-0.472
+0.632,-1.281,-1.249,-1.192,-1.098,-0.964,-0.797,-0.617,-0.493,-0.464,-0.504
+1.587,-1.240,-1.230,-1.193,-1.113,-0.982,-0.810,-0.623,-0.479,-0.501,-0.555
+3.989,-1.172,-1.180,-1.165,-1.103,-0.981,-0.809,-0.627,-0.504,-0.585,-0.636
+10.026,-1.108,-1.122,-1.123,-1.086,-0.987,-0.824,-0.805,-0.732,-0.783,-0.785
+25.198,-1.144,-1.104,-1.099,-1.066,-0.983,-0.970,-1.044,-1.023,-1.158,-1.196
+63.329,-1.194,-1.124,-1.112,-1.071,-1.097,-1.106,-1.231,-1.297,-1.432,-1.500
+159.159,-1.212,-1.204,-1.187,-1.279,-1.301,-1.311,-1.421,-1.469,-1.604,-1.664
+400.000,-1.477,-1.464,-1.443,-1.686,-1.659,-1.755,-1.858,-1.902,-2.024,-2.035
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.204,-1.131,-1.030,-0.896,-0.733,-0.550,-0.416,-0.398,-0.415,-0.476
+0.251,-1.207,-1.141,-1.044,-0.913,-0.749,-0.562,-0.430,-0.395,-0.428,-0.489
+0.632,-1.215,-1.165,-1.081,-0.956,-0.789,-0.594,-0.463,-0.386,-0.461,-0.521
+1.587,-1.210,-1.187,-1.123,-1.010,-0.844,-0.640,-0.517,-0.400,-0.514,-0.573
+3.989,-1.162,-1.178,-1.151,-1.064,-0.909,-0.703,-0.607,-0.489,-0.598,-0.654
+10.026,-1.086,-1.130,-1.145,-1.107,-0.992,-0.838,-0.827,-0.749,-0.803,-0.809
+25.198,-1.111,-1.100,-1.118,-1.096,-1.015,-0.998,-1.071,-1.048,-1.185,-1.226
+63.329,-1.178,-1.126,-1.138,-1.112,-1.140,-1.123,-1.251,-1.318,-1.456,-1.526
+159.159,-1.210,-1.237,-1.247,-1.358,-1.386,-1.323,-1.434,-1.486,-1.624,-1.684
+400.000,-1.545,-1.570,-1.575,-1.845,-1.822,-1.774,-1.874,-1.919,-2.042,-2.055
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.204,-1.131,-1.030,-0.896,-0.733,-0.550,-0.416,-0.398,-0.415,-0.476
+0.251,-1.207,-1.141,-1.044,-0.913,-0.749,-0.562,-0.430,-0.395,-0.428,-0.489
+0.632,-1.215,-1.165,-1.081,-0.956,-0.789,-0.594,-0.463,-0.386,-0.461,-0.521
+1.587,-1.210,-1.187,-1.123,-1.010,-0.844,-0.640,-0.517,-0.400,-0.514,-0.573
+3.989,-1.162,-1.178,-1.151,-1.064,-0.909,-0.703,-0.607,-0.489,-0.598,-0.654
+10.026,-1.086,-1.130,-1.145,-1.107,-0.992,-0.838,-0.827,-0.749,-0.803,-0.809
+25.198,-1.111,-1.100,-1.118,-1.096,-1.015,-0.998,-1.071,-1.048,-1.185,-1.226
+63.329,-1.178,-1.126,-1.138,-1.112,-1.140,-1.123,-1.251,-1.318,-1.456,-1.526
+159.159,-1.210,-1.237,-1.247,-1.358,-1.386,-1.323,-1.434,-1.486,-1.624,-1.684
+400.000,-1.545,-1.570,-1.575,-1.845,-1.822,-1.774,-1.874,-1.919,-2.042,-2.055
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.313,-1.251,-1.161,-1.037,-0.882,-0.703,-0.513,-0.391,-0.402,-0.462
+0.251,-1.310,-1.255,-1.170,-1.050,-0.894,-0.712,-0.518,-0.388,-0.415,-0.474
+0.632,-1.301,-1.263,-1.193,-1.081,-0.926,-0.736,-0.531,-0.379,-0.447,-0.506
+1.587,-1.275,-1.264,-1.216,-1.119,-0.966,-0.768,-0.558,-0.391,-0.498,-0.555
+3.989,-1.204,-1.232,-1.220,-1.148,-1.005,-0.804,-0.613,-0.475,-0.578,-0.633
+10.026,-1.095,-1.147,-1.177,-1.154,-1.051,-0.869,-0.815,-0.728,-0.777,-0.784
+25.198,-1.229,-1.077,-1.106,-1.099,-1.032,-0.981,-1.044,-1.013,-1.146,-1.204
+63.329,-1.318,-1.059,-1.078,-1.064,-1.112,-1.078,-1.194,-1.258,-1.393,-1.484
+159.159,-1.328,-1.126,-1.138,-1.257,-1.302,-1.232,-1.341,-1.391,-1.525,-1.584
+400.000,-1.400,-1.418,-1.423,-1.694,-1.685,-1.649,-1.748,-1.791,-1.912,-1.925
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.281,-1.204,-1.104,-0.977,-0.824,-0.652,-0.517,-0.444,-0.435,-0.491
+0.251,-1.278,-1.208,-1.114,-0.991,-0.839,-0.665,-0.523,-0.440,-0.449,-0.505
+0.632,-1.271,-1.219,-1.140,-1.027,-0.876,-0.697,-0.537,-0.429,-0.483,-0.538
+1.587,-1.249,-1.221,-1.164,-1.066,-0.921,-0.736,-0.570,-0.439,-0.536,-0.590
+3.989,-1.188,-1.188,-1.162,-1.089,-0.954,-0.768,-0.650,-0.520,-0.614,-0.666
+10.026,-1.119,-1.130,-1.132,-1.094,-0.991,-0.872,-0.854,-0.768,-0.805,-0.808
+25.198,-1.248,-1.090,-1.086,-1.055,-0.974,-1.000,-1.070,-1.039,-1.168,-1.230
+63.329,-1.342,-1.084,-1.072,-1.036,-1.074,-1.077,-1.202,-1.264,-1.395,-1.492
+159.159,-1.351,-1.136,-1.119,-1.224,-1.261,-1.222,-1.328,-1.373,-1.505,-1.566
+400.000,-1.385,-1.371,-1.351,-1.625,-1.611,-1.632,-1.727,-1.767,-1.885,-1.899
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.265,-1.192,-1.095,-0.970,-0.815,-0.639,-0.455,-0.331,-0.406,-0.465
+0.251,-1.263,-1.197,-1.105,-0.982,-0.827,-0.648,-0.466,-0.342,-0.420,-0.479
+0.632,-1.259,-1.209,-1.130,-1.013,-0.857,-0.671,-0.494,-0.369,-0.456,-0.514
+1.587,-1.237,-1.211,-1.153,-1.049,-0.896,-0.702,-0.540,-0.414,-0.510,-0.566
+3.989,-1.168,-1.174,-1.150,-1.074,-0.934,-0.741,-0.621,-0.496,-0.589,-0.643
+10.026,-1.080,-1.103,-1.113,-1.082,-0.980,-0.837,-0.826,-0.747,-0.783,-0.785
+25.198,-1.255,-1.058,-1.066,-1.046,-0.974,-0.963,-1.041,-1.018,-1.177,-1.251
+63.329,-1.349,-1.057,-1.053,-1.025,-1.069,-1.043,-1.175,-1.244,-1.386,-1.510
+159.159,-1.345,-1.113,-1.105,-1.217,-1.262,-1.191,-1.303,-1.354,-1.486,-1.551
+400.000,-1.365,-1.363,-1.352,-1.632,-1.625,-1.605,-1.707,-1.751,-1.869,-1.883
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.183,-1.107,-1.004,-0.872,-0.709,-0.527,-0.453,-0.315,-0.422,-0.483
+0.251,-1.187,-1.118,-1.021,-0.891,-0.729,-0.543,-0.466,-0.330,-0.436,-0.496
+0.632,-1.198,-1.145,-1.062,-0.939,-0.777,-0.584,-0.498,-0.365,-0.469,-0.529
+1.587,-1.196,-1.170,-1.108,-1.000,-0.840,-0.642,-0.549,-0.419,-0.520,-0.578
+3.989,-1.145,-1.159,-1.136,-1.055,-0.905,-0.716,-0.626,-0.497,-0.595,-0.652
+10.026,-1.061,-1.100,-1.119,-1.088,-0.979,-0.848,-0.831,-0.744,-0.785,-0.792
+25.198,-1.241,-1.052,-1.068,-1.052,-0.980,-0.976,-1.047,-1.015,-1.168,-1.242
+63.329,-1.373,-1.078,-1.069,-1.045,-1.086,-1.055,-1.181,-1.242,-1.378,-1.499
+159.159,-1.407,-1.156,-1.155,-1.269,-1.312,-1.227,-1.321,-1.364,-1.499,-1.562
+400.000,-1.465,-1.468,-1.461,-1.744,-1.736,-1.664,-1.756,-1.790,-1.909,-1.924
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.178,-1.120,-1.043,-0.943,-0.819,-0.677,-0.531,-0.461,-0.461,-0.530
+0.251,-1.170,-1.120,-1.050,-0.954,-0.831,-0.687,-0.537,-0.455,-0.475,-0.544
+0.632,-1.153,-1.120,-1.066,-0.981,-0.860,-0.711,-0.553,-0.441,-0.513,-0.581
+1.587,-1.124,-1.113,-1.079,-1.009,-0.893,-0.741,-0.587,-0.449,-0.569,-0.635
+3.989,-1.080,-1.081,-1.069,-1.018,-0.913,-0.766,-0.665,-0.535,-0.652,-0.716
+10.026,-1.073,-1.052,-1.050,-1.021,-0.937,-0.891,-0.879,-0.794,-0.854,-0.870
+25.198,-1.327,-1.074,-1.052,-1.016,-0.942,-1.038,-1.118,-1.089,-1.237,-1.293
+63.329,-1.490,-1.144,-1.099,-1.046,-1.074,-1.134,-1.271,-1.339,-1.487,-1.567
+159.159,-1.550,-1.237,-1.187,-1.266,-1.292,-1.308,-1.426,-1.477,-1.623,-1.692
+400.000,-1.547,-1.485,-1.429,-1.665,-1.641,-1.754,-1.861,-1.906,-2.039,-2.059
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.259,-1.215,-1.145,-1.043,-0.908,-0.747,-0.574,-0.474,-0.563,-0.633
+0.251,-1.257,-1.220,-1.156,-1.056,-0.921,-0.756,-0.585,-0.481,-0.577,-0.647
+0.632,-1.254,-1.235,-1.184,-1.091,-0.954,-0.780,-0.611,-0.499,-0.613,-0.681
+1.587,-1.238,-1.243,-1.213,-1.133,-0.997,-0.814,-0.658,-0.538,-0.668,-0.735
+3.989,-1.183,-1.219,-1.221,-1.166,-1.042,-0.858,-0.748,-0.625,-0.751,-0.817
+10.026,-1.110,-1.154,-1.188,-1.177,-1.090,-0.976,-0.967,-0.881,-0.952,-0.970
+25.198,-1.308,-1.127,-1.147,-1.139,-1.078,-1.116,-1.199,-1.171,-1.324,-1.378
+63.329,-1.486,-1.158,-1.157,-1.131,-1.171,-1.195,-1.338,-1.408,-1.559,-1.639
+159.159,-1.568,-1.247,-1.232,-1.331,-1.360,-1.342,-1.462,-1.516,-1.664,-1.732
+400.000,-1.572,-1.491,-1.468,-1.714,-1.687,-1.720,-1.829,-1.875,-2.009,-2.030
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.084,-1.025,-0.953,-0.863,-0.755,-0.635,-0.595,-0.514,-0.613,-0.679
+0.251,-1.085,-1.033,-0.968,-0.882,-0.774,-0.652,-0.609,-0.523,-0.627,-0.693
+0.632,-1.086,-1.054,-1.005,-0.929,-0.822,-0.694,-0.646,-0.546,-0.662,-0.727
+1.587,-1.086,-1.073,-1.044,-0.981,-0.877,-0.757,-0.702,-0.590,-0.716,-0.779
+3.989,-1.079,-1.067,-1.052,-1.006,-0.911,-0.852,-0.790,-0.675,-0.797,-0.858
+10.026,-1.125,-1.089,-1.069,-1.031,-0.984,-1.003,-1.005,-0.929,-0.992,-1.003
+25.198,-1.307,-1.160,-1.114,-1.060,-0.986,-1.142,-1.231,-1.208,-1.355,-1.403
+63.329,-1.530,-1.258,-1.197,-1.126,-1.149,-1.221,-1.365,-1.434,-1.579,-1.654
+159.159,-1.645,-1.363,-1.291,-1.369,-1.394,-1.353,-1.473,-1.523,-1.665,-1.730
+400.000,-1.657,-1.534,-1.455,-1.715,-1.686,-1.675,-1.784,-1.827,-1.955,-1.971
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.105,-1.060,-1.016,-0.967,-0.909,-0.847,-0.791,-0.688,-0.653,-0.717
+0.251,-1.089,-1.052,-1.016,-0.972,-0.916,-0.853,-0.794,-0.692,-0.667,-0.731
+0.632,-1.050,-1.031,-1.013,-0.983,-0.934,-0.867,-0.800,-0.701,-0.703,-0.765
+1.587,-1.009,-1.001,-0.999,-0.983,-0.940,-0.882,-0.811,-0.714,-0.757,-0.817
+3.989,-0.997,-0.959,-0.949,-0.937,-0.899,-0.884,-0.830,-0.733,-0.832,-0.891
+10.026,-1.100,-1.000,-0.947,-0.911,-0.956,-0.992,-1.014,-0.959,-1.022,-1.028
+25.198,-1.314,-1.138,-1.042,-0.965,-0.953,-1.126,-1.234,-1.231,-1.386,-1.433
+63.329,-1.595,-1.283,-1.163,-1.057,-1.071,-1.205,-1.366,-1.453,-1.604,-1.683
+159.159,-1.762,-1.399,-1.264,-1.294,-1.304,-1.335,-1.471,-1.535,-1.682,-1.750
+400.000,-1.803,-1.514,-1.369,-1.565,-1.523,-1.634,-1.758,-1.813,-1.944,-1.961
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.006,-0.964,-0.923,-0.876,-0.820,-0.762,-0.712,-0.623,-0.671,-0.735
+0.251,-0.998,-0.963,-0.928,-0.886,-0.832,-0.773,-0.719,-0.630,-0.685,-0.749
+0.632,-0.979,-0.961,-0.943,-0.912,-0.862,-0.798,-0.737,-0.647,-0.720,-0.783
+1.587,-0.961,-0.955,-0.951,-0.933,-0.888,-0.832,-0.767,-0.678,-0.773,-0.834
+3.989,-0.966,-0.936,-0.929,-0.917,-0.876,-0.868,-0.822,-0.733,-0.850,-0.908
+10.026,-1.064,-0.981,-0.941,-0.911,-0.951,-0.993,-1.022,-0.974,-1.040,-1.046
+25.198,-1.314,-1.111,-1.031,-0.966,-0.958,-1.134,-1.246,-1.247,-1.403,-1.448
+63.329,-1.593,-1.263,-1.158,-1.066,-1.089,-1.221,-1.383,-1.470,-1.621,-1.697
+159.159,-1.757,-1.391,-1.270,-1.314,-1.334,-1.349,-1.485,-1.549,-1.696,-1.761
+400.000,-1.792,-1.505,-1.378,-1.592,-1.559,-1.616,-1.742,-1.800,-1.931,-1.947
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.989,-0.913,-0.857,-0.814,-0.780,-0.760,-0.767,-0.746,-0.670,-0.732
+0.251,-0.970,-0.900,-0.852,-0.814,-0.784,-0.764,-0.768,-0.749,-0.686,-0.747
+0.632,-0.920,-0.869,-0.839,-0.816,-0.792,-0.772,-0.771,-0.756,-0.726,-0.785
+1.587,-0.877,-0.829,-0.810,-0.815,-0.811,-0.796,-0.786,-0.763,-0.783,-0.841
+3.989,-0.896,-0.788,-0.741,-0.807,-0.856,-0.862,-0.834,-0.768,-0.861,-0.917
+10.026,-1.083,-0.884,-0.762,-0.839,-0.960,-1.002,-1.032,-0.988,-1.052,-1.054
+25.198,-1.343,-1.106,-0.934,-0.826,-0.977,-1.152,-1.262,-1.262,-1.414,-1.454
+63.329,-1.611,-1.313,-1.120,-0.960,-1.041,-1.254,-1.413,-1.495,-1.641,-1.711
+159.159,-1.779,-1.445,-1.240,-1.216,-1.199,-1.384,-1.519,-1.578,-1.719,-1.779
+400.000,-1.819,-1.504,-1.290,-1.423,-1.443,-1.614,-1.738,-1.792,-1.918,-1.929
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-0.992,-0.942,-0.899,-0.856,-0.812,-0.770,-0.743,-0.687,-0.793,-0.848
+0.251,-0.984,-0.941,-0.903,-0.864,-0.820,-0.777,-0.752,-0.696,-0.807,-0.861
+0.632,-0.963,-0.937,-0.914,-0.884,-0.843,-0.795,-0.775,-0.718,-0.841,-0.894
+1.587,-0.947,-0.931,-0.921,-0.902,-0.871,-0.831,-0.816,-0.759,-0.892,-0.943
+3.989,-0.963,-0.922,-0.908,-0.893,-0.895,-0.907,-0.894,-0.836,-0.964,-1.013
+10.026,-1.087,-0.990,-0.938,-0.902,-0.986,-1.044,-1.094,-1.076,-1.142,-1.139
+25.198,-1.281,-1.151,-1.061,-0.989,-1.003,-1.182,-1.306,-1.329,-1.482,-1.518
+63.329,-1.521,-1.326,-1.214,-1.117,-1.137,-1.272,-1.441,-1.539,-1.687,-1.754
+159.159,-1.693,-1.449,-1.321,-1.363,-1.381,-1.383,-1.529,-1.604,-1.747,-1.803
+400.000,-1.733,-1.522,-1.386,-1.599,-1.566,-1.563,-1.698,-1.768,-1.896,-1.904
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.052,-0.980,-0.925,-0.877,-0.834,-0.798,-0.784,-0.746,-0.852,-0.899
+0.251,-1.044,-0.980,-0.932,-0.890,-0.848,-0.811,-0.796,-0.756,-0.864,-0.911
+0.632,-1.026,-0.981,-0.950,-0.921,-0.885,-0.846,-0.827,-0.782,-0.896,-0.942
+1.587,-1.012,-0.977,-0.962,-0.947,-0.926,-0.895,-0.874,-0.824,-0.943,-0.987
+3.989,-1.028,-0.961,-0.938,-0.925,-0.945,-0.960,-0.946,-0.890,-1.010,-1.052
+10.026,-1.160,-1.031,-0.963,-0.923,-1.026,-1.085,-1.138,-1.120,-1.180,-1.169
+25.198,-1.352,-1.189,-1.081,-1.000,-1.034,-1.216,-1.340,-1.361,-1.508,-1.537
+63.329,-1.587,-1.348,-1.218,-1.114,-1.143,-1.297,-1.466,-1.561,-1.702,-1.762
+159.159,-1.736,-1.447,-1.306,-1.349,-1.381,-1.388,-1.537,-1.611,-1.749,-1.800
+400.000,-1.738,-1.484,-1.333,-1.545,-1.522,-1.534,-1.676,-1.748,-1.873,-1.877
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.455,-1.440,-1.398,-1.322,-1.207,-1.062,-0.911,-0.842,-0.971,-1.012
+0.251,-1.458,-1.448,-1.410,-1.334,-1.218,-1.068,-0.921,-0.853,-0.982,-1.023
+0.632,-1.465,-1.470,-1.440,-1.366,-1.243,-1.081,-0.948,-0.883,-1.009,-1.049
+1.587,-1.458,-1.487,-1.475,-1.408,-1.281,-1.107,-0.991,-0.929,-1.052,-1.091
+3.989,-1.399,-1.471,-1.498,-1.457,-1.338,-1.156,-1.062,-0.998,-1.116,-1.153
+10.026,-1.300,-1.395,-1.466,-1.476,-1.396,-1.230,-1.238,-1.210,-1.274,-1.264
+25.198,-1.307,-1.326,-1.387,-1.408,-1.363,-1.318,-1.417,-1.429,-1.569,-1.595
+63.329,-1.463,-1.300,-1.341,-1.349,-1.406,-1.370,-1.522,-1.608,-1.745,-1.800
+159.159,-1.528,-1.309,-1.335,-1.461,-1.503,-1.436,-1.578,-1.649,-1.783,-1.830
+400.000,-1.498,-1.376,-1.395,-1.654,-1.640,-1.580,-1.717,-1.786,-1.908,-1.913
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.607,-1.559,-1.484,-1.375,-1.234,-1.074,-0.957,-0.891,-1.015,-1.048
+0.251,-1.606,-1.564,-1.493,-1.387,-1.245,-1.081,-0.967,-0.903,-1.026,-1.059
+0.632,-1.603,-1.576,-1.517,-1.417,-1.273,-1.101,-0.993,-0.932,-1.054,-1.085
+1.587,-1.585,-1.583,-1.545,-1.456,-1.313,-1.130,-1.033,-0.976,-1.095,-1.125
+3.989,-1.522,-1.564,-1.562,-1.497,-1.362,-1.175,-1.093,-1.038,-1.151,-1.180
+10.026,-1.421,-1.494,-1.537,-1.519,-1.418,-1.244,-1.252,-1.237,-1.297,-1.281
+25.198,-1.369,-1.430,-1.473,-1.473,-1.407,-1.344,-1.421,-1.443,-1.582,-1.602
+63.329,-1.379,-1.409,-1.440,-1.433,-1.473,-1.419,-1.531,-1.620,-1.755,-1.808
+159.159,-1.401,-1.417,-1.439,-1.558,-1.588,-1.493,-1.605,-1.679,-1.813,-1.858
+400.000,-1.473,-1.500,-1.515,-1.770,-1.746,-1.639,-1.778,-1.852,-1.975,-1.979
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.609,-1.539,-1.440,-1.307,-1.146,-0.966,-0.910,-0.825,-0.944,-0.979
+0.251,-1.617,-1.552,-1.456,-1.324,-1.161,-0.978,-0.922,-0.838,-0.956,-0.990
+0.632,-1.636,-1.584,-1.496,-1.367,-1.199,-1.007,-0.950,-0.869,-0.985,-1.019
+1.587,-1.640,-1.615,-1.546,-1.426,-1.257,-1.054,-0.995,-0.918,-1.030,-1.062
+3.989,-1.580,-1.614,-1.591,-1.499,-1.338,-1.128,-1.067,-0.990,-1.097,-1.126
+10.026,-1.448,-1.535,-1.577,-1.546,-1.428,-1.238,-1.237,-1.200,-1.257,-1.241
+25.198,-1.354,-1.441,-1.495,-1.497,-1.429,-1.350,-1.414,-1.420,-1.551,-1.569
+63.329,-1.320,-1.398,-1.448,-1.452,-1.485,-1.423,-1.527,-1.605,-1.734,-1.784
+159.159,-1.345,-1.417,-1.462,-1.581,-1.609,-1.515,-1.610,-1.678,-1.808,-1.851
+400.000,-1.495,-1.564,-1.607,-1.853,-1.834,-1.718,-1.821,-1.891,-2.011,-2.014
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.711,-1.592,-1.460,-1.308,-1.139,-0.962,-0.883,-0.833,-0.944,-0.964
+0.251,-1.715,-1.602,-1.474,-1.324,-1.153,-0.972,-0.895,-0.846,-0.956,-0.975
+0.632,-1.724,-1.626,-1.509,-1.362,-1.188,-0.997,-0.925,-0.877,-0.986,-1.004
+1.587,-1.715,-1.647,-1.550,-1.413,-1.237,-1.037,-0.970,-0.923,-1.029,-1.047
+3.989,-1.648,-1.632,-1.579,-1.470,-1.303,-1.097,-1.035,-0.989,-1.091,-1.107
+10.026,-1.520,-1.547,-1.550,-1.500,-1.376,-1.190,-1.192,-1.184,-1.237,-1.211
+25.198,-1.439,-1.463,-1.474,-1.450,-1.371,-1.291,-1.364,-1.394,-1.523,-1.533
+63.329,-1.418,-1.433,-1.438,-1.414,-1.429,-1.363,-1.491,-1.590,-1.718,-1.761
+159.159,-1.460,-1.469,-1.468,-1.551,-1.557,-1.462,-1.606,-1.690,-1.817,-1.855
+400.000,-1.646,-1.650,-1.647,-1.849,-1.812,-1.728,-1.872,-1.957,-2.073,-2.068
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.915,-1.757,-1.594,-1.418,-1.231,-1.041,-0.993,-0.945,-1.050,-1.059
+0.251,-1.910,-1.759,-1.600,-1.426,-1.237,-1.044,-1.004,-0.957,-1.061,-1.070
+0.632,-1.898,-1.763,-1.615,-1.445,-1.253,-1.052,-1.030,-0.987,-1.090,-1.097
+1.587,-1.866,-1.759,-1.632,-1.473,-1.281,-1.073,-1.069,-1.031,-1.131,-1.138
+3.989,-1.782,-1.728,-1.645,-1.513,-1.329,-1.129,-1.128,-1.093,-1.189,-1.194
+10.026,-1.640,-1.628,-1.601,-1.526,-1.383,-1.226,-1.282,-1.291,-1.334,-1.293
+25.198,-1.550,-1.533,-1.513,-1.463,-1.365,-1.335,-1.454,-1.501,-1.628,-1.629
+63.329,-1.527,-1.499,-1.471,-1.421,-1.405,-1.421,-1.586,-1.701,-1.826,-1.864
+159.159,-1.579,-1.545,-1.511,-1.555,-1.525,-1.552,-1.709,-1.808,-1.933,-1.966
+400.000,-1.804,-1.764,-1.727,-1.872,-1.802,-1.851,-2.008,-2.109,-2.223,-2.210
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-1.999,-1.775,-1.556,-1.333,-1.111,-1.022,-1.024,-0.963,-1.052,-1.055
+0.251,-2.004,-1.786,-1.569,-1.346,-1.122,-1.035,-1.036,-0.976,-1.065,-1.068
+0.632,-2.017,-1.812,-1.602,-1.380,-1.150,-1.067,-1.066,-1.009,-1.099,-1.101
+1.587,-2.013,-1.837,-1.646,-1.431,-1.197,-1.116,-1.110,-1.057,-1.147,-1.147
+3.989,-1.944,-1.834,-1.694,-1.507,-1.280,-1.188,-1.173,-1.124,-1.210,-1.209
+10.026,-1.797,-1.743,-1.674,-1.557,-1.377,-1.299,-1.340,-1.346,-1.370,-1.314
+25.198,-1.704,-1.643,-1.585,-1.502,-1.379,-1.415,-1.524,-1.571,-1.692,-1.686
+63.329,-1.695,-1.623,-1.557,-1.475,-1.420,-1.504,-1.663,-1.783,-1.903,-1.939
+159.159,-1.793,-1.714,-1.643,-1.639,-1.574,-1.653,-1.805,-1.906,-2.025,-2.056
+400.000,-2.120,-2.037,-1.963,-2.043,-1.940,-2.013,-2.164,-2.266,-2.373,-2.351
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,-2.189,-1.914,-1.656,-1.407,-1.168,-1.080,-1.094,-1.135,-1.146,-1.126
+0.251,-2.193,-1.924,-1.669,-1.420,-1.179,-1.095,-1.109,-1.146,-1.160,-1.142
+0.632,-2.204,-1.950,-1.703,-1.454,-1.208,-1.133,-1.145,-1.175,-1.195,-1.181
+1.587,-2.197,-1.973,-1.746,-1.505,-1.254,-1.189,-1.196,-1.211,-1.245,-1.235
+3.989,-2.126,-1.968,-1.792,-1.578,-1.333,-1.266,-1.262,-1.246,-1.312,-1.300
+10.026,-1.987,-1.878,-1.771,-1.627,-1.429,-1.384,-1.440,-1.468,-1.482,-1.409
+25.198,-1.907,-1.785,-1.685,-1.573,-1.431,-1.511,-1.638,-1.707,-1.828,-1.810
+63.329,-1.917,-1.777,-1.663,-1.549,-1.471,-1.618,-1.799,-1.943,-2.060,-2.088
+159.159,-2.038,-1.889,-1.766,-1.726,-1.638,-1.791,-1.961,-2.083,-2.199,-2.222
+400.000,-2.400,-2.245,-2.119,-2.166,-2.043,-2.191,-2.359,-2.482,-2.584,-2.550
diff --git a/src/main/resources/gmm/tables/prvi-intraslab-epi-upper.csv b/src/main/resources/gmm/tables/prvi-intraslab-epi-upper.csv
new file mode 100644
index 00000000..f4591423
--- /dev/null
+++ b/src/main/resources/gmm/tables/prvi-intraslab-epi-upper.csv
@@ -0,0 +1,264 @@
+PGA
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.959,0.944,0.925,0.898,0.861,0.816,0.771,0.689,0.657,0.598
+0.251,0.942,0.931,0.917,0.894,0.858,0.813,0.767,0.687,0.654,0.595
+0.632,0.900,0.899,0.896,0.883,0.852,0.806,0.757,0.683,0.646,0.587
+1.587,0.849,0.852,0.855,0.849,0.824,0.778,0.729,0.668,0.637,0.588
+3.989,0.806,0.781,0.768,0.757,0.735,0.695,0.656,0.625,0.635,0.625
+10.026,0.826,0.774,0.722,0.667,0.608,0.630,0.708,0.744,0.711,0.665
+25.198,0.882,0.836,0.779,0.701,0.595,0.701,0.793,0.836,0.873,0.858
+63.329,0.933,0.892,0.841,0.768,0.732,0.788,0.882,0.931,0.953,0.967
+159.159,0.993,0.950,0.898,0.907,0.874,0.864,0.947,0.974,0.999,1.015
+400.000,1.097,1.048,0.990,1.069,1.007,0.962,1.046,1.076,1.092,1.082
+SA0P01
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.882,0.862,0.838,0.807,0.766,0.719,0.675,0.603,0.573,0.514
+0.251,0.869,0.853,0.834,0.806,0.768,0.721,0.675,0.604,0.573,0.513
+0.632,0.838,0.832,0.823,0.805,0.771,0.723,0.675,0.607,0.572,0.510
+1.587,0.799,0.796,0.795,0.784,0.755,0.709,0.662,0.599,0.570,0.516
+3.989,0.766,0.737,0.719,0.704,0.678,0.638,0.609,0.552,0.562,0.556
+10.026,0.803,0.749,0.694,0.636,0.633,0.664,0.706,0.700,0.666,0.628
+25.198,0.873,0.827,0.770,0.692,0.644,0.757,0.829,0.841,0.869,0.856
+63.329,0.937,0.898,0.849,0.778,0.747,0.830,0.917,0.952,0.966,0.976
+159.159,1.003,0.965,0.919,0.941,0.921,0.884,0.965,0.985,1.002,1.014
+400.000,1.122,1.081,1.032,1.135,1.089,0.973,1.046,1.074,1.082,1.068
+SA0P02
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.882,0.862,0.838,0.807,0.766,0.719,0.675,0.603,0.573,0.514
+0.251,0.869,0.853,0.834,0.806,0.768,0.721,0.675,0.604,0.573,0.513
+0.632,0.838,0.832,0.823,0.805,0.771,0.723,0.675,0.607,0.572,0.510
+1.587,0.799,0.796,0.795,0.784,0.755,0.709,0.662,0.599,0.570,0.516
+3.989,0.766,0.737,0.719,0.704,0.678,0.638,0.609,0.552,0.562,0.556
+10.026,0.803,0.749,0.694,0.636,0.633,0.664,0.706,0.700,0.666,0.628
+25.198,0.873,0.827,0.770,0.692,0.644,0.757,0.829,0.841,0.869,0.856
+63.329,0.937,0.898,0.849,0.778,0.747,0.830,0.917,0.952,0.966,0.976
+159.159,1.003,0.965,0.919,0.941,0.921,0.884,0.965,0.985,1.002,1.014
+400.000,1.122,1.081,1.032,1.135,1.089,0.973,1.046,1.074,1.082,1.068
+SA0P03
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.911,0.879,0.842,0.797,0.740,0.677,0.618,0.540,0.501,0.435
+0.251,0.898,0.871,0.839,0.797,0.742,0.679,0.619,0.542,0.501,0.442
+0.632,0.867,0.850,0.830,0.798,0.748,0.685,0.622,0.546,0.501,0.457
+1.587,0.828,0.815,0.802,0.777,0.734,0.678,0.618,0.546,0.508,0.485
+3.989,0.791,0.751,0.721,0.692,0.653,0.629,0.593,0.528,0.534,0.537
+10.026,0.819,0.756,0.687,0.615,0.639,0.663,0.698,0.686,0.647,0.607
+25.198,0.877,0.824,0.756,0.664,0.644,0.753,0.818,0.823,0.845,0.827
+63.329,0.931,0.886,0.828,0.743,0.695,0.822,0.902,0.929,0.936,0.950
+159.159,0.991,0.948,0.892,0.901,0.863,0.869,0.941,0.953,0.964,0.972
+400.000,1.115,1.066,1.006,1.097,1.030,0.948,1.023,1.040,1.043,1.025
+SA0P05
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.937,0.910,0.878,0.839,0.789,0.733,0.676,0.585,0.537,0.467
+0.251,0.921,0.898,0.871,0.835,0.787,0.730,0.673,0.583,0.534,0.475
+0.632,0.880,0.867,0.851,0.825,0.782,0.725,0.664,0.580,0.527,0.493
+1.587,0.830,0.820,0.811,0.793,0.756,0.704,0.648,0.573,0.528,0.522
+3.989,0.789,0.751,0.725,0.703,0.670,0.643,0.614,0.555,0.559,0.565
+10.026,0.813,0.753,0.689,0.622,0.627,0.659,0.702,0.701,0.663,0.623
+25.198,0.861,0.812,0.750,0.665,0.621,0.732,0.803,0.817,0.842,0.847
+63.329,0.899,0.858,0.806,0.732,0.697,0.792,0.878,0.911,0.924,0.968
+159.159,0.949,0.907,0.857,0.872,0.847,0.837,0.917,0.936,0.953,0.965
+400.000,1.059,1.012,0.956,1.046,0.992,0.921,1.002,1.025,1.034,1.020
+SA0P075
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.876,0.853,0.827,0.794,0.751,0.700,0.649,0.559,0.513,0.444
+0.251,0.860,0.841,0.820,0.791,0.751,0.701,0.649,0.561,0.513,0.447
+0.632,0.821,0.812,0.803,0.785,0.751,0.702,0.648,0.566,0.514,0.454
+1.587,0.775,0.769,0.766,0.757,0.731,0.691,0.638,0.562,0.517,0.474
+3.989,0.743,0.707,0.686,0.672,0.649,0.638,0.597,0.527,0.528,0.524
+10.026,0.772,0.712,0.654,0.595,0.653,0.668,0.694,0.674,0.632,0.593
+25.198,0.824,0.777,0.721,0.644,0.647,0.751,0.808,0.805,0.823,0.831
+63.329,0.865,0.830,0.783,0.715,0.688,0.808,0.884,0.907,0.912,0.943
+159.159,0.917,0.881,0.835,0.854,0.838,0.848,0.916,0.924,0.933,0.940
+400.000,1.031,0.988,0.937,1.027,0.982,0.924,0.992,1.003,1.003,0.984
+SA0P1
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.833,0.810,0.787,0.758,0.720,0.677,0.634,0.557,0.512,0.442
+0.251,0.818,0.800,0.781,0.756,0.721,0.678,0.634,0.559,0.513,0.441
+0.632,0.781,0.773,0.766,0.751,0.722,0.680,0.635,0.564,0.514,0.441
+1.587,0.737,0.730,0.729,0.722,0.705,0.671,0.624,0.557,0.515,0.454
+3.989,0.704,0.662,0.638,0.625,0.635,0.626,0.583,0.510,0.515,0.511
+10.026,0.749,0.678,0.609,0.586,0.656,0.671,0.691,0.663,0.627,0.594
+25.198,0.824,0.766,0.698,0.611,0.656,0.762,0.819,0.813,0.835,0.831
+63.329,0.894,0.846,0.789,0.712,0.680,0.821,0.901,0.926,0.935,0.951
+159.159,0.966,0.919,0.865,0.875,0.853,0.859,0.935,0.949,0.961,0.970
+400.000,1.086,1.035,0.976,1.061,1.016,0.938,1.015,1.034,1.037,1.020
+SA0P15
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.809,0.783,0.767,0.748,0.724,0.697,0.676,0.621,0.588,0.523
+0.251,0.795,0.771,0.760,0.745,0.724,0.698,0.676,0.624,0.589,0.523
+0.632,0.759,0.741,0.741,0.737,0.723,0.699,0.677,0.630,0.592,0.523
+1.587,0.721,0.698,0.703,0.707,0.708,0.693,0.669,0.625,0.593,0.534
+3.989,0.702,0.637,0.616,0.613,0.653,0.660,0.635,0.578,0.585,0.577
+10.026,0.763,0.671,0.599,0.590,0.664,0.690,0.730,0.723,0.682,0.640
+25.198,0.848,0.779,0.709,0.619,0.660,0.770,0.838,0.849,0.872,0.858
+63.329,0.923,0.876,0.818,0.738,0.699,0.837,0.919,0.950,0.959,0.967
+159.159,1.007,0.962,0.908,0.911,0.884,0.880,0.956,0.972,0.984,0.994
+400.000,1.123,1.074,1.016,1.088,1.037,0.956,1.032,1.052,1.055,1.039
+SA0P2
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.831,0.816,0.804,0.790,0.774,0.758,0.748,0.703,0.674,0.609
+0.251,0.814,0.804,0.796,0.786,0.773,0.757,0.746,0.703,0.673,0.607
+0.632,0.772,0.771,0.775,0.776,0.769,0.754,0.741,0.703,0.669,0.600
+1.587,0.726,0.726,0.734,0.742,0.749,0.739,0.721,0.691,0.654,0.596
+3.989,0.707,0.666,0.646,0.644,0.684,0.689,0.660,0.636,0.606,0.603
+10.026,0.779,0.706,0.633,0.622,0.698,0.722,0.753,0.734,0.698,0.662
+25.198,0.882,0.823,0.751,0.659,0.693,0.805,0.871,0.877,0.901,0.888
+63.329,0.974,0.928,0.869,0.788,0.747,0.862,0.948,0.980,0.991,1.001
+159.159,1.057,1.013,0.959,0.965,0.938,0.891,0.973,0.993,1.008,1.020
+400.000,1.157,1.109,1.050,1.131,1.078,0.964,1.044,1.068,1.073,1.058
+SA0P25
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.764,0.748,0.741,0.736,0.729,0.723,0.725,0.696,0.671,0.607
+0.251,0.750,0.737,0.735,0.734,0.729,0.724,0.725,0.698,0.671,0.607
+0.632,0.715,0.710,0.720,0.729,0.731,0.726,0.726,0.703,0.672,0.605
+1.587,0.679,0.672,0.687,0.703,0.716,0.719,0.717,0.696,0.669,0.611
+3.989,0.666,0.623,0.610,0.615,0.652,0.681,0.681,0.649,0.658,0.645
+10.026,0.742,0.676,0.611,0.568,0.647,0.690,0.756,0.776,0.737,0.690
+25.198,0.852,0.801,0.737,0.654,0.658,0.769,0.849,0.880,0.907,0.887
+63.329,0.951,0.912,0.861,0.788,0.756,0.861,0.947,0.986,0.996,1.003
+159.159,1.036,0.999,0.952,0.963,0.944,0.922,1.002,1.021,1.034,1.044
+400.000,1.127,1.086,1.035,1.119,1.074,0.999,1.079,1.101,1.105,1.087
+SA0P3
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.762,0.679,0.672,0.666,0.661,0.659,0.668,0.653,0.632,0.608
+0.251,0.744,0.670,0.668,0.666,0.663,0.662,0.669,0.656,0.637,0.620
+0.632,0.700,0.648,0.656,0.664,0.667,0.668,0.674,0.664,0.652,0.650
+1.587,0.654,0.617,0.628,0.642,0.654,0.668,0.679,0.675,0.675,0.687
+3.989,0.642,0.575,0.558,0.561,0.582,0.645,0.684,0.690,0.710,0.715
+10.026,0.727,0.641,0.573,0.515,0.553,0.634,0.748,0.822,0.791,0.739
+25.198,0.842,0.778,0.716,0.634,0.572,0.700,0.817,0.897,0.939,0.923
+63.329,0.944,0.895,0.849,0.782,0.751,0.806,0.917,0.993,1.021,1.037
+159.159,1.026,0.983,0.943,0.958,0.943,0.880,0.983,1.033,1.064,1.085
+400.000,1.108,1.068,1.025,1.112,1.076,0.983,1.057,1.108,1.129,1.120
+SA0P4
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.717,0.630,0.624,0.622,0.623,0.632,0.653,0.656,0.636,0.636
+0.251,0.704,0.621,0.619,0.621,0.625,0.634,0.655,0.659,0.646,0.648
+0.632,0.669,0.598,0.608,0.620,0.630,0.640,0.660,0.666,0.670,0.677
+1.587,0.635,0.567,0.581,0.600,0.621,0.645,0.669,0.679,0.702,0.711
+3.989,0.636,0.534,0.516,0.521,0.566,0.638,0.688,0.705,0.733,0.736
+10.026,0.729,0.615,0.544,0.485,0.553,0.633,0.757,0.840,0.810,0.758
+25.198,0.842,0.772,0.705,0.621,0.572,0.706,0.831,0.919,0.963,0.946
+63.329,0.951,0.911,0.860,0.789,0.758,0.817,0.934,1.016,1.046,1.062
+159.159,1.049,1.013,0.968,0.980,0.964,0.893,1.002,1.058,1.092,1.112
+400.000,1.134,1.095,1.048,1.133,1.095,1.001,1.073,1.132,1.156,1.147
+SA0P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.748,0.658,0.619,0.626,0.638,0.659,0.693,0.707,0.710,0.719
+0.251,0.733,0.645,0.613,0.623,0.638,0.658,0.696,0.713,0.722,0.730
+0.632,0.695,0.612,0.598,0.617,0.637,0.658,0.704,0.727,0.753,0.758
+1.587,0.658,0.569,0.567,0.592,0.616,0.651,0.712,0.748,0.788,0.789
+3.989,0.656,0.526,0.502,0.513,0.537,0.623,0.715,0.772,0.808,0.805
+10.026,0.745,0.594,0.526,0.473,0.541,0.591,0.754,0.883,0.861,0.805
+25.198,0.852,0.754,0.687,0.608,0.533,0.659,0.808,0.931,0.984,0.966
+63.329,0.941,0.898,0.847,0.779,0.750,0.789,0.918,1.023,1.062,1.078
+159.159,1.046,1.007,0.961,0.967,0.949,0.887,1.005,1.079,1.120,1.143
+400.000,1.128,1.086,1.037,1.109,1.071,0.983,1.078,1.152,1.184,1.177
+SA0P75
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.615,0.601,0.597,0.603,0.616,0.640,0.698,0.709,0.750,0.757
+0.251,0.604,0.593,0.593,0.602,0.617,0.641,0.706,0.720,0.761,0.767
+0.632,0.575,0.573,0.583,0.600,0.620,0.644,0.726,0.749,0.789,0.792
+1.587,0.553,0.548,0.561,0.583,0.607,0.647,0.746,0.783,0.820,0.820
+3.989,0.574,0.528,0.510,0.519,0.541,0.644,0.748,0.807,0.840,0.836
+10.026,0.701,0.624,0.553,0.500,0.524,0.626,0.791,0.920,0.897,0.841
+25.198,0.852,0.790,0.722,0.645,0.566,0.697,0.850,0.976,1.028,1.010
+63.329,0.981,0.935,0.882,0.816,0.791,0.827,0.961,1.069,1.106,1.121
+159.159,1.073,1.032,0.986,0.998,0.986,0.919,1.038,1.115,1.154,1.174
+400.000,1.131,1.087,1.039,1.121,1.088,1.005,1.091,1.167,1.198,1.191
+SA1P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.694,0.669,0.655,0.652,0.661,0.684,0.730,0.765,0.812,0.814
+0.251,0.683,0.661,0.651,0.652,0.662,0.685,0.738,0.777,0.823,0.824
+0.632,0.655,0.640,0.640,0.650,0.665,0.689,0.758,0.808,0.851,0.850
+1.587,0.630,0.613,0.616,0.631,0.652,0.684,0.776,0.842,0.882,0.878
+3.989,0.638,0.585,0.559,0.562,0.581,0.649,0.771,0.860,0.897,0.889
+10.026,0.744,0.664,0.590,0.534,0.530,0.607,0.797,0.956,0.941,0.884
+25.198,0.877,0.813,0.741,0.663,0.579,0.671,0.844,0.998,1.057,1.039
+63.329,0.992,0.942,0.885,0.817,0.793,0.812,0.962,1.092,1.137,1.153
+159.159,1.073,1.026,0.974,0.980,0.963,0.923,1.057,1.153,1.198,1.219
+400.000,1.120,1.068,1.011,1.082,1.040,0.986,1.118,1.211,1.247,1.239
+SA1P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,0.909,0.860,0.823,0.799,0.786,0.789,0.815,0.827,0.798,0.729
+0.251,0.898,0.852,0.819,0.797,0.785,0.788,0.812,0.826,0.795,0.738
+0.632,0.871,0.832,0.807,0.792,0.783,0.784,0.806,0.823,0.789,0.760
+1.587,0.843,0.803,0.781,0.770,0.764,0.769,0.795,0.817,0.789,0.787
+3.989,0.836,0.763,0.719,0.699,0.692,0.718,0.776,0.805,0.813,0.811
+10.026,0.909,0.810,0.723,0.654,0.606,0.696,0.827,0.919,0.887,0.834
+25.198,1.009,0.920,0.832,0.739,0.643,0.760,0.897,0.996,1.039,1.022
+63.329,1.088,1.009,0.930,0.844,0.813,0.857,0.989,1.088,1.118,1.131
+159.159,1.135,1.058,0.981,0.978,0.953,0.924,1.041,1.111,1.143,1.159
+400.000,1.154,1.071,0.988,1.062,1.006,0.972,1.086,1.154,1.176,1.162
+SA2P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.096,1.036,0.989,0.954,0.930,0.920,0.933,0.934,0.896,0.846
+0.251,1.083,1.026,0.984,0.953,0.931,0.920,0.931,0.933,0.899,0.856
+0.632,1.049,1.003,0.972,0.950,0.932,0.919,0.925,0.929,0.907,0.882
+1.587,1.013,0.968,0.944,0.929,0.914,0.901,0.907,0.923,0.918,0.911
+3.989,0.995,0.918,0.874,0.852,0.838,0.830,0.854,0.918,0.935,0.925
+10.026,1.050,0.943,0.856,0.790,0.740,0.711,0.864,1.004,0.981,0.923
+25.198,1.128,1.026,0.933,0.841,0.746,0.737,0.902,1.041,1.090,1.068
+63.329,1.184,1.088,0.999,0.909,0.880,0.832,0.981,1.107,1.143,1.151
+159.159,1.209,1.112,1.022,1.015,0.986,0.908,1.040,1.134,1.170,1.182
+400.000,1.210,1.105,1.006,1.078,1.013,0.952,1.078,1.168,1.195,1.180
+SA3P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.209,1.140,1.077,1.015,0.953,0.895,0.855,0.807,0.816,0.815
+0.251,1.196,1.131,1.072,1.013,0.952,0.894,0.852,0.815,0.827,0.825
+0.632,1.166,1.109,1.059,1.008,0.950,0.890,0.843,0.836,0.856,0.852
+1.587,1.128,1.075,1.032,0.988,0.934,0.872,0.835,0.862,0.889,0.881
+3.989,1.095,1.022,0.969,0.924,0.872,0.812,0.834,0.884,0.907,0.896
+10.026,1.109,1.014,0.933,0.859,0.782,0.724,0.876,0.992,0.960,0.899
+25.198,1.144,1.049,0.961,0.868,0.758,0.768,0.922,1.039,1.082,1.059
+63.329,1.159,1.067,0.979,0.885,0.849,0.847,0.990,1.101,1.131,1.136
+159.159,1.155,1.059,0.968,0.966,0.925,0.899,1.025,1.107,1.139,1.147
+400.000,1.147,1.042,0.942,1.030,0.949,0.940,1.061,1.140,1.161,1.142
+SA4P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.193,1.110,1.038,0.974,0.921,0.884,0.872,0.861,0.817,0.767
+0.251,1.181,1.101,1.032,0.971,0.919,0.881,0.867,0.857,0.821,0.780
+0.632,1.150,1.078,1.017,0.963,0.912,0.872,0.855,0.846,0.832,0.811
+1.587,1.112,1.041,0.984,0.934,0.887,0.848,0.841,0.841,0.849,0.847
+3.989,1.075,0.978,0.906,0.852,0.807,0.784,0.834,0.862,0.878,0.871
+10.026,1.091,0.969,0.862,0.772,0.698,0.749,0.885,0.983,0.947,0.886
+25.198,1.129,1.011,0.898,0.785,0.672,0.797,0.939,1.042,1.083,1.059
+63.329,1.148,1.034,0.924,0.812,0.751,0.875,1.009,1.112,1.139,1.145
+159.159,1.146,1.030,0.920,0.884,0.821,0.933,1.049,1.123,1.152,1.159
+400.000,1.142,1.020,0.903,0.940,0.845,0.983,1.094,1.166,1.185,1.165
+SA5P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.249,1.164,1.087,1.017,0.956,0.910,0.888,0.867,0.885,0.883
+0.251,1.240,1.158,1.084,1.016,0.956,0.909,0.889,0.878,0.898,0.895
+0.632,1.217,1.142,1.075,1.015,0.956,0.906,0.894,0.907,0.930,0.924
+1.587,1.187,1.112,1.050,0.994,0.938,0.889,0.900,0.941,0.966,0.956
+3.989,1.156,1.057,0.978,0.917,0.863,0.828,0.904,0.965,0.986,0.973
+10.026,1.170,1.047,0.935,0.838,0.756,0.777,0.942,1.074,1.041,0.975
+25.198,1.202,1.085,0.969,0.851,0.732,0.811,0.978,1.114,1.162,1.137
+63.329,1.219,1.108,0.997,0.882,0.818,0.892,1.044,1.172,1.208,1.216
+159.159,1.220,1.108,0.998,0.959,0.895,0.956,1.091,1.187,1.225,1.235
+400.000,1.224,1.108,0.993,1.028,0.931,1.010,1.140,1.234,1.263,1.246
+SA7P5
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.346,1.240,1.145,1.064,0.997,0.951,0.933,0.932,0.958,0.947
+0.251,1.328,1.225,1.134,1.055,0.990,0.943,0.937,0.944,0.970,0.958
+0.632,1.284,1.186,1.104,1.033,0.971,0.922,0.949,0.976,1.000,0.985
+1.587,1.231,1.131,1.051,0.985,0.927,0.894,0.959,1.012,1.032,1.015
+3.989,1.191,1.054,0.951,0.878,0.824,0.855,0.956,1.030,1.048,1.027
+10.026,1.216,1.046,0.896,0.777,0.689,0.806,0.983,1.125,1.093,1.024
+25.198,1.264,1.102,0.946,0.799,0.682,0.839,1.014,1.158,1.203,1.174
+63.329,1.285,1.132,0.985,0.842,0.768,0.932,1.088,1.220,1.256,1.259
+159.159,1.284,1.134,0.990,0.909,0.853,1.010,1.147,1.249,1.286,1.294
+400.000,1.277,1.125,0.980,0.955,0.917,1.074,1.209,1.311,1.339,1.322
+SA10P0
+r\m,4.0,4.5,5.0,5.5,6.0,6.5,7.0,7.5,7.8,8.0
+0.100,1.359,1.234,1.122,1.027,0.953,0.948,1.052,1.076,1.093,1.072
+0.251,1.344,1.220,1.111,1.018,0.946,0.955,1.059,1.088,1.104,1.083
+0.632,1.305,1.186,1.084,0.998,0.928,0.972,1.079,1.119,1.133,1.110
+1.587,1.260,1.136,1.034,0.953,0.895,0.982,1.094,1.151,1.163,1.137
+3.989,1.234,1.069,0.941,0.850,0.829,0.954,1.076,1.158,1.169,1.141
+10.026,1.284,1.087,0.907,0.765,0.760,0.891,1.082,1.238,1.200,1.123
+25.198,1.352,1.169,0.987,0.818,0.771,0.922,1.102,1.257,1.301,1.268
+63.329,1.391,1.224,1.056,0.893,0.875,1.032,1.185,1.320,1.353,1.357
+159.159,1.403,1.244,1.084,0.971,0.970,1.118,1.251,1.350,1.385,1.395
+400.000,1.399,1.240,1.082,1.011,1.028,1.174,1.306,1.405,1.433,1.416
-- 
GitLab


From 3c18fbabb5b9f7e2f50c534b22029411eb36144b Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 14:36:55 -0600
Subject: [PATCH 2/7] changed epi ids

---
 .../java/gov/usgs/earthquake/nshmp/gmm/GroundMotions.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotions.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotions.java
index 613fe089..0ce4dc9e 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotions.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotions.java
@@ -81,9 +81,9 @@ public class GroundMotions {
   }
 
   private static final String TREE_NAME = "ground-motion-tree";
-  public static final String EPI_LO = "EPI_LO";
-  public static final String EPI_OFF = "EPI_OFF";
-  public static final String EPI_HI = "EPI_HI";
+  public static final String EPI_LO = "epi-lo";
+  public static final String EPI_OFF = "epi-off";
+  public static final String EPI_HI = "epi-hi";
   static final String[] EPI_IDS = { EPI_LO, EPI_OFF, EPI_HI };
   static final double[] EPI_WTS = { 0.185, 0.63, 0.185 };
   static final double Z_SCORE_5_95 = 1.645;
-- 
GitLab


From 8eeab5df85bd0f239f4d386856fd1eabca504bc2 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 14:37:33 -0600
Subject: [PATCH 3/7] added handlers for prvi epi tables

---
 .../nshmp/gmm/GroundMotionTables.java         | 121 +++++++++++++++++-
 1 file changed, 116 insertions(+), 5 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
index 5cb45b2d..f87cabfd 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
@@ -2,9 +2,9 @@ package gov.usgs.earthquake.nshmp.gmm;
 
 import static com.google.common.io.Resources.getResource;
 import static com.google.common.io.Resources.readLines;
+import static gov.usgs.earthquake.nshmp.Text.NEWLINE;
 import static gov.usgs.earthquake.nshmp.Text.Delimiter.COMMA;
 import static gov.usgs.earthquake.nshmp.Text.Delimiter.SPACE;
-import static gov.usgs.earthquake.nshmp.Text.NEWLINE;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.PGA;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.PGV;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.SA0P03;
@@ -18,6 +18,7 @@ import java.io.IOException;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.EnumMap;
 import java.util.HashMap;
 import java.util.LinkedHashSet;
 import java.util.List;
@@ -35,6 +36,7 @@ import com.google.common.io.LineProcessor;
 
 import gov.usgs.earthquake.nshmp.Text.Delimiter;
 import gov.usgs.earthquake.nshmp.data.DoubleData;
+import gov.usgs.earthquake.nshmp.gmm.Gmm.Type;
 import gov.usgs.earthquake.nshmp.gmm.GmmUtils.CeusSiteClass;
 import gov.usgs.earthquake.nshmp.gmm.GroundMotionTables.GroundMotionTable.Position;
 
@@ -90,6 +92,11 @@ final class GroundMotionTables {
     return KBCG20_EPISTEMIC.get(zone).get(kind).get(imt);
   }
 
+  /* table[0] is lower epi values, table[1] is upper epi values */
+  static GroundMotionTable[] getPrviEpi(Gmm.Type type, Imt imt) {
+    return PRVI_EPISTEMIC.get(type).get(imt);
+  }
+
   static final String TABLE_DIR = "gmm/tables/";
 
   private static final String[] frankelSrcSR = {
@@ -117,6 +124,11 @@ final class GroundMotionTables {
    */
   private static final String KBCG20_EPISTEMIC_FILENAME_FMT = "KBCG20_uncertainty_%s_%s.csv";
 
+  private static final String[] PRVI_EPI_FILENAMES = {
+      "prvi-crustal-epi-lower.csv", "prvi-crustal-epi-upper.csv",
+      "prvi-intraslab-epi-lower.csv", "prvi-intraslab-epi-upper.csv",
+      "prvi-interface-epi-lower.csv", "prvi-interface-epi-upper.csv" };
+
   static final List<String> NGA_EAST_SEED_IDS = List.of(
       "1CCSP",
       "1CVSP",
@@ -162,6 +174,9 @@ final class GroundMotionTables {
       110.0, 120.0, 130.0, 140.0, 150.0, 175.0, 200.0, 250.0, 300.0, 350.0, 400.0, 450.0, 500.0,
       600.0, 700.0, 800.0, 1000.0, 1200.0, 1500.0 });
 
+  private static final double[] PRVI_EPI_R = DoubleData.log(new double[] {
+      0.100, 0.233, 0.541, 1.260, 2.932, 6.822, 15.874, 36.938, 85.951, 200.000 });
+
   private static final double[] ATKINSON_M = {
       4.00, 4.25, 4.50, 4.75, 5.00, 5.25, 5.50, 5.75, 6.00,
       6.25, 6.50, 6.75, 7.00, 7.25, 7.50, 7.75, 8.00 };
@@ -177,13 +192,16 @@ final class GroundMotionTables {
   private static final double[] NGA_EAST_M = {
       4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 7.8, 8.0, 8.2 };
 
+  private static final double[] PRVI_EPI_M = {
+      4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 7.8, 8.0 };
+
   private static final double[] KBCG20_M = {
       4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5, 8.0, 8.5, 9.0, 9.5 };
 
-  private static final double[] KBCG20_R = new double[] {
-      10.0000000000000, 15.8489319246111, 25.1188643150957, 39.8107170553497, 63.0957344480193,
-      100.0000000000000, 158.4893192461110, 251.1886431509580, 398.1071705534970, 500.0000000000000,
-      630.9573444801930, 800.0000000000000, 1000.0000000000000 };
+  private static final double[] KBCG20_R = {
+      10.0, 15.8489319246111, 25.1188643150957, 39.8107170553497, 63.0957344480193,
+      100.0, 158.4893192461110, 251.1886431509580, 398.1071705534970, 500.0,
+      630.9573444801930, 800.0, 1000.0 };
 
   // different numeric representations of 0.33 3.3 and 33.0 Hz
   private static final Set<Double> FREQ3_LO = ImmutableSet.of(0.32, 0.33);
@@ -203,6 +221,8 @@ final class GroundMotionTables {
 
   private static final Map<SubductionZone, Map<SubductionZone.Type, Map<Imt, GroundMotionTable>>> KBCG20_EPISTEMIC;
 
+  private static final Map<Gmm.Type, Map<Imt, GroundMotionTable[]>> PRVI_EPISTEMIC;
+
   static {
     FRANKEL_HARD_ROCK = initFrankel(frankelSrcHR);
     FRANKEL_SOFT_ROCK = initFrankel(frankelSrcSR);
@@ -213,6 +233,7 @@ final class GroundMotionTables {
     NGA_EAST_WEIGHTS = initNgaEastWeights();
     NGA_EAST_SEEDS = initNgaEastSeeds();
     KBCG20_EPISTEMIC = initKbcg20();
+    PRVI_EPISTEMIC = initPrviEpi();
   }
 
   private static Map<Imt, GroundMotionTable> initFrankel(String[] files) {
@@ -363,6 +384,42 @@ final class GroundMotionTables {
     return map;
   }
 
+  private static Map<Gmm.Type, Map<Imt, GroundMotionTable[]>> initPrviEpi() {
+    Map<Gmm.Type, Map<Imt, GroundMotionTable[]>> map = new EnumMap<>(Gmm.Type.class);
+
+    for (String filename : PRVI_EPI_FILENAMES) {
+      Gmm.Type type = filename.contains("crustal")
+          ? Type.ACTIVE_CRUST
+          : filename.contains("interface")
+              ? Type.SUBDUCTION_INTERFACE
+              : Type.SUBDUCTION_SLAB;
+
+      Map<Imt, GroundMotionTable[]> typeMap = map.computeIfAbsent(
+          type,
+          k -> new EnumMap<Imt, GroundMotionTable[]>(Imt.class));
+
+      int branchIdx = filename.contains("lower") ? 0 : 1;
+      URL url = getResource(TABLE_DIR + filename);
+      try {
+        // PRVI epi tables are formatted the same as NGA-East ground motions
+        PrviEpiParser parser = new PrviEpiParser(PRVI_EPI_R.length);
+        Map<Imt, double[][]> dataMap = readLines(url, UTF_8, parser);
+        for (Entry<Imt, double[][]> entry : dataMap.entrySet()) {
+          double[][] data = entry.getValue();
+          LogDistanceTable table = new LogDistanceTable(data, PRVI_EPI_R, PRVI_EPI_M);
+          Imt imt = entry.getKey();
+          if (typeMap.get(imt) == null) {
+            typeMap.put(imt, new GroundMotionTable[2]);
+          }
+          typeMap.get(imt)[branchIdx] = table;
+        }
+      } catch (IOException ioe) {
+        handleIOex(ioe, filename);
+      }
+    }
+    return map;
+  }
+
   /* IO error handler */
   static void handleIOex(IOException ioe, String file) {
     StringBuilder sb = new StringBuilder(NEWLINE);
@@ -678,6 +735,60 @@ final class GroundMotionTables {
 
   }
 
+  /*
+   * Parser for PRVI epistemic tables. Only difference with NGA-East parser is
+   * PRVI epistemic values are already log.
+   */
+  private static class PrviEpiParser implements LineProcessor<Map<Imt, double[][]>> {
+
+    final int rSize;
+    int lineCount = -2;
+    Imt imt;
+
+    Map<Imt, List<List<Double>>> dataMap = Maps.newEnumMap(Imt.class);
+    List<List<Double>> dataLists;
+
+    PrviEpiParser(int rSize) {
+      this.rSize = rSize;
+    }
+
+    @Override
+    public Map<Imt, double[][]> getResult() {
+      Map<Imt, double[][]> out = Maps.newEnumMap(Imt.class);
+      for (Entry<Imt, List<List<Double>>> entry : dataMap.entrySet()) {
+        Imt imt = entry.getKey();
+        out.put(imt, toArray(entry.getValue()));
+      }
+      return out;
+    }
+
+    @Override
+    public boolean processLine(String line) throws IOException {
+      lineCount++;
+
+      if (lineCount == -1) {
+        imt = Imt.valueOf(line);
+        if (dataMap.get(imt) == null) {
+          dataLists = new ArrayList<List<Double>>();
+          dataMap.put(imt, dataLists);
+        }
+        return true;
+      }
+
+      if (lineCount == 0) {
+        return true;
+      }
+
+      List<Double> values = splitToDoubleList(line, COMMA);
+      dataLists.add(values.subList(1, values.size()));
+
+      if (lineCount == rSize) {
+        lineCount = -2;
+      }
+      return true;
+    }
+  }
+
   /* Parser for NGA-East tables. */
   private static class NgaEastParser implements LineProcessor<Map<Imt, double[][]>> {
 
-- 
GitLab


From c004314491b2281d2567b5df71ce466dc679c875 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 14:38:28 -0600
Subject: [PATCH 4/7] added epi support and base + adj model impl

---
 .../gov/usgs/earthquake/nshmp/gmm/Gmm.java    |  18 ++
 .../nshmp/gmm/UsgsPrviBackbone2025.java       | 215 +++++++++++++-----
 2 files changed, 171 insertions(+), 62 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/Gmm.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/Gmm.java
index 6cd35c63..fcf7395c 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/Gmm.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/Gmm.java
@@ -1307,6 +1307,12 @@ public enum Gmm {
       UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
       UsgsPrviBackbone2025.ActiveCrust.CONSTRAINTS),
 
+  USGS_PRVI_ACTIVE_CRUST_COMBINED_TREE(
+      UsgsPrviBackbone2025.ActiveCrustTotal.class,
+      UsgsPrviBackbone2025.ActiveCrustTotal.NAME,
+      UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
+      UsgsPrviBackbone2025.ActiveCrustTotal.CONSTRAINTS),
+
   USGS_PRVI_INTERFACE(
       UsgsPrviBackbone2025.Interface.class,
       UsgsPrviBackbone2025.Interface.NAME,
@@ -1319,6 +1325,12 @@ public enum Gmm {
       UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
       UsgsPrviBackbone2025.Interface.CONSTRAINTS),
 
+  USGS_PRVI_INTERFACE_COMBINED_TREE(
+      UsgsPrviBackbone2025.InterfaceTotal.class,
+      UsgsPrviBackbone2025.InterfaceTotal.NAME,
+      UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
+      UsgsPrviBackbone2025.InterfaceTotal.CONSTRAINTS),
+
   USGS_PRVI_INTRASLAB(
       UsgsPrviBackbone2025.Slab.class,
       UsgsPrviBackbone2025.Slab.NAME,
@@ -1331,6 +1343,12 @@ public enum Gmm {
       UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
       UsgsPrviBackbone2025.Slab.CONSTRAINTS),
 
+  USGS_PRVI_INTRASLAB_COMBINED_TREE(
+      UsgsPrviBackbone2025.SlabTotal.class,
+      UsgsPrviBackbone2025.SlabTotal.NAME,
+      UsgsPrviBackbone2025.COEFFS_DATA_ADJUSTMENT,
+      UsgsPrviBackbone2025.SlabTotal.CONSTRAINTS),
+
   /* Combined: must be declared after any dependent models above. */
 
   /** 2021 Hawaii weight-averaged GMM for deep earthquakes. */
diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
index 1b56ef63..0d8de323 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
@@ -2,14 +2,18 @@ package gov.usgs.earthquake.nshmp.gmm;
 
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.AG_20_GLOBAL_INTERFACE;
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.AG_20_GLOBAL_SLAB;
-import static gov.usgs.earthquake.nshmp.gmm.Gmm.ASK_14;
-import static gov.usgs.earthquake.nshmp.gmm.Gmm.BSSA_14;
-import static gov.usgs.earthquake.nshmp.gmm.Gmm.CB_14;
-import static gov.usgs.earthquake.nshmp.gmm.Gmm.CY_14;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.ASK_14_BASE;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.BSSA_14_BASE;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.CB_14_BASE;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.CY_14_BASE;
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.KBCG_20_GLOBAL_INTERFACE;
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.KBCG_20_GLOBAL_SLAB;
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.PSBAH_20_GLOBAL_INTERFACE;
 import static gov.usgs.earthquake.nshmp.gmm.Gmm.PSBAH_20_GLOBAL_SLAB;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.Type.ACTIVE_CRUST;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.Type.SUBDUCTION_INTERFACE;
+import static gov.usgs.earthquake.nshmp.gmm.Gmm.Type.SUBDUCTION_SLAB;
+import static gov.usgs.earthquake.nshmp.gmm.GroundMotionTables.getPrviEpi;
 import static gov.usgs.earthquake.nshmp.gmm.SubductionZone.Type.INTERFACE;
 import static gov.usgs.earthquake.nshmp.gmm.SubductionZone.Type.SLAB;
 import static java.lang.Math.exp;
@@ -19,6 +23,7 @@ import static java.lang.Math.sqrt;
 import java.util.Map;
 
 import gov.usgs.earthquake.nshmp.gmm.GmmInput.Constraints;
+import gov.usgs.earthquake.nshmp.gmm.GroundMotionTables.GroundMotionTable;
 import gov.usgs.earthquake.nshmp.tree.Branch;
 import gov.usgs.earthquake.nshmp.tree.LogicTree;
 
@@ -57,14 +62,12 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
   static final CoefficientContainer COEFFS_DATA_ADJUSTMENT =
       new CoefficientContainer("prvi-25-backbone-adjustments.csv");
 
-  // average bias over all IMTs
-  // private final double ACTIVE_CRUSTAL_MEAN_ADJUSTMENT = -0.371;
-  // private final double SUBDUCTION_INTERFACE_MEAN_ADJUSTMENT = -1.098;
-  // private final double SUBDUCTION_INTRASLAB_MEAN_ADJUSTMENT = -0.405;
+  public static final String MODEL_BASE_ID = "base";
+  public static final String MODEL_ADJUST_ID = "adjust";
 
-  public static final String SIGMA_REF_ID = "σ-model1";
-  public static final String SIGMA_PRVI_ID = "σ-model2";
-  private static final String[] SIGMA_IDS = { SIGMA_REF_ID, SIGMA_PRVI_ID };
+  public static final String SIGMA_NGA_ID = "σ-nga";
+  public static final String SIGMA_PRVI_ID = "σ-prvi";
+  private static final String[] SIGMA_IDS = { SIGMA_NGA_ID, SIGMA_PRVI_ID };
   private static final double[] SIGMA_WTS = { 0.5, 0.5 };
 
   private static final class Coefficients {
@@ -74,11 +77,6 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     final double φs2sPrvi, φs2sWus;
     final double τSub, φSub, φSubSS, φSubS2S;
 
-    final double εSubLo = 0.3;
-    final double εSubHi = 0.3;
-    final double εCrustalLo = 0.3;
-    final double εCrustalHi = 0.3;
-
     Coefficients(
         Imt imt,
         CoefficientContainer ccTau,
@@ -111,17 +109,18 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
 
   private final Coefficients coeffs;
 
-  private final Map<Gmm, Double> gmms;
   private final LogicTree<GroundMotionModel> tree;
   private final Imt imt;
+  private final GroundMotionTable[] epiTables; // 0=lower, 1=upper
 
   /* Supply map of ground motion models initialized to the required IMT. */
   UsgsPrviBackbone2025(
       Imt imt,
+      String name,
       Map<Gmm, Double> gmms,
-      String name) {
-    this.gmms = gmms;
+      GroundMotionTable[] epiTables) {
     this.imt = imt;
+    this.epiTables = epiTables;
     LogicTree.Builder<GroundMotionModel> b = LogicTree.builder(name);
     gmms.entrySet().stream().forEach(e -> b.addBranch(
         e.getKey().name(),
@@ -142,15 +141,11 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     return imt;
   }
 
-  abstract double[] calcSigmas(GmmInput in);
-
-  abstract double[] applyEpistemic(double mu);
-
   @Override
   public LogicTree<GroundMotion> calc(GmmInput in) {
 
     double μ = calcMean(in);
-    double[] μs = applyEpistemic(μ);
+    double[] μs = applyEpistemic(μ, in.Mw, in.rRup);
     double[] σs = calcSigmas(in);
 
     return GroundMotions.createTree(
@@ -169,13 +164,17 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
           : gmTree.get(1).value();
       median += exp(gm.mean()) * b.weight();
     }
+    return log(median);
+  }
 
-    // epistemic uncertainty -
-    // double[] μs = GroundMotions.create5th50th95th(log(median), median);
-    double m2 = log(median);
-    return m2;
+  double[] applyEpistemic(double μ, double Mw, double rRup) {
+    double εLo = epiTables[0].get(rRup, Mw);
+    double εHi = epiTables[1].get(rRup, Mw);
+    return new double[] { μ + εLo, μ, μ + εHi };
   }
 
+  abstract double[] calcSigmas(GmmInput in);
+
   /*
    * Implementations. For each, coefficients are only used to get the set of
    * supported IMTs and therefore reference a model that supports the
@@ -189,17 +188,17 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     static final Constraints CONSTRAINTS = AbrahamsonEtAl_2014.CONSTRAINTS;
 
     static final Map<Gmm, Double> GMM_MAP = Map.of(
-        ASK_14, 0.25,
-        BSSA_14, 0.25,
-        CB_14, 0.25,
-        CY_14, 0.25);
+        ASK_14_BASE, 0.25,
+        BSSA_14_BASE, 0.25,
+        CB_14_BASE, 0.25,
+        CY_14_BASE, 0.25);
 
     ActiveCrust(Imt imt) {
-      super(imt, GMM_MAP, NAME);
+      this(imt, NAME);
     }
 
-    ActiveCrust(Imt imt, Map<Gmm, Double> gmms, String name) {
-      super(imt, gmms, name);
+    ActiveCrust(Imt imt, String name) {
+      super(imt, name, GMM_MAP, getPrviEpi(ACTIVE_CRUST, imt));
     }
 
     @Override
@@ -231,12 +230,6 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     static double calcPhiSS(double Mw, Coefficients c) {
       return Mw <= 5.0 ? c.a : Mw > 6.5 ? c.b : c.a + (Mw - 5.0) * ((c.b - c.a) / 1.5);
     }
-
-    @Override
-    double[] applyEpistemic(double μ) {
-      Coefficients c = super.coeffs;
-      return new double[] { μ - c.εCrustalLo, μ, μ + c.εCrustalHi };
-    }
   }
 
   /* PRVI 2025 Active Crust Data Adjusted */
@@ -247,7 +240,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     final double bias;
 
     ActiveCrustAdjusted(Imt imt) {
-      super(imt, ActiveCrust.GMM_MAP, NAME);
+      super(imt, NAME);
       bias = COEFFS_DATA_ADJUSTMENT.get(imt, "active_crust");
     }
 
@@ -257,6 +250,34 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     }
   }
 
+  /* TODO Deprecate */
+  static final class ActiveCrustTotal implements GroundMotionModel {
+    static final String NAME = ActiveCrust.NAME + " (total tree)";
+    static final Constraints CONSTRAINTS = AbrahamsonEtAl_2014.CONSTRAINTS;
+
+    private final Imt imt;
+    private final ActiveCrust gmm1;
+    private final ActiveCrustAdjusted gmm2;
+
+    ActiveCrustTotal(Imt imt) {
+      this.imt = imt;
+      gmm1 = new ActiveCrust(imt);
+      gmm2 = new ActiveCrustAdjusted(imt);
+    }
+
+    @Override
+    public Imt imt() {
+      return imt;
+    }
+
+    @Override
+    public LogicTree<GroundMotion> calc(GmmInput in) {
+      LogicTree<GroundMotion> treeBase = gmm1.calc(in);
+      LogicTree<GroundMotion> treeAdj = gmm2.calc(in);
+      return combine(treeBase, treeAdj, "active-crust");
+    }
+  }
+
   /* PRVI 2025 Subduction Interface */
   static class Interface extends UsgsPrviBackbone2025 {
 
@@ -269,11 +290,12 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
         PSBAH_20_GLOBAL_INTERFACE, 0.3334);
 
     Interface(Imt imt) {
-      super(imt, GMM_MAP, NAME);
+      this(imt, NAME);
     }
 
-    Interface(Imt imt, Map<Gmm, Double> gmms, String name) {
-      super(imt, gmms, name);
+    Interface(Imt imt, String name) {
+      super(imt, name, GMM_MAP, getPrviEpi(SUBDUCTION_INTERFACE, imt));
+
     }
 
     @Override
@@ -283,12 +305,6 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
       double σPrvi = sqrt(c.τSub * c.τSub + c.φSubS2S * c.φSubS2S + c.φSubSS * c.φSubSS);
       return new double[] { σ, σPrvi };
     }
-
-    @Override
-    double[] applyEpistemic(double μ) {
-      Coefficients c = super.coeffs;
-      return new double[] { μ - c.εSubLo, μ, μ + c.εSubHi };
-    }
   }
 
   /* PRVI 2025 Interface Data Adjusted */
@@ -299,7 +315,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     final double bias;
 
     InterfaceAdjusted(Imt imt) {
-      super(imt, Interface.GMM_MAP, NAME);
+      super(imt, NAME);
       bias = COEFFS_DATA_ADJUSTMENT.get(imt, "interface");
     }
 
@@ -309,6 +325,34 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     }
   }
 
+  /* TODO Deprecate */
+  static final class InterfaceTotal implements GroundMotionModel {
+    static final String NAME = Interface.NAME + " (total tree)";
+    static final Constraints CONSTRAINTS = AbrahamsonGulerce_2020.CONSTRAINTS_INTERFACE;
+
+    private final Imt imt;
+    private final Interface gmm1;
+    private final InterfaceAdjusted gmm2;
+
+    InterfaceTotal(Imt imt) {
+      this.imt = imt;
+      gmm1 = new Interface(imt);
+      gmm2 = new InterfaceAdjusted(imt);
+    }
+
+    @Override
+    public Imt imt() {
+      return imt;
+    }
+
+    @Override
+    public LogicTree<GroundMotion> calc(GmmInput in) {
+      LogicTree<GroundMotion> treeBase = gmm1.calc(in);
+      LogicTree<GroundMotion> treeAdj = gmm2.calc(in);
+      return combine(treeBase, treeAdj, "interface");
+    }
+  }
+
   /* PRVI 2025 Subduction Intraslab */
   static class Slab extends UsgsPrviBackbone2025 {
 
@@ -321,11 +365,11 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
         PSBAH_20_GLOBAL_SLAB, 0.3334);
 
     Slab(Imt imt) {
-      super(imt, GMM_MAP, NAME);
+      this(imt, NAME);
     }
 
-    Slab(Imt imt, Map<Gmm, Double> gmms, String name) {
-      super(imt, gmms, name);
+    Slab(Imt imt, String name) {
+      super(imt, name, GMM_MAP, getPrviEpi(SUBDUCTION_SLAB, imt));
     }
 
     @Override
@@ -335,12 +379,6 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
       double σPrvi = sqrt(c.τSub * c.τSub + c.φSubS2S * c.φSubS2S + c.φSubSS * c.φSubSS);
       return new double[] { σ, σPrvi };
     }
-
-    @Override
-    double[] applyEpistemic(double μ) {
-      Coefficients c = super.coeffs;
-      return new double[] { μ - c.εSubLo, μ, μ + c.εSubHi };
-    }
   }
 
   /* PRVI 2025 Interface Data Adjusted */
@@ -351,7 +389,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
     final double bias;
 
     SlabAdjusted(Imt imt) {
-      super(imt, Slab.GMM_MAP, NAME);
+      super(imt, NAME);
       bias = COEFFS_DATA_ADJUSTMENT.get(imt, "intraslab");
     }
 
@@ -360,4 +398,57 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
       return super.calcMean(in) + bias;
     }
   }
+
+  /* TODO Deprecate */
+  static final class SlabTotal implements GroundMotionModel {
+    static final String NAME = Slab.NAME + " (total tree)";
+    static final Constraints CONSTRAINTS = AbrahamsonGulerce_2020.CONSTRAINTS_SLAB;
+
+    private final Imt imt;
+    private final Slab gmm1;
+    private final SlabAdjusted gmm2;
+
+    SlabTotal(Imt imt) {
+      this.imt = imt;
+      gmm1 = new Slab(imt);
+      gmm2 = new SlabAdjusted(imt);
+    }
+
+    @Override
+    public Imt imt() {
+      return imt;
+    }
+
+    @Override
+    public LogicTree<GroundMotion> calc(GmmInput in) {
+      LogicTree<GroundMotion> treeBase = gmm1.calc(in);
+      LogicTree<GroundMotion> treeAdj = gmm2.calc(in);
+      return combine(treeBase, treeAdj, "intraslab");
+    }
+  }
+
+  /*
+   * Hopefully temporary support for collapsed/combined GMM logic trees. For
+   * PRVI, kmilner requested access to a single logic tree object for each
+   * tectonic setting.
+   */
+
+  static final double WT_SCALE = 0.5;
+
+  /* Merge base and adjusted model logic trees */
+  static LogicTree<GroundMotion> combine(
+      LogicTree<GroundMotion> base,
+      LogicTree<GroundMotion> adj,
+      String name) {
+
+    LogicTree.Builder<GroundMotion> tree = LogicTree.builder("gmm-tree-prvi-" + name);
+    for (Branch<GroundMotion> b : base) {
+      tree.addBranch(MODEL_BASE_ID + " : " + b.id(), b.value(), b.weight() * 0.5);
+    }
+    for (Branch<GroundMotion> b : adj) {
+      tree.addBranch(MODEL_ADJUST_ID + " : " + b.id(), b.value(), b.weight() * 0.5);
+    }
+    return tree.build();
+  }
+
 }
-- 
GitLab


From fbcbd61c6c0930417b0d830a0334d38885209054 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 14:45:07 -0600
Subject: [PATCH 5/7] formatting

---
 .../java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
index f87cabfd..e134e00b 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/GroundMotionTables.java
@@ -2,9 +2,9 @@ package gov.usgs.earthquake.nshmp.gmm;
 
 import static com.google.common.io.Resources.getResource;
 import static com.google.common.io.Resources.readLines;
-import static gov.usgs.earthquake.nshmp.Text.NEWLINE;
 import static gov.usgs.earthquake.nshmp.Text.Delimiter.COMMA;
 import static gov.usgs.earthquake.nshmp.Text.Delimiter.SPACE;
+import static gov.usgs.earthquake.nshmp.Text.NEWLINE;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.PGA;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.PGV;
 import static gov.usgs.earthquake.nshmp.gmm.Imt.SA0P03;
-- 
GitLab


From 577b1db15c697e1e3446d93a218b5186c8c6a638 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 15:08:09 -0600
Subject: [PATCH 6/7] name adjustments

---
 .../gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
index 0d8de323..6d904a12 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
@@ -184,7 +184,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
   /* PRVI 2025 Active Crust */
   static class ActiveCrust extends UsgsPrviBackbone2025 {
 
-    static final String NAME = UsgsPrviBackbone2025.NAME + ": Active Crust";
+    static final String NAME = UsgsPrviBackbone2025.NAME + " : Active Crust";
     static final Constraints CONSTRAINTS = AbrahamsonEtAl_2014.CONSTRAINTS;
 
     static final Map<Gmm, Double> GMM_MAP = Map.of(
@@ -281,7 +281,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
   /* PRVI 2025 Subduction Interface */
   static class Interface extends UsgsPrviBackbone2025 {
 
-    static final String NAME = UsgsPrviBackbone2025.NAME + ":" + INTERFACE;
+    static final String NAME = UsgsPrviBackbone2025.NAME + " : " + INTERFACE;
     static final Constraints CONSTRAINTS = AbrahamsonGulerce_2020.CONSTRAINTS_INTERFACE;
 
     static final Map<Gmm, Double> GMM_MAP = Map.of(
@@ -356,7 +356,7 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
   /* PRVI 2025 Subduction Intraslab */
   static class Slab extends UsgsPrviBackbone2025 {
 
-    static final String NAME = UsgsPrviBackbone2025.NAME + ":" + SLAB;
+    static final String NAME = UsgsPrviBackbone2025.NAME + " : " + SLAB;
     static final Constraints CONSTRAINTS = AbrahamsonGulerce_2020.CONSTRAINTS_SLAB;
 
     static final Map<Gmm, Double> GMM_MAP = Map.of(
-- 
GitLab


From 1f3e12ad8c6bdc5413d16840ff9b7ce026b9675e Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Wed, 21 Aug 2024 15:17:15 -0600
Subject: [PATCH 7/7] adjusted mean branch id

---
 .../gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
index 6d904a12..212f915e 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/UsgsPrviBackbone2025.java
@@ -443,10 +443,10 @@ public abstract class UsgsPrviBackbone2025 implements GroundMotionModel {
 
     LogicTree.Builder<GroundMotion> tree = LogicTree.builder("gmm-tree-prvi-" + name);
     for (Branch<GroundMotion> b : base) {
-      tree.addBranch(MODEL_BASE_ID + " : " + b.id(), b.value(), b.weight() * 0.5);
+      tree.addBranch(MODEL_BASE_ID + "-" + b.id(), b.value(), b.weight() * 0.5);
     }
     for (Branch<GroundMotion> b : adj) {
-      tree.addBranch(MODEL_ADJUST_ID + " : " + b.id(), b.value(), b.weight() * 0.5);
+      tree.addBranch(MODEL_ADJUST_ID + "-" + b.id(), b.value(), b.weight() * 0.5);
     }
     return tree.build();
   }
-- 
GitLab