Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make Vulnerability curves usable for EMIKAT? [VA API] #16

Closed
DenoBeno opened this issue Sep 12, 2019 · 6 comments
Closed

How to make Vulnerability curves usable for EMIKAT? [VA API] #16

DenoBeno opened this issue Sep 12, 2019 · 6 comments
Assignees
Labels
BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block enhancement New feature or request on-hold Issue is on-hold and will be addressed later question Further information is requested STALLED Further Action is requested wontfix This will not be worked on

Comments

@DenoBeno
Copy link
Contributor

DenoBeno commented Sep 12, 2019

related to: #13, #7

If we want to make the vulnerability curves usable for the backend processing, we (EMIKAT) would need to know which resources/which references can be used as input for the calculation. But how to do this?

One thing is sure: if we add some machine-readable vulnerability curve material (e.g. a csv table) to dp_vulnerability, this material will ONLY work for very specific resources/references

Let's us look at the simplest case: heat mortality.

hazard = heat.
But which heat index? Maybe consecutive tropical nights? Or consecutive days with temperature above some threshold? Or??
In https://csis.myclimateservice.eu/node/682, we have following types of resources:

  • Maximum consecutive days (summer) 75th percentile ensemble mean (${emission_scenario}, ${period})

I suppose this is what we currently use as input to screening calculation, but how would EMIKAT know that these are the right resources? What if someone adds 50th or 90th percentile ressources? What if someone uses the tropical nights instead? - each of these would need a similar but different vulnerability curve. And in how many different forms could this data be presented?

Element@risk = population.
We already had a case where population was disaggregated in three classes. currently we don't use this in the screening package.

risk/impact indices
In a way, this is the smallest of my problems since these indices need to be calculated - they are output, not input. However, we need to know what they are and list them extra in the DP so that they can be visualized.

In short: there are too many possibilities here. we need some simple and robust method that will assure that we (e.g. EMIKAT) match right resources/references with the VA - otherwise this will never work .

And we need to agree what it will be bevore I start designing this in CSIS. :-(

@DenoBeno DenoBeno added enhancement New feature or request question Further information is requested labels Sep 12, 2019
@DenoBeno
Copy link
Contributor Author

Some thoughts:

  1. Explicitly link all the resources that can be used from dp_vulnerability. This would be sufficient but unmaintainable.
  2. Explicit linking of the relevant dp_vulnerability node(s) from the ressource. MAybe a bit better but still too much work IMO.
  3. Stricter "resource type"/"reference type" definition than what we have today. This might be a way to go, but it could also easily lead to inflation of the types.
  4. Strict definition of how each of the resource type/reference type MUST look like and insisting on a very limited number of such types. Realistically something we must do anyway, but very easily broken. Plus, no such limitation needs to be made for the expert data.
  5. Explicit linking of resources and dp_vulnerability nodes as part of the data package definition. This might be a bit of a challenge to define, but it could be the best solution. The burden of assuring things fit together is on data package maintainer, our software can then work easily with the data.

Any ideas/comments/recommendations?

@DenoBeno
Copy link
Contributor Author

Looking further into the possibility 5, what we would need for this is a GUI that allows the user to choose one or more of the resources that are already listed in the data package and link them together. For instance, something like this:

image

Here H1, H2 etc mean: "hazard resources that are already linked in this data package". So it's not "heat" (taxonomy term) but a specific dp_resource or even a specific dp_reference we are linking her.

Considering the look & feel of this, it doesn't have to look like a table. The "nicest" implementation would be a workflow where the user first chooses one of the dp_vulnerabilities and then the hazard, element at risk and risk/impact choices are already limited to those that might fit. An alternative would be something similar to the way we are tagging the resources now.

image

Advantage: we already know how to do this...

@DenoBeno
Copy link
Contributor Author

DenoBeno commented Sep 12, 2019

This may not be absolutely necessary, but it would be good to combine this with "form steps" module (https://www.drupal.org/project/forms_steps):

step 1: define the data package as we have it now (could be cut in more steps if we like it that way...)
step 2: define the relations.

The problem is that the relations can only be defined once the resources have been added to the data package, so we need to save the data package before doing this. With a form step, this would be done automatically.

@DenoBeno
Copy link
Contributor Author

@fgeyer16 : I have thought of a way to add existing data packages to this workflow once we design it. It's simpler than I thought, see http://driver-pos-ticket.atosresearch.eu/content/please-implement-way-add-existing-entities-workflow and https://www.drupal.org/project/forms_steps/issues/3034105

With some luck, we might get this done through DRIVER+

@p-a-s-c-a-l p-a-s-c-a-l removed their assignment Sep 16, 2019
@p-a-s-c-a-l p-a-s-c-a-l added this to the D1.4 CLARITY CSIS v2 milestone Sep 16, 2019
@p-a-s-c-a-l p-a-s-c-a-l added the on-hold Issue is on-hold and will be addressed later label Oct 11, 2019
@p-a-s-c-a-l p-a-s-c-a-l added the BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block label Oct 28, 2019
@p-a-s-c-a-l
Copy link
Member

p-a-s-c-a-l commented Feb 19, 2020

Is this still relevant and feasible? Does it it have a realistic change to become implemented and is it going to provide any benefits for end users of the public screening service? If not, please close.

@p-a-s-c-a-l p-a-s-c-a-l added wontfix This will not be worked on STALLED Further Action is requested labels May 13, 2020
@p-a-s-c-a-l
Copy link
Member

Closed due to inactivity. Re-open if it becomes relevant again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block enhancement New feature or request on-hold Issue is on-hold and will be addressed later question Further information is requested STALLED Further Action is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants