This page contains detailed documentation on how to access CEMS-Flood WMS via a web browser for EFAS and GloFAS.
Access to EFAS WMS via web browser
Once you have retrieved the access token (if you are an EFAS registered user), copy and paste the url with the access token into the web browser and inspect the getCapabilities:
https://www.efas.eu/api/wms/?token=[YOUR_ACCESS_TOKEN]&request=getcapabilities
If you are not a registered user use the following url
https://www.efas.eu/api/wms/?request=getcapabilities
The browser will display the returned GetCapabilities document in XML Format. Take a moment to look through the available layers.
Once you have identified the layer that you want to display, make a GetMap request using the browser. In the following example the GetMap request ask for two layers (the country borders and the Reporting Points 5yr RP for the 01 of January 2019 at 00 UTC:
Copy and paste the following request into the browser and replace the token with your access token |
https://www.efas.eu/api/wms/?token=(YOUR_ACCESS_TOKEN)&LAYERS=mapserver:RepPoints_High%2Cmapserver:Countries&TRANSPARENT=true&FORMAT=image%2Fpng |
The result is the following image returned from the WMS server:
Changing the TIME parameter of the request will change the returned image with the forecast layers for that time (if available). Valid TIME requests are:
YYYY-MM-DD-HH-MM (i.e. 2019-03-25-12-00)
YYYY-MM-DD-HH (i.e. 2019-03-25-12)
YYYY-MM-DD THH:MM:SSZ (i.e. 2019-03-25 T12:00:00Z)
Access to GloFAS WMS via web browser
For GloFAS, copy and paste the WMS url into the web browser and inspect the getCapabilities:
https://ows.globalfloods.eu/glofas-ows/ows.py?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
The browser will display the returned GetCapabilities document in XML Format. Take a moment to look through the available layers.
Once you have identified the layer that you want to display, make a GetMap request using the browser. In the following example the GetMap request ask for the Accumulated Precipitation layer for the following date: 2018-04-18T00:00:00:
Copy and paste the following request into the browser |
https://ows.globalfloods.eu/glofas-ows/ows.py?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&TIME=2018-04-18T00:00:00 |
The result is the following image returned from the WMS server:
Changing the TIME parameter of the request will change the returned image with the forecast layers for that time (if available).