Beispiel #1
0
def compute_quantile_curves(job_id, sites, realizations, quantiles):
    """Compute the quantile hazard curve for each site given."""

    check_job_status(job_id)
    HAZARD_LOG.info("Computing QUANTILE curves for %s sites (job_id %s)"
            % (len(sites), job_id))

    return classical_psha.compute_quantile_hazard_curves(job_id, sites,
        realizations, quantiles)
Beispiel #2
0
def compute_quantile_curves(job_id, sites):
    """Compute the quantile hazard curve for each site given."""

    logger = compute_quantile_curves.get_logger()

    logger.info("Computing QUANTILE curves for %s sites (job_id %s)"
            % (len(sites), job_id))

    engine = job.Job.from_kvs(job_id)

    return classical_psha.compute_quantile_hazard_curves(engine, sites)
Beispiel #3
0
def compute_quantile_curves(job_id, sites):
    """Compute the quantile hazard curve for each site given."""

    logger = compute_quantile_curves.get_logger()

    logger.info("Computing QUANTILE curves for %s sites (job_id %s)" %
                (len(sites), job_id))

    engine = job.Job.from_kvs(job_id)

    return classical_psha.compute_quantile_hazard_curves(engine, sites)
Beispiel #4
0
 def _run(self, sites):
     classical_psha.compute_quantile_hazard_curves(
             self.engine, sites)
Beispiel #5
0
 def _run(self, sites):
     classical_psha.compute_quantile_hazard_curves(
             self.engine, sites)
Beispiel #6
0
 def _run(self, sites, realizations, quantiles):
     classical_psha.compute_quantile_hazard_curves(
             self.job.job_id, sites, realizations, quantiles)