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

Support Hazards with Local Effects [HC-LE API] #12

Closed
p-a-s-c-a-l opened this issue Jul 1, 2019 · 11 comments
Closed

Support Hazards with Local Effects [HC-LE API] #12

p-a-s-c-a-l opened this issue Jul 1, 2019 · 11 comments
Assignees
Labels
BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block enhancement New feature or request SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless
Milestone

Comments

@p-a-s-c-a-l
Copy link
Member

This is related to the calculation of tmrt.

Hazards with local effects /currently (tmrt based on Heat Wave Events) are (re-)calculated in EMIKAT and will be shown on the HC-LE Map and eventually in the HC-LE Table.

The API would probably expect just two parameters:

  • $studyArea or, if the study is already initialised, just the '$studyId'
  • $hazardEvents[] See this comment for the related explanation.

That means, in contrast to previous ideas, we don't need parameters for RCP and time period because we force the user in the Scenario Selection UI (probably better called Event Selection UI) to chose one event from the baseline and one corresponding event of the same type (frequent, occasional, rare) from the future.

In principle, the API then returns the two HC-LE layers (tmrt) related to the two events chosen by the user. Atm, the implementation of the HC-LE Table is on hold, so we are currently just in need of a WMS Endpoint for the map.

The respective HC-LE Data Package Resource has to be updated accordingly and example request / response URLs have to be added to the Wiki.

@p-a-s-c-a-l p-a-s-c-a-l added enhancement New feature or request SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless labels Jul 1, 2019
@p-a-s-c-a-l p-a-s-c-a-l added this to the D1.4 CLARITY CSIS v2 milestone Jul 1, 2019
@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Aug 22, 2019

Now the result of Local effect calculation is also available as WMS-Maps:

https://service.emikat.at/geoserver/clarity/wms?service=WMS&version=1.1.0&request=GetMap&layers=clarity%3Aview.2974&bbox=4672000.0%2C1979500.0%2C4687500.0%2C1988000.0&width=768&height=421&srs=EPSG%3A3035&format=image%2Fgif&CQL_FILTER=PROJECT%3DBASELINE%20and%20PERIOD=%27Baseline%27%20AND%20RCP=%27Baseline%27%20AND%20FREQUENCE=%27Rare%27%20AND%20SZ_ID=2846&styles=T_A

In this link you can adapt the follwing parameters:

PROJECT=BASELINE ... (for future selection of an alternative ADAPTATION variants)
PERIOD='Baseline' ... (Alternatives are: '20110101-20401231', '20410101-20701231' and '20710101-21001231')
RCP='Baseline' ... (Alternatives are: 'rcp26', 'rcp45' and 'rcp85')
FREQUENCE='Rare' ... (Alternatives are: 'Occassional' or 'Frequent')

@p-a-s-c-a-l , @therter please test and give me feedback, if this approach is ok.

SZ_ID=2846 has to be set to the current $emikatID

styles=T_A for Apparent temparature
styles=T_TMRT for Mean Radiant Temperature
styles=T_UTCI for UTCI Temperature

The color schemas (STYLE colors) are currently fixed but not optimized !!!!

@p-a-s-c-a-l
Copy link
Member Author

Thanks. And what about the the JSON API needed for the Table Component?

@humerh
Copy link

humerh commented Aug 22, 2019

Do you mean the grid results as "JSON API"?
or
the content of the "Summary table"?
If you mean the "Summary table" I need to understand, how this numbers are calculated. I need more information!

@p-a-s-c-a-l
Copy link
Member Author

any kind of tabular data would be fine atm.

@DenoBeno
Copy link
Contributor

I presume this has been resolved now?

@DenoBeno
Copy link
Contributor

As discussed earlier today, we have a workaround for the missing insolation data, so this should soon work for all locations. Technically it's already working for a few locations...

@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 Author

I assume this is working now and the issue can be closed?

@humerh
Copy link

humerh commented Oct 30, 2019

Yes!

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 SHOWSTOPPER Feature or bug, that, if not addressed, renders the CSIS essentially useless
Projects
None yet
Development

No branches or pull requests

3 participants