openquake.hme.utils.validate_inputsΒΆ

Functions

check_branch_config(cfg)

check_duration(start_date, stop_date, duration)

check_fix_date(date)

check_fix_seis_catalog(seis_cat_cfg)

check_seis_catalog_path(seis_cat_cfg)

convert_deprecated_parameters(cfg)

Convert deprecated parameter names to their current equivalents.

get_date_parameters(seis_cat_cfg)

Ensures that for any combination of start_date, stop_date and duration, the missing parameter is added to the seis_cat_cfg.

validate_cfg(cfg)