OpenQuake Engine Server Regular API#
Contents:
- openquake.baselib
- hazardlib
- Change the XML representation of a hazard source
- Information for developers
- openquake.baselib package
- general
AccumDict
Cache
CallableDict
CodeDependencyError
DeprecationWarning
DictArray
Param
RecordBuilder
WeightedSequence
add_columns()
agg_probs()
all_equals()
assert_close()
assert_independent()
block_splitter()
cached_property()
categorize()
ceil()
chdir()
check_dependencies()
compress()
copyobj()
count()
countby()
debug()
decompress()
detach_process()
distinct()
dumpa()
duplicated()
engine_version()
extract_dependencies()
fast_agg()
fast_agg2()
fast_agg3()
gen_slices()
gen_subclasses()
get_array()
get_bins()
get_duplicates()
get_nbytes_msg()
getsizeof()
gettemp()
group_array()
groupby()
groupby2()
groupby_bin()
groupby_grid()
humansize()
import_all()
loada()
multi_index()
nokey()
not_equal()
pack
pprod()
println()
random_choice()
random_filter()
random_histogram()
removetmp()
rmsdiff()
run_in_process()
safeprint()
shortlist()
smart_concat()
socket_ready()
split_in_blocks()
split_in_slices()
sqrscale()
warn()
zipfiles()
- hdf5
ArrayWrapper
ByteCounter
CSVFile
File
Group
array_of_vstr()
build_dt()
check_length()
cls2dotname()
create()
decode_array()
dotname2cls()
dset2df()
dumps()
extend()
extract_cols()
find_error()
get_nbytes()
get_shape_descr()
is_ok()
json_to_obj()
obj_to_json()
parse_comment()
preshape()
read_csv()
sanitize()
save_npz()
sel()
set_shape_descr()
sniff()
- node
Node
SourceLineParser
StreamingXMLWriter
ValidatingXmlParser
context()
floatformat()
fromstring()
iterparse()
node_copy()
node_display()
node_from_dict()
node_from_elem()
node_from_ini()
node_from_xml()
node_to_dict()
node_to_elem()
node_to_ini()
node_to_xml()
parse()
pprint()
read_nodes()
scientificformat()
striptag()
to_literal()
tostring()
- parallel
- The Starmap API
- Monitoring
- The Starmap.apply API
FakePickle
IterResult
List
Pickled
Result
SharedArray
Starmap
Starmap.CT
Starmap.apply()
Starmap.apply_split()
Starmap.get_results()
Starmap.init()
Starmap.log_percent()
Starmap.maxtasksperchild
Starmap.num_cores
Starmap.pids
Starmap.reduce()
Starmap.running_tasks
Starmap.share()
Starmap.shutdown()
Starmap.submit()
Starmap.submit_all()
Starmap.submit_split()
Starmap.unlink()
check_mem_usage()
count()
get_pickled_sizes()
get_return_ip()
getargnames()
init_workers()
ipp_submit()
logfinish()
multispawn()
no_submit()
oq_distribute()
pickle_sequence()
processpool_submit()
safely_call()
sbatch()
sendback()
sequential_apply()
slurm_submit()
slurm_task()
split_task()
threadpool_submit()
zmq_submit()
- performance
- python3compat
- runtests
- sap
- writers module
- general
- openquake.hazardlib package
- Subpackages
- openquake.hazardlib.calc package
- openquake.hazardlib.geo package
- openquake.hazardlib.gsim package
- Ground-shaking intensity models
- abrahamson_2014
- abrahamson_2015
- abrahamson_2018
- abrahamson_gulerce_2020
- abrahamson_silva_1997
- abrahamson_silva_2008
- afshari_stewart_2016
- akkar_2013
- akkar_2014
- akkar_bommer_2010
- akkar_bommer_2010_swiss_coeffs
- akkar_cagnan_2010
- allen_2012
- allen_2012_ipe
- allen_2022
- ameri_2017
- armenia_2016
- arroyo_2010
- arteta_2021
- arteta_2023
- atkinson_2015
- atkinson_boore_1995
- atkinson_boore_2003
- atkinson_boore_2006
- atkinson_macias_2009
- bahrampouri_2021_Arias_Intensity
- bahrampouri_2021_duration
- baumont_2018
- bayless_abrahamson_2018
- bchydro_2016_epistemic
- berge_thierry_2003
- bindi_2011
- bindi_2011_ipe
- bindi_2011scaled
- bindi_2014
- bindi_2014scaled
- bindi_2017
- bommer_2009
- boore_1993
- boore_1997
- boore_2014
- boore_2020
- boore_atkinson_2008
- boore_atkinson_2011
- bora_2019
- bozorgnia_campbell_2016
- bozorgnia_campbell_2016_vh
- bradley_2013
- campbell_1997
- campbell_2003
- campbell_bozorgnia_2003
- campbell_bozorgnia_2008
- campbell_bozorgnia_2014
- cauzzi_2014
- cauzzi_faccioli_2008
- cauzzi_faccioli_2008_swiss
- cauzzi_faccioli_2008_swiss_coeffs
- chao_2020
- chiou_youngs_2008
- chiou_youngs_2008_swiss
- chiou_youngs_2008_swiss_coeffs
- chiou_youngs_2014
- climent_1994
- coeffs_table
- convertito_2012
- derras_2014
- dost_2004
- douglas_stochastic_2013
- dowrickrhoades_2005
- drouet_2015_brazil
- drouet_alpes_2015
- ecos_2009
- edwards_fah_2013a
- edwards_fah_2013a_coeffs
- edwards_fah_2013f
- edwards_fah_2013f_coeffs
- eshm20_craton
- faccioli_cauzzi_2006
- frankel_1996
- fukushima_tanaka_1990
- garcia_2005
- geomatrix_1993
- ghasemi_2009
- ghofrani_atkinson_2014
- gmpe_table
- gulerce_abrahamson_2011
- gulerce_2017
- gupta_2010
- hassani_atkinson_2018
- hassani_atkinson_2020
- hong_goda_2007
- idini_2017
- idriss_2014
- jaimes_2020
- kale_2015
- kanno_2006
- kuehn_2020
- kotha_2016
- kotha_2020
- lanzano_2016
- lanzano_2019
- lanzano_2020
- lanzano_luzi_2019
- lin_2009
- lin_2011
- lin_lee_2008
- manea_2021
- mcverry_2006
- megawati_2003
- megawati_pan_2010
- montalva_2016
- montalva_2017
- multi
- munson_thurber_1997
- morikawa_fujiwara_2013
- nath_2012
- nga_east
- nrcan15_site_term
- nshmp_2014
- pankow_pechmann_2004
- parker_2020
- pezeshk_2011
- phung_2020
- raghukanth_iyengar_2007
- rietbrock_2013
- rietbrock_edwards_2019
- sadigh_1997
- sera_amplification_models
- sgobba_2020
- shahjouei_pezeshk_2016
- sharma_2009
- si_midorikawa_1999
- si_2020
- silva_2002
- skarlatoudis_2013
- somerville_2001
- somerville_2009
- stewart_2016
- stewart_2016_vh
- tavakoli_pezeshk_2005
- example_a_2021
- toro_1997
- toro_2002
- travasarou_2003
- tromans_2019
- tusa_langer_2016
- tusa_langer_azzaro_2019
- utils
- utils_swiss_gmpe
- usgs_ceus_2019
- vanhoutte_2018
- weatherill_2024
- wong2022
- yenier_atkinson_2015
- youd_etal_2002
- youngs_1997
- yu_2013
- zalachoris_rathje_2019
- zhang_zhao_2005
- zhao_2006
- zhao_2006_swiss
- zhao_2006_swiss_coeffs
- zhao_2016
- openquake.hazardlib.mfd package
- openquake.hazardlib.scalerel package
- openquake.hazardlib.source package
- source_reader module
CompositeSourceModel
CompositeSourceModel.count_ruptures()
CompositeSourceModel.fix_src_offset()
CompositeSourceModel.get_basenames()
CompositeSourceModel.get_floating_spinning_factors()
CompositeSourceModel.get_mags_by_trt()
CompositeSourceModel.get_max_weight()
CompositeSourceModel.get_sources()
CompositeSourceModel.get_trt_smrs()
CompositeSourceModel.init()
CompositeSourceModel.update_source_info()
add_checksums()
build_rup_mutex()
check_branchID()
check_duplicates()
check_unique()
create_source_info()
find_false_duplicates()
fix_geometry_sections()
get_csm()
mutex_by_grp()
read_source_model()
reduce_sources()
trt_smrs()
zpik()
- logictree module
FullLogicTree
FullLogicTree.fake()
FullLogicTree.g_weights()
FullLogicTree.get_gids()
FullLogicTree.get_num_paths()
FullLogicTree.get_num_potential_paths()
FullLogicTree.get_realizations()
FullLogicTree.get_rlzs_by_gsim()
FullLogicTree.get_trt_rlzs()
FullLogicTree.get_trt_smrs()
FullLogicTree.gsim_by_trt()
FullLogicTree.init()
FullLogicTree.num_samples
FullLogicTree.oversampling
FullLogicTree.reduce_groups()
FullLogicTree.rlzs
FullLogicTree.sampling_method
FullLogicTree.sd
FullLogicTree.seed
FullLogicTree.set_trt_smr()
FullLogicTree.trt_by()
FullLogicTree.wget()
Info
LtRealization
SourceLogicTree
SourceModelLogicTree
SourceModelLogicTree.ABSOLUTE_UNCERTAINTIES
SourceModelLogicTree.FILTERS
SourceModelLogicTree.apply_branchset()
SourceModelLogicTree.bset_values()
SourceModelLogicTree.collect_source_model_data()
SourceModelLogicTree.decompose()
SourceModelLogicTree.fake()
SourceModelLogicTree.get_duplicated_sources()
SourceModelLogicTree.get_num_paths()
SourceModelLogicTree.parse_branches()
SourceModelLogicTree.parse_branchset()
SourceModelLogicTree.parse_filters()
SourceModelLogicTree.parse_tree()
SourceModelLogicTree.reduce()
SourceModelLogicTree.set_num_paths()
SourceModelLogicTree.to_node()
SourceModelLogicTree.validate_branchset()
SourceModelLogicTree.validate_filters()
capitalize()
collect_info()
collect_paths()
compose()
get_eff_rlzs()
get_effective_rlzs()
get_field()
get_trt_by_src()
prod()
read_source_groups()
reduce_fnames()
reduce_full()
reducible()
shorten()
unique()
- contexts
BaseContext
Collapser
ContextMaker
ContextMaker.REQUIRES
ContextMaker.Z
ContextMaker.deltagetter
ContextMaker.estimate_sites()
ContextMaker.estimate_weight()
ContextMaker.fewsites
ContextMaker.from_planar()
ContextMaker.from_srcs()
ContextMaker.gen_contexts()
ContextMaker.gen_poes()
ContextMaker.genctxs()
ContextMaker.get_att_curves()
ContextMaker.get_ctx_iter()
ContextMaker.get_ctx_params()
ContextMaker.get_mean_stds()
ContextMaker.get_pmap()
ContextMaker.get_poes()
ContextMaker.get_rparams()
ContextMaker.horiz_comp_to_geom_mean()
ContextMaker.init_monitoring()
ContextMaker.max_intensity()
ContextMaker.new_ctx()
ContextMaker.ratesNLG()
ContextMaker.recarray()
ContextMaker.restrict()
ContextMaker.scenario
ContextMaker.set_imts_conv()
ContextMaker.set_weight()
ContextMaker.tom
ContextMaker.update()
DeltaRatesGetter
DistancesContext
Effect
FarAwayRupture
Oq
PmapMaker
RuptureContext
SitesContext
by_dists()
combine_pmf()
concat()
full_context()
genctxs_Pp()
get_cmakers()
get_dists()
get_effect_by_mag()
get_maxsize()
get_mean_stds()
get_num_distances()
get_src_mutex()
is_modifiable()
kround1()
kround2()
print_finite_size()
read_cmaker()
read_cmakers()
read_ctx_by_grp()
round_dist()
set_distances()
simple_cmaker()
size()
split_by_occur()
trivial()
- const
- correlation
- imt
- lt
Branch
BranchSet
CompositeLogicTree
LogicTreeError
Realization
Weighted
abGR()
add_path()
apply_uncertainties()
build()
charGeom()
complexGeom()
count_paths()
dummy_branchset()
incMFD()
random()
random_sample()
sample()
setMSR_absolute()
simpleGeom()
smodel()
to_surface()
trucMFDFromSlip_absolute()
unknown()
- near_fault
- nrml
- pmf
- map_array
- site
Site
SiteCollection
SiteCollection.add_col()
SiteCollection.assoc()
SiteCollection.at_sea_level()
SiteCollection.by_country()
SiteCollection.calculate_z1pt0()
SiteCollection.calculate_z2pt5()
SiteCollection.count_close()
SiteCollection.extend()
SiteCollection.filter()
SiteCollection.filtered()
SiteCollection.from_planar()
SiteCollection.from_points()
SiteCollection.from_usgs_shakemap()
SiteCollection.geohash()
SiteCollection.get_cdist()
SiteCollection.make_complete()
SiteCollection.mesh
SiteCollection.num_geohashes()
SiteCollection.one()
SiteCollection.reduce()
SiteCollection.req_site_params
SiteCollection.set_global_params()
SiteCollection.split()
SiteCollection.split_by_gh3()
SiteCollection.split_in_tiles()
SiteCollection.split_max()
SiteCollection.within()
SiteCollection.within_bbox()
SiteCollection.xyz
calculate_z1pt0()
calculate_z2pt5()
rnd5()
- sourceconverter
NPRow
Row
RowConverter
RowConverter.convert_areaSource()
RowConverter.convert_characteristicFaultSource()
RowConverter.convert_complexFaultSource()
RowConverter.convert_geomprops()
RowConverter.convert_hddist()
RowConverter.convert_hypolist()
RowConverter.convert_mfdist()
RowConverter.convert_multiFaultSource()
RowConverter.convert_multiPointSource()
RowConverter.convert_node()
RowConverter.convert_nonParametricSeismicSource()
RowConverter.convert_npdist()
RowConverter.convert_pointSource()
RowConverter.convert_rake()
RowConverter.convert_simpleFaultSource()
RowConverter.convert_sliplist()
RuptureConverter
RuptureConverter.convert_complexFaultRupture()
RuptureConverter.convert_griddedRupture()
RuptureConverter.convert_multiPlanesRupture()
RuptureConverter.convert_node()
RuptureConverter.convert_ruptureCollection()
RuptureConverter.convert_simpleFaultRupture()
RuptureConverter.convert_singlePlaneRupture()
RuptureConverter.convert_surfaces()
RuptureConverter.fname
RuptureConverter.geo_line()
RuptureConverter.geo_lines()
RuptureConverter.geo_planar()
RuptureConverter.get_mag_rake_hypo()
SourceConverter
SourceConverter.convert_areaSource()
SourceConverter.convert_characteristicFaultSource()
SourceConverter.convert_complexFaultSource()
SourceConverter.convert_geometryModel()
SourceConverter.convert_hddist()
SourceConverter.convert_kiteFaultSource()
SourceConverter.convert_mfdist()
SourceConverter.convert_multiFaultSource()
SourceConverter.convert_multiPointSource()
SourceConverter.convert_node()
SourceConverter.convert_nonParametricSeismicSource()
SourceConverter.convert_npdist()
SourceConverter.convert_pointSource()
SourceConverter.convert_section()
SourceConverter.convert_simpleFaultSource()
SourceConverter.convert_sourceGroup()
SourceConverter.convert_sourceModel()
SourceConverter.get_tom()
SourceGroup
collapse()
convert_nonParametricSeismicSource()
drop_trivial_weights()
extract_dupl()
fix_dupl()
mfds2multimfd()
multikey()
rounded_unique()
split_coords_2d()
split_coords_3d()
update_source_model()
- sourcewriter
build_arbitrary_mfd()
build_area_source_geometry()
build_area_source_node()
build_characteristic_fault_source_node()
build_complex_fault_geometry()
build_complex_fault_source_node()
build_evenly_discretised_mfd()
build_hypo_depth_dist()
build_hypo_list_node()
build_kite_fault_source_node()
build_kite_surface()
build_linestring_node()
build_multi_fault_source_node()
build_multi_mfd()
build_multi_point_source_node()
build_nodal_plane_dist()
build_nonparametric_source_node()
build_point_source_geometry()
build_point_source_node()
build_rupture_node()
build_simple_fault_geometry()
build_simple_fault_source_node()
build_slip_list_node()
build_source_group()
build_source_model()
build_source_model_node()
build_tapered_gr_mfd()
build_truncated_gr_mfd()
build_youngs_coppersmith_mfd()
extract_ddict()
get_distributed_seismicity_source_nodes()
get_fault_source_nodes()
get_source_attributes()
r4()
tomldump()
write_source_model()
- stats
- tom
- valid
Choice
ChoiceCI
Choices
FloatRange
FromFile
MetaParamSet
NoneOr
Param
ParamSet
Regex
RjbEquivalent
SimpleId
ab_values()
basename()
boolean()
check_levels()
check_weights()
compose()
coordinates()
corename()
decreasing_probabilities()
depth()
dictionary()
disagg_outputs()
float_()
floats()
fragmentno()
gsim()
host_port()
hypo_list()
integers()
intensity_measure_type()
intensity_measure_types()
intensity_measure_types_and_levels()
latitude()
latitudes()
logic_tree_path()
logscale()
lon_lat()
longitude()
longitudes()
loss_ratios()
mag_scale_rel()
namelist()
namelists()
nonzero()
not_empty()
occurrence_model()
pmf()
point()
point3d()
posList()
positivefloat()
positivefloats()
positiveint()
positiveints()
probabilities()
range01()
risk_id()
simple_slice()
site_param()
slip_list()
to_toml()
trt_pmf()
uncertainty_model()
utf8()
utf8_not_empty()
weights()
wkt_polygon()
- Subpackages
- openquake.hmtk package
- Subpackages
- openquake.hmtk.comparison package
- openquake.hmtk.faults package
- openquake.hmtk.parsers package
- openquake.hmtk.plotting package
- openquake.hmtk.seismicity package
- openquake.hmtk.sources package
- Submodules
- openquake.hmtk.sources.area_source module
- openquake.hmtk.sources.complex_fault_source module
- openquake.hmtk.sources.point_source module
- openquake.hmtk.sources.simple_fault_source module
- openquake.hmtk.sources.source_conversion_utils module
- openquake.hmtk.sources.source_model module
- Module contents
- openquake.hmtk.strain package
- Submodules
- openquake.hmtk.models module
AreaGeometry
AreaSource
CharacteristicSource
ComplexFaultGeometry
ComplexFaultRuptureModel
ComplexFaultSource
HazardCurveData
HazardCurveModel
HypocentralDepth
IncrementalMFD
Location
NodalPlane
PlanarSurface
Point
PointGeometry
PointSource
SeismicSource
SimpleFaultGeometry
SimpleFaultRuptureModel
SimpleFaultSource
SiteModel
SourceModel
TGRMFD
- openquake.hmtk.registry module
- Module contents
- Subpackages
- openquake.risklib package
- openquake.risklib.riskinput module
- openquake.risklib.riskmodels module
CompositeRiskModel
CompositeRiskModel.asset_damage_dt()
CompositeRiskModel.check_risk_ids()
CompositeRiskModel.compute_csq()
CompositeRiskModel.eid_dmg_dt()
CompositeRiskModel.get_attrs()
CompositeRiskModel.get_consequences()
CompositeRiskModel.get_dmg_csq()
CompositeRiskModel.get_loss_ratios()
CompositeRiskModel.get_output()
CompositeRiskModel.init()
CompositeRiskModel.make_curve_params()
CompositeRiskModel.read()
CompositeRiskModel.reduce()
CompositeRiskModel.set_tmap()
CompositeRiskModel.taxonomy_dict
CompositeRiskModel.to_dframe()
RiskFuncList
RiskModel
RiskModel.classical_bcr()
RiskModel.classical_damage()
RiskModel.classical_risk()
RiskModel.compositemodel
RiskModel.ebrisk()
RiskModel.event_based_damage()
RiskModel.event_based_risk()
RiskModel.loss_types
RiskModel.scenario()
RiskModel.scenario_damage()
RiskModel.scenario_risk()
RiskModel.time_event
ValidationError
build_vf_node()
filter_vset()
get_risk_files()
get_risk_functions()
get_riskcomputer()
get_riskmodel()
group_by_lt()
rescale()
- openquake.risklib.scientific module
ConsequenceModel
CurveParams
FragilityFunctionContinuous
FragilityFunctionDiscrete
FragilityFunctionList
FragilityModel
LossCurvesMapsBuilder
MultiEventRNG
RiskComputer
Sampler
VulnerabilityFunction
VulnerabilityFunction.dtype
VulnerabilityFunction.init()
VulnerabilityFunction.interpolate()
VulnerabilityFunction.kind
VulnerabilityFunction.loss_ratio_exceedance_matrix()
VulnerabilityFunction.mean_imls()
VulnerabilityFunction.mean_loss_ratios_with_steps()
VulnerabilityFunction.seed
VulnerabilityFunction.strictly_increasing()
VulnerabilityFunction.survival()
VulnerabilityFunctionWithPMF
VulnerabilityModel
annual_frequency_of_exceedence()
average_loss()
bcr()
broadcast()
build_imls()
build_loss_curve_dt()
classical()
classical_damage()
conditional_loss_ratio()
consequence()
eal_to_u64()
fine_graining()
fix_losses()
get_agg_value()
insurance_loss_curve()
insurance_losses()
insured_losses()
loss_maps()
losses_by_period()
maximum_probable_loss()
mean_std()
normalize_curves_eb()
pairwise()
pairwise_diff()
pairwise_mean()
pla_factor()
probability_of_exceedance()
return_periods()
scenario_damage()
total_losses()
u64_to_eal()
- Module contents
- openquake.commonlib package
- openquake.commonlib.datastore module
DataStore
DataStore.build_fname()
DataStore.calc_id
DataStore.clear()
DataStore.close()
DataStore.closed
DataStore.create_df()
DataStore.create_dset()
DataStore.export_dir
DataStore.export_path()
DataStore.flush()
DataStore.get()
DataStore.get_attr()
DataStore.get_attrs()
DataStore.get_file()
DataStore.getitem()
DataStore.getsize()
DataStore.job
DataStore.metadata
DataStore.open()
DataStore.opened
DataStore.read_df()
DataStore.read_unique()
DataStore.retrieve_files()
DataStore.sel()
DataStore.set_attrs()
DataStore.set_shape_descr()
DataStore.store_files()
DataStore.swmr_on()
build_dstore_log()
extract_calc_id_datadir()
hdf5new()
new()
read()
read_hc_id()
- openquake.commonlib.dbapi module
- calc module
- logs module
- oqvalidation module
- Full list of configuration parameters
OqParam
OqParam.ALIASES
OqParam.KNOWN_INPUTS
OqParam.aggregate_by
OqParam.aggregate_loss_curves_types
OqParam.all_imts()
OqParam.amplification_method
OqParam.area_source_discretization
OqParam.aristotle
OqParam.asce_version
OqParam.ash_wet_amplification_factor
OqParam.asset_correlation
OqParam.asset_hazard_distance
OqParam.asset_life_expectancy
OqParam.assets_per_site_limit
OqParam.avg_losses
OqParam.base_path
OqParam.cache_distances
OqParam.cachedir
OqParam.calculation_mode
OqParam.check_aggregate_by()
OqParam.check_gsim_lt()
OqParam.check_gsims()
OqParam.check_hazard()
OqParam.check_missing()
OqParam.check_reinsurance()
OqParam.check_risk()
OqParam.check_source_model()
OqParam.check_uniform_hazard_spectra()
OqParam.cholesky_limit
OqParam.collapse_gsim_logic_tree
OqParam.collapse_level
OqParam.collect_rlzs
OqParam.compare_with_classical
OqParam.complex_fault_mesh_spacing
OqParam.concurrent_tasks
OqParam.conditional_loss_poes
OqParam.continuous_fragility_discretization
OqParam.coordinate_bin_width
OqParam.correl_model
OqParam.countries
OqParam.cross_correl
OqParam.cross_correlation
OqParam.description
OqParam.disagg_bin_edges
OqParam.disagg_by_src
OqParam.disagg_outputs
OqParam.discard_assets
OqParam.discard_trts
OqParam.discrete_damage_distribution
OqParam.distance_bin_width
OqParam.docs()
OqParam.ebrisk_maxsize
OqParam.epsilon_star
OqParam.export_dir
OqParam.exports
OqParam.ext_loss_types
OqParam.extreme_gmv
OqParam.fastmean
OqParam.fix_legacy_names()
OqParam.floating_x_step
OqParam.floating_y_step
OqParam.get_input_size()
OqParam.get_kinds()
OqParam.get_max_iml()
OqParam.get_primary_imtls()
OqParam.get_reqv()
OqParam.get_sec_perils()
OqParam.gmf_data_dt()
OqParam.gmf_max_gb
OqParam.ground_motion_correlation_model
OqParam.ground_motion_correlation_params
OqParam.ground_motion_fields
OqParam.gsim
OqParam.hazard_calculation_id
OqParam.hazard_curves_from_gmfs
OqParam.hazard_imtls
OqParam.hazard_maps
OqParam.hazard_precomputed()
OqParam.hazard_stats()
OqParam.hmap_dt()
OqParam.horiz_comp_to_geom_mean
OqParam.ignore_covs
OqParam.ignore_encoding_errors
OqParam.ignore_master_seed
OqParam.ignore_missing_costs
OqParam.iml_disagg
OqParam.imt_dt()
OqParam.imt_periods()
OqParam.imt_ref
OqParam.imtls
OqParam.individual_rlzs
OqParam.infer_occur_rates
OqParam.infrastructure_connectivity_analysis
OqParam.input_dir
OqParam.inputs
OqParam.intensity_measure_types
OqParam.intensity_measure_types_and_levels
OqParam.interest_rate
OqParam.investigation_time
OqParam.is_event_based()
OqParam.is_valid_collect_rlzs()
OqParam.is_valid_complex_fault_mesh_spacing()
OqParam.is_valid_disagg_by_src()
OqParam.is_valid_export_dir()
OqParam.is_valid_geometry()
OqParam.is_valid_intensity_measure_levels()
OqParam.is_valid_intensity_measure_types()
OqParam.is_valid_maximum_distance()
OqParam.is_valid_poes()
OqParam.is_valid_shakemap()
OqParam.is_valid_soil_intensities()
OqParam.is_valid_specific_assets()
OqParam.is_valid_truncation_level()
OqParam.job_type
OqParam.levels_per_imt()
OqParam.limit_states
OqParam.loss_dt()
OqParam.loss_dt_list()
OqParam.loss_maps_dt()
OqParam.loss_types
OqParam.lrem_steps_per_interval
OqParam.lti
OqParam.mag_bin_width
OqParam.master_seed
OqParam.max
OqParam.max_aggregations
OqParam.max_data_transfer
OqParam.max_gmvs_chunk
OqParam.max_potential_gmfs
OqParam.max_potential_paths
OqParam.max_sites_disagg
OqParam.maximum_distance
OqParam.maximum_distance_stations
OqParam.mean
OqParam.mean_hazard_curves
OqParam.min_iml
OqParam.minimum_asset_loss
OqParam.minimum_distance
OqParam.minimum_intensity
OqParam.minimum_magnitude
OqParam.modal_damage_state
OqParam.mosaic_model
OqParam.no_imls()
OqParam.no_pointsource_distance
OqParam.num_epsilon_bins
OqParam.num_rlzs_disagg
OqParam.number_of_ground_motion_fields
OqParam.number_of_logic_tree_samples
OqParam.outs_per_task
OqParam.override_vs30
OqParam.oversampling
OqParam.poes
OqParam.poes_disagg
OqParam.pointsource_distance
OqParam.postproc_args
OqParam.postproc_func
OqParam.prefer_global_site_params
OqParam.ps_grid_spacing
OqParam.quantile_hazard_curves
OqParam.quantiles
OqParam.random_seed
OqParam.reaggregate_by
OqParam.reference_backarc
OqParam.reference_depth_to_1pt0km_per_sec
OqParam.reference_depth_to_2pt5km_per_sec
OqParam.reference_vs30_type
OqParam.reference_vs30_value
OqParam.region
OqParam.region_grid_spacing
OqParam.reqv_ignore_sources
OqParam.return_periods
OqParam.risk_event_rates()
OqParam.risk_files
OqParam.risk_imtls
OqParam.risk_investigation_time
OqParam.rlz_index
OqParam.rupture_dict
OqParam.rupture_mesh_spacing
OqParam.sampling_method
OqParam.sec_imts
OqParam.sec_peril_params
OqParam.secondary_perils
OqParam.secondary_simulations
OqParam.sensitivity_analysis
OqParam.ses_per_logic_tree_path
OqParam.ses_seed
OqParam.set_risk_imts()
OqParam.shakemap_id
OqParam.shakemap_uri
OqParam.shift_hypo
OqParam.site_effects
OqParam.sites
OqParam.sites_slice
OqParam.smlt_branch
OqParam.soil_intensities
OqParam.source_id
OqParam.source_nodes
OqParam.spatial_correlation
OqParam.specific_assets
OqParam.split_sources
OqParam.std
OqParam.steps_per_interval
OqParam.tectonic_region_type
OqParam.time_event
OqParam.time_per_task
OqParam.time_ratio
OqParam.total_losses
OqParam.truncation_level
OqParam.tses
OqParam.uhs_dt()
OqParam.uniform_hazard_spectra
OqParam.use_rates
OqParam.validate()
OqParam.vs30_tolerance
OqParam.width_of_mfd_bin
check_increasing()
check_same_levels()
- readinput module
DuplicatedPoint
Site
aristotle_tmap()
assert_probabilities()
check_min_mag()
check_params()
check_site_param()
collect_files()
extract_from_zip()
get_cache_path()
get_checksum32()
get_composite_source_model()
get_crmodel()
get_csv_header()
get_exposure()
get_full_lt()
get_gsim_lt()
get_imts()
get_input_files()
get_logic_tree()
get_mesh_exp()
get_oqparam()
get_params()
get_pmap_from_csv()
get_poor_site_model()
get_reinsurance()
get_rupture()
get_shapefiles()
get_site_collection()
get_site_model()
get_site_model_around()
get_sitecol_assetcol()
get_source_model_lt()
get_station_data()
levels_from()
normalize()
normpath()
read_countries_df()
read_delta_rates()
read_geometries()
read_mosaic_df()
reduce_sm()
reduce_source_model()
taxonomy_mapping()
unzip_rename()
update()
- util module
- openquake.commonlib.datastore module
- openquake.calculators package
- Subpackages
- base module
BaseCalculator
BaseCalculator.accept_precalc
BaseCalculator.check_precalc()
BaseCalculator.core_task()
BaseCalculator.execute()
BaseCalculator.export()
BaseCalculator.from_engine
BaseCalculator.gzip_inputs()
BaseCalculator.is_stochastic
BaseCalculator.monitor()
BaseCalculator.post_execute()
BaseCalculator.pre_checks()
BaseCalculator.pre_execute()
BaseCalculator.precalc
BaseCalculator.run()
BaseCalculator.save_params()
HazardCalculator
HazardCalculator.E
HazardCalculator.N
HazardCalculator.R
HazardCalculator.af
HazardCalculator.amplifier
HazardCalculator.check_consequences()
HazardCalculator.check_discardable()
HazardCalculator.check_floating_spinning()
HazardCalculator.check_overflow()
HazardCalculator.few_sites
HazardCalculator.import_perils()
HazardCalculator.init()
HazardCalculator.load_crmodel()
HazardCalculator.load_insurance_data()
HazardCalculator.post_process()
HazardCalculator.pre_execute()
HazardCalculator.pre_execute_from_parent()
HazardCalculator.read_exposure()
HazardCalculator.read_inputs()
HazardCalculator.save_crmodel()
HazardCalculator.src_filter()
HazardCalculator.store_rlz_info()
HazardCalculator.store_source_info()
InvalidCalculationID
RiskCalculator
build_weights()
check_amplification()
check_imtls()
check_time_event()
consistent()
create_gmf_data()
create_risk_by_event()
get_stats()
import_gmfs_csv()
import_gmfs_hdf5()
read_parent_sitecol()
read_shakemap()
run_calc()
save_agg_values()
set_array()
store_shakemap()
- getters module
- classical module
ClassicalCalculator
ClassicalCalculator.SLOW_TASK_ERROR
ClassicalCalculator.accept_precalc
ClassicalCalculator.agg_dicts()
ClassicalCalculator.build_curves_maps()
ClassicalCalculator.check_mean_rates()
ClassicalCalculator.check_memory()
ClassicalCalculator.collect_hazard()
ClassicalCalculator.core_task()
ClassicalCalculator.create_rup()
ClassicalCalculator.execute()
ClassicalCalculator.execute_big()
ClassicalCalculator.execute_reg()
ClassicalCalculator.init_poes()
ClassicalCalculator.plot_hmaps()
ClassicalCalculator.post_execute()
ClassicalCalculator.precalc
ClassicalCalculator.store_info()
Hazard
Set
build_slices()
classical()
fast_mean()
get_pmaps_gb()
make_hmap_png()
postclassical()
store_ctxs()
to_rates()
- classical_bcr module
- classical_damage module
- classical_risk module
- disaggregation module
DisaggregationCalculator
DisaggregationCalculator.accept_precalc
DisaggregationCalculator.agg_result()
DisaggregationCalculator.compute()
DisaggregationCalculator.execute()
DisaggregationCalculator.full_disaggregation()
DisaggregationCalculator.post_execute()
DisaggregationCalculator.pre_checks()
DisaggregationCalculator.precalc
DisaggregationCalculator.save_bin_edges()
DisaggregationCalculator.save_disagg_results()
compute_disagg()
get_outputs_size()
output_dict()
submit()
- event_based module
EventBasedCalculator
EventBasedCalculator.accept_precalc
EventBasedCalculator.agg_dicts()
EventBasedCalculator.build_events_from_sources()
EventBasedCalculator.core_task()
EventBasedCalculator.execute()
EventBasedCalculator.init()
EventBasedCalculator.is_stochastic
EventBasedCalculator.post_execute()
EventBasedCalculator.save_avg_gmf()
build_hcurves()
compute_avg_gmf()
count_ruptures()
event_based()
filter_stations()
gen_event_based()
get_computer()
rup_weight()
set_mags()
starmap_from_rups()
- event_based_risk module
EventBasedRiskCalculator
EventBasedRiskCalculator.accept_precalc
EventBasedRiskCalculator.agg_dicts()
EventBasedRiskCalculator.build_aggcurves()
EventBasedRiskCalculator.core_task()
EventBasedRiskCalculator.create_avg_losses()
EventBasedRiskCalculator.execute()
EventBasedRiskCalculator.is_stochastic
EventBasedRiskCalculator.log_info()
EventBasedRiskCalculator.post_execute()
EventBasedRiskCalculator.pre_execute()
EventBasedRiskCalculator.precalc
EventBasedRiskCalculator.save_tmp()
aggreg()
average_losses()
debugprint()
ebr_from_gmfs()
ebrisk()
event_based_risk()
fast_agg()
gen_outputs()
set_oqparam()
- event_based_damage module
- post_risk module
- reportwriter module
- views module
GmpeExtractor
HtmlTable
Source
alt_to_many_columns()
avglosses_data_transfer()
binning_error()
build_links()
compare_disagg_rates()
dt()
form()
portfolio_dmgdist()
reduce_srcids()
rst_links()
short_repr()
shorten()
stats()
sum_table()
text_table()
to_str()
tup2str()
view_MPL()
view_agg_id()
view_aggrisk()
view_assets_by_site()
view_bad_ruptures()
view_branches()
view_branchsets()
view_calc_risk()
view_collapsible()
view_composite_source_model()
view_contents()
view_delta_loss()
view_disagg()
view_ebrups_by_mag()
view_eff_ruptures()
view_event_based_mfd()
view_event_loss_table()
view_event_rates()
view_events_by_mag()
view_exposure_info()
view_extreme()
view_extreme_gmvs()
view_full_lt()
view_fullreport()
view_gh3()
view_global_gmfs()
view_global_hazard()
view_global_hmaps()
view_gmf()
view_gmvs()
view_gmvs_to_hazard()
view_gsim_for_event()
view_inputs()
view_job_info()
view_loss_ids()
view_maximum_intensity()
view_mean_disagg()
view_mean_perils()
view_mean_rates()
view_num_units()
view_params()
view_performance()
view_pmaps_size()
view_portfolio_damage()
view_portfolio_loss()
view_portfolio_losses()
view_relevant_sources()
view_required_params_per_trt()
view_risk_by_event()
view_risk_by_rup()
view_rlz()
view_rup()
view_rup_info()
view_rup_stats()
view_rupture()
view_ruptures_events()
view_short_source_info()
view_sites_by_country()
view_slow_sources()
view_source_data()
view_sources_branches()
view_sum()
view_task_durations()
view_task_ebrisk()
view_task_hazard()
view_task_info()
view_totlosses()
view_usgs_rupture()
view_worst_sources()
view_zero_losses()
- extract module
Extract
Extractor
RuptureData
WebAPIError
WebExtractor
avglosses()
barray()
build_csq_dt()
build_damage_array()
build_damage_dt()
cast()
clusterize()
crm_attrs()
extract_()
extract_agg_curves()
extract_agg_damages()
extract_agg_losses()
extract_aggregate()
extract_asset_risk()
extract_asset_tags()
extract_assets()
extract_avg_gmf()
extract_csq_curves()
extract_damages_npz()
extract_disagg()
extract_disagg_layer()
extract_effect()
extract_eids_by_gsim()
extract_exposure_metadata()
extract_gmf_npz()
extract_gmf_scenario()
extract_gridded_sources()
extract_gsims_by_trt()
extract_hcurves()
extract_hmaps()
extract_losses_by_asset()
extract_mean_by_rup()
extract_mean_rates_by_src()
extract_med_gmv()
extract_mfd()
extract_num_events()
extract_oqparam()
extract_realizations()
extract_relevant_events()
extract_relevant_gmfs()
extract_risk_stats()
extract_rup_ids()
extract_rups_by_mag_dist()
extract_rupture_info()
extract_ruptures()
extract_sitecol()
extract_source_data()
extract_sources()
extract_task_info()
extract_uhs()
extract_weights()
get_info()
get_loss_type_tags()
get_relevant_event_ids()
get_relevant_rup_ids()
get_ruptures_within()
get_sites()
hazard_items()
lit_eval()
norm()
parse()
sanitize()
- openquake.engine package
- openquake.server package
- Subpackages
- Submodules
- openquake.server.dbserver module
- openquake.server.manage module
- openquake.server.middleware module
- openquake.server.settings module
- openquake.server.urls module
- openquake.server.utils module
- openquake.server.views module
DEFAULT_EXPORT_TYPE
aelo_callback()
aelo_run()
aelo_validate()
ajax_login()
ajax_logout()
aristotle_callback()
aristotle_get_rupture_data()
aristotle_run()
aristotle_validate()
calc()
calc_abort()
calc_datastore()
calc_list()
calc_log()
calc_log_size()
calc_remove()
calc_result()
calc_results()
calc_run()
calc_traceback()
cross_domain_ajax()
download_aggrisk()
download_png()
extract()
get_available_gsims()
get_disp_val()
get_engine_latest_version()
get_engine_version()
get_ini_defaults()
is_model_preliminary()
license()
log_to_json()
on_same_fs()
save_pik()
store()
submit_job()
validate_nrml()
validate_zip()
web_engine()
web_engine_get_outputs()
web_engine_get_outputs_aelo()
web_engine_get_outputs_aristotle()
- openquake.server.wsgi module
- Module contents
- openquake.commands package
- db command
- dbserver command
- engine command
- export command
- info command
- plot command
add_borders()
get_assetcol()
get_country_iso_codes()
import_plt()
main()
make_figure_agg_curves()
make_figure_avg_gmf()
make_figure_compare_avg_gmf()
make_figure_csq_curves()
make_figure_disagg()
make_figure_disagg_by_src()
make_figure_dist_by_mag()
make_figure_effect()
make_figure_effect_by_mag()
make_figure_event_based_mfd()
make_figure_gmf_scenario()
make_figure_governing_mce()
make_figure_gridded_sources()
make_figure_hcurves()
make_figure_hmaps()
make_figure_mean_hcurves_rtgm()
make_figure_memory()
make_figure_rups_by_mag_dist()
make_figure_rupture_info()
make_figure_source_data()
make_figure_sources()
make_figure_task_info()
make_figure_tot_curves()
make_figure_uhs()
make_figure_uhs_cluster()
make_figure_vs30()
middle()
plot_avg_gmf()
plot_csv()
plot_wkt()
stacked_bar()
- purge command
- sample command
- reset command
- run command
- show command
- show_attrs command
- tidy command
- to_hdf5 command
- upgrade_nrml command
- webui command