Adjusted format of input OEF catalogue and added filtering
- Added user-configurable minimum magnitude to OELF. Only earthquakes in the seismicity forecast with magnitude equal to or larger than this value will be run. Closes https://git.gfz-potsdam.de/cnievas/real-time-loss-tools/-/issues/3/.
- Adjusted format of input OEF catalogue. Closes https://git.gfz-potsdam.de/cnievas/real-time-loss-tools/-/issues/4.
- Added filtering to seismicity catalogue before building ruptures. The filtering is done to exclude:
- earthquakes whose magnitude is smaller than the user-configurable minimum magnitude;
- earthquakes that are too far away from all the assets in the exposure model (OpenQuake crashes if this is the case). "Too far away" is defined by the
maximum_distance
parameter in thejob.ini
file for OpenQuake and themax_distance
in theconfig.yml
of theReal Time Loss Tools
: the latter should be smaller than the former, so as to guarantee that OpenQuake does not crash trying to run an earthquake that is too far away. TheReal Time Loss Tools
use epicentral distance to filter the earthquakes in the seismicity forecast.
The filtering is necessary to avoid wasting computational resources in sampling ruptures (and writing their XML files) for earthquakes that will not actually be run.