gem / oq-platform-ipt

OpenQuake Platform - Input Preparation Toolkit
2 stars 1 forks source link

Make sure there is a check on missing intensity_measure_types_and_levels #129

Open micheles opened 4 years ago

micheles commented 4 years ago

IPT must consider a job.ini without intensity_measure_types_and_levels invalid for the following calculators:

  1. classical
  2. disaggregation
  3. classical_risk
  4. classical_damage

For event_based_risk there must be an error only if the flag hazard_curves_from_gmfs is true.

raoanirudh commented 4 years ago

The IPT currently doesn't support any of these calculators.

On Thu, Feb 6, 2020, 4:05 AM Michele Simionato notifications@github.com wrote:

IPT must consider a job.ini without intensity_measure_types_and_levels invalid for the following calculators:

  1. classical
  2. disaggregation
  3. classical_risk
  4. classical_damage

For event_based_risk there must be an error only if the flag hazard_curves_from_gmfs is true.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gem/oq-platform-ipt/issues/129?email_source=notifications&email_token=AANA3FVN4KMON62YFYL2PFDRBN5BFA5CNFSM4KQVV7M2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILMLVXA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANA3FXADPPXHXOEALRY3MDRBN5BFANCNFSM4KQVV7MQ .

nastasi-oq commented 4 years ago

IPT must consider a job.ini without intensity_measure_types_and_levels invalid for the following calculators: -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- 8< -- For event_based_risk there must be an error only if the flag hazard_curves_from_gmfs is true.

@raoanirudh the last case could be obtained, as you can see in the attached zip file, and intensity_measure_types_and_levels doesn' t appear, is it a special case ?

EventBasedHazardRisk.zip