Version 11 (modified by kmilner, 3 years ago) (diff) |
---|

# UCERF3 Time Dependent Rate Calculator

This is a command line utility for extracting time dependent probabilities and equivalent annualized rates from a UCERF3 Fault System Solution. You must have the Java Runtime Environment version 6 or greater installed on your machine and in your system path.

**NOTE:** This is only applicable to UCERF3 single branch or branch averaged solutions. It is **not applicable to any "true mean" solutions** which include alternative geometries for the same faults. Older versions of the branch averaged solutions files do not contain the necessary date of last event data built in and replacements should be downloaded from UCERF3FaultSystemSolutions. An error message will be displayed and the program will exit if one of these older files is used.

**WARNING:** This is provided as a service and is not exhaustively tested. No warranty is expressed or implied and by downloading this software you agree to the OpenSHA license/disclaimer.

**Command Line Arguments:**

Short | Long | Required? | Description |
---|---|---|---|

-d <arg> | --duration <arg> | yes | Forecast duration in years. |

-y <arg> | --start-year <arg> | no | Forecast start year. Default: 2014 |

-h <arg> | --hist-open-interval-basis <arg> | no | Year basis for historical openinterval. Default: 1875 |

-p <arg> | --prob-model <arg> | yes | Probability model. One or more of U3_PREF_BLEND,POISSON,BPT_LOW,BPT_MID,BPT_HIGH. Multiple entries can be comma separated. |

-s <arg> | --solution <arg> | yes | Input Fault System Solution zip file |

-o <arg> | --output-file <arg> | yes | Output file name |

-b | --binary | no | Output equivalent annualized rates binary file in FSS rates.bin format. Otherwise CSV format. |

-a | --filter-aftershocks | no | Apply aftershock filter |

-i | --ignore-no-date-last | no | Skips check that ensures date of last event data is set on at least some fault sections. Can be used to calculate time dependent probabilities using only the historical open interval. |

**Examples:**

To create a CSV file with probabilities and equivalent annualized rates for for each probability model and a 5 year duration:

java -jar ProbDist-1.2.3-10437-2013_11_16.jar --duration 5 --start-year 2014 --solution /path/to/sol.zip --hist-open-interval-basis 1875 --prob-model U3_PREF_BLEND,POISSON,BPT_LOW,BPT_MID,BPT_HIGH --output-file /path/to/output.csv

If you see any error messages that mention java heap space such as an "OutOfMemoryError?" then re-run the command with the -Xmx<MEMORY>G option directly after "java" above, replacing <MEMORY> with the amount of memory in gigabytes that is needed. "-Xmx4G" should be more than adequate if you run into problems.

**Output:**

The default output is in CSV format. A truncated example is shown below:

FSS Index | FSS Rate (1/yr) | U3_PREF_BLEND 5yr Prob | U3_PREF_BLEND Equiv Annual Rate (1/yr) | POISSON 5yr Prob | POISSON Equiv Annual Rate (1/yr) | BPT_LOW 5yr Prob | BPT_LOW Equiv Annual Rate (1/yr) | BPT_MID 5yr Prob | BPT_MID Equiv Annual Rate (1/yr) | BPT_HIGH 5yr Prob | BPT_HIGH Equiv Annual Rate (1/yr) | |

0 | 3.467132332031594E-5 | 1.793458612422435E-4 | 3.58723891268711E-5 | 1.7334159121162873E-4 | 3.4671323320325144E-5 | 1.8084313326254846E-4 | 3.6171897470727085E-5 | 1.8084313408651135E-4 | 3.61718976355584E-5 | 1.80843236536894E- | 4 | 3.617191812934087E-5 |

1 | 1.581459767253252E-5 | 8.183057338995742E-5 | 1.6366784338797184E-5 | 7.906986217631751E-5 | 1.581459767253246E-5 | 8.25199517800363E-5 | 1.6504671347706292E-5 | 8.251995215616269E-5 | 1.650467142294121E-5 | 8.251999892318725E- | 5 | 1.6504680777120057E-5 |

2 | 1.1240237590986677E-5 | 5.818032401879599E-5 | 1.1636403311906143E-5 | 5.619960869773788E-5 | 1.1240237590983228E-5 | 5.8675107934387735E-5 | 1.1735365877163924E-5 | 5.867510793443612E-5 | 1.173536587718613E-5 | 5.8675108201986965E-5 | 1.1735365930702019E-5 |

Alternatively, if the "--binary" flag is supplied, the only equivalent annualized rates will be output in the Double Array Binary File Format. If multiple probability models are supplied, individual files will be output with the probability model name appended.