clarity-h2020 / emikat

http://www.emikat.at/?lang=en
1 stars 0 forks source link

Support for Adaptation Scenarios [IAO/AAO API] #8

Closed p-a-s-c-a-l closed 4 years ago

p-a-s-c-a-l commented 5 years ago

Provide an API to create new Adaptation Scenarios by modifying and land use distribution as well the parameters like albedo.

p-a-s-c-a-l commented 5 years ago

Now, I have implemented the calculation of adptation option in a way, that either the land use distribution as well the parameters (albedo,...) can be modified.

I expect a "table of modifications", which will overlay the base layer grid. Only the modified cells have to be given;

You can get the raster for baseline by this call:

https://service.emikat.at/EmiKatTst/api/scenarios/2846/feature/tab.CLY_HW_GRID_DETAILS.1856/table/data

and you can update the modified table by POSTing them to this address:

https://service.emikat.at/EmiKatTst/api/scenarios/2846/feature/tab.CLY_HW_GRID_DETAILS_PROJ.1856/table/data

https://github.com/clarity-h2020/local-effects/issues/1#issuecomment-507159178

p-a-s-c-a-l commented 5 years ago

We would need an additional service / API that translates the JSON into some format (e.g. GeoJSON) that can be shown on the IAO/AAO Map. Furthermore, the respective Data Package Resource has to be created and the example request / response URLs have to be added to the Wiki.

Currently, this issue is on-hold since we first have to finish the general impact calculation.

humerh commented 5 years ago

Strategy for implementing a "simple" interface for applying "Adaptation strategies":

Denis proposed today at ZAMG, that the user should draw a (or more) polygon in the map of the Study area and should apply a "Adaptation Strategy". I find this is a very good solution, as it solves several problems:

What we need for this calculation:

I think, this would simplyfy the user interface on CSIS side enormously!

What do you mean?

p-a-s-c-a-l commented 5 years ago

Interesting idea that could indeed make thins simpler. I'll think about it when we've resolved our most pressing issues.

DenoBeno commented 5 years ago

We have an even simpler possibility to start testing the application of adaptation options now:

  1. define adaptation options that can be used with EMIKAT (see https://github.com/clarity-h2020/csis/issues/77, https://github.com/clarity-h2020/data-package/issues/44) - this is something PLINIUS is working on.
  2. Include these adaptation options in the screening data package. This is already possible on Drupal side, see https://csis.myclimateservice.eu/node/682/edit/step_2
  3. Now the user can choose to include some of these adaptation options in the report, e.g. see https://csis.myclimateservice.eu/study/33/step/1515/view/table

So, we have a very simple way to indicate that some adaptation options should be applied to the whole project. Once we have the new adaptation options from PLINIUS, EMIKAT should be able to use them and calculate new impact data.

Letting the users to apply the adaptation options selectively to parts of the project is nice to have but isn't a showstopper anymore...

p-a-s-c-a-l commented 4 years ago

done