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

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

    return classical_psha.compute_mean_hazard_curves(job_id, sites,
        realizations)
Beispiel #2
0
def compute_mean_curves(job_id, sites):
    """Compute the mean hazard curve for each site given."""

    logger = compute_mean_curves.get_logger()

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

    return classical_psha.compute_mean_hazard_curves(job_id, sites)
Beispiel #3
0
def compute_mean_curves(job_id, sites):
    """Compute the mean hazard curve for each site given."""

    logger = compute_mean_curves.get_logger()

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

    return classical_psha.compute_mean_hazard_curves(job_id, sites)
Beispiel #4
0
 def _run(self, sites):
     classical_psha.compute_mean_hazard_curves(
             self.job_id, sites)
Beispiel #5
0
 def _run(self, sites):
     classical_psha.compute_mean_hazard_curves(
             self.job_id, sites)