Open dynaryu opened 7 years ago
The error was found to be incorrect handling of dimension of numpy array, which is an input to bridge damage function.
Hyeuk, could you correct this if it is wrong. When the SA array has a GMPE length of 1 it works. When the SA array has a GMPE length greater than 1 the values of the GMPE dimension are used when the values of the period dimension should be used. A work-around for this is to collapse the SA array so the GMDE dimension is always 1, but this is not fixing the bug.
I found a couple of errors in computing bridge damage when multiple GMPEs are used.