UCERF3

29 views
Skip to first unread message

ZSXB

unread,
Sep 16, 2025, 1:47:17 AM (7 days ago) Sep 16
to OpenQuake Users
Does the UCERF3 model require a specific openquake version? I tried versions 3.16.7 and 3.20.1 and both had problems: 
KeyError: '/Users/XXX/in/FM0_0/MEANFS/MEANMSR/MeanRates'

Michele Simionato

unread,
Sep 17, 2025, 10:58:27 PM (5 days ago) Sep 17
to OpenQuake Users
The old version of the UCERF model requires engine 3.11 however you should not use that. Instead, use the latest engine (version 3.23) and the latest USA model which includes the UCERF model for California.
The job.ini will look like this:

[general]

description = USA NSHMP18 (including California)
calculation_mode = classical
random_seed = 23

[geometry]

sites_csv = sites_usa_res6.csv

[logic_tree]

number_of_logic_tree_samples = 0

[erf]

rupture_mesh_spacing = 5
complex_fault_mesh_spacing = 10
width_of_mfd_bin = 0.1
area_source_discretization = 5.0

[site_params]

reference_vs30_type = measured
reference_vs30_value = 800.0
reference_depth_to_1pt0km_per_sec = 30.0
reference_depth_to_2pt5km_per_sec = 0.57

[calculation]

source_model_logic_tree_file = ssmLT.xml
gsim_logic_tree_file = gmmLT.xml
investigation_time = 1.0
intensity_measure_types_and_levels = {"PGA": logscale(0.005, 3.00, 25),
                                      "SA(0.1)": logscale(0.005, 8.00, 25),
                                      "SA(0.2)": logscale(0.005, 9.00, 25),
                                      "SA(0.3)": logscale(0.005, 8.00, 25),
                                      "SA(0.6)": logscale(0.005, 5.50, 25),
                                      "SA(1.0)": logscale(0.005, 3.60, 25),
                                      "SA(2.0)": logscale(0.005, 2.10, 25)}
truncation_level = 5.0

horiz_comp_to_geom_mean = true

maximum_distance = {'Subduction Interface': 1000.,
                    'Stable Shallow Crust': 1000.,
                    'Subduction Inslab': 300.,
                    'Active Shallow Crust': 300.}

reqv_file = {
         "Stable Shallow Crust": "rjb_somerville.hdf5",
         "Active Shallow Crust": "rjb_wc94length.hdf5"}

reqv_ignore_sources = neokinema-3910 neokinema-3911 ucerf2-3901 ucerf2-3902 ucerf2-3903 AR-3300 IL-3400 ME-3500 MO-3600 TN-3800 TN_south_zone SC_south_zone

ps_grid_spacing = 50.0

[output]

mean_hazard_curves = true
hazard_maps = true
uniform_hazard_spectra = true
poes = 0.002105 0.000404

Message has been deleted

ZSXB

unread,
Sep 19, 2025, 3:21:10 AM (4 days ago) Sep 19
to OpenQuake Users
Version 3.11 also does not support the old UCERF model, KeyError: 'C:\\Users\\XXX\\AppData\\Local\\Temp\\tmpuemgonaz\\FM0_0\\MEANFS\\MEANMSR\\MeanRates'
Reply all
Reply to author
Forward
0 new messages