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

Exposure - Switch to EMIKAT API #7

Closed
p-a-s-c-a-l opened this issue Jun 28, 2019 · 10 comments
Closed

Exposure - Switch to EMIKAT API #7

p-a-s-c-a-l opened this issue Jun 28, 2019 · 10 comments
Assignees
Labels
BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block BB: Table Component Table Component Building Block enhancement New feature or request on-hold Issue is on-hold and will be addressed later

Comments

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

p-a-s-c-a-l commented Jun 28, 2019

Exposure Data (Population) for whole Europe will be served from a new EMIKAT API.
This means, that the table API for aggregating Exposure Data has to be updated accordingly.
Additionally, the respective Exposure Resources in the Data Package have to be updated as well as the Table Component.

@humerh Could you please provide an example request and response? To keep the changes to the table-state-rest-api minimal, it would be helpful if EMIKAT API could offer the the same API as currently used by the table-state-rest-api to access the underlying exposure data. @ghilbrae Is it WCS, WFS, ...?

It may be necessary to parametrise the URL as described here. Likewise the parameters have to be supported by the table-state-rest-api. This is somehow related to #3.

@ghilbrae
Copy link
Collaborator

ghilbrae commented Jul 1, 2019

As we used geoserver to publish the data/layers, we took advantage of its capabilities regarding OGC standards. In short, we are using WCS to access the layers and get the information needed for the tables.

@p-a-s-c-a-l p-a-s-c-a-l moved this from Backlog: High Priority to Backlog: Medium Priority in T1.3 Climate Services Co-creation Jul 3, 2019
@ghilbrae
Copy link
Collaborator

ghilbrae commented Jul 8, 2019

I know this is not high priority rn but if we need to switch the table API to EMIKAT I'll need info on the EMIKAT API, WCS, WMS, etc. endpoints and also a user/pass or token or whatever it is that it's needed to connect to the service. Thanks!

https://github.com/clarity-h2020/csis/wiki/Services-endpoints-(used-by-CSIS)

@humerh

This comment has been minimized.

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

I know this is not high priority rn but if we need to switch the table API to EMIKAT I'll need info on the EMIKAT API, WCS, WMS, etc. endpoints and also a user/pass or token or whatever it is that it's needed to connect to the service. Thanks!

Questions / Discussions regarding the EMIKAT Exposure API should continue here.

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

p-a-s-c-a-l commented Jul 10, 2019

There is no WCS Endpoint, so you would need to the use CSV endpoint.

CSV Format Population Exposure for Europe:

GRID_ID;Population 
500mE46730N19800;395.0 
500mE46730N19805;394.0 
500mE46735N19800;394.0 
500mE46735N19805;394.0 

However, for local data it look different:

OBJECT_ID;GRID_ID;POPULATION_LT15;POPULATION_15TO65;POPULATION_GT65
49704;500mE46735N19805;73.88189697265625;320.4410095214844;58.539100646972656
49678;500mE46735N19810;54.60070037841797;178.06399536132812;27.587299346923828
49691;500mE46735N19815;21.633699417114258;81.45919799804688;10.961799621582031
49730;500mE46735N19820;435.5150146484375;1500.4000244140625;254.0070037841797
49731;500mE46735N19825;820.666015625;3915.60009765625;640.0349731445312
49710;500mE46735N19830;726.43798828125;3172.10009765625;596.3989868164062

And of course for different Element at Risk Types. :hurtrealbad:

@therter
Copy link

therter commented Jul 10, 2019

An example response for the table-state-rest-api can be found here. The request for table-state-rest-api can be found here

@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 Jul 15, 2019
@p-a-s-c-a-l
Copy link
Member Author

p-a-s-c-a-l commented Jul 15, 2019

We'll provide Simplified Table Components until the above questions have been resolved. So putting this on hold. ATM no further modifications to the table API are needed.

@p-a-s-c-a-l p-a-s-c-a-l moved this from Backlog: Medium Priority to Backlog: Low Priority in T1.3 Climate Services Co-creation Jul 15, 2019
@humerh
Copy link

humerh commented Aug 26, 2019

In my opinion this is already done!!

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

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

@humerh Depends on where the original population Exposure is stored in EMIKAT or in Meteogrid WCS?

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

We don't need to switch to EMIKAT API since the exposure data is available on METEOROID Geoserver too.

T1.3 Climate Services Co-creation automation moved this from Backlog: Low Priority to Done Sep 5, 2019
@p-a-s-c-a-l p-a-s-c-a-l added BB: Table Component Table Component Building Block BB: Catalogue of ER & AO Catalogue of Elements at Risk and Adaptation Options Building Block labels Oct 30, 2019
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 BB: Table Component Table Component Building Block enhancement New feature or request on-hold Issue is on-hold and will be addressed later
Projects
No open projects
Development

No branches or pull requests

4 participants