 Hello, this is Hans van der Kwas senior lecturer at IHE Delft Institute for Water Education. In this video, I will show you how to use the data from the Water Productivity portal of the FAO, WAPOR, in QGIS using the OGC web services. In another video, I will show you how to use that QGIS project in the field on a mobile app called the input app. Let's first look at WAPOR. You can find WAPOR using the link wapor.apps.feo.org and note that there are multiple versions. We are looking here at version 2.0 and that there is also three levels, 250 meter, 100 meter and 30 meter data. 250 meters available for the whole continent of Africa, 100 meter for certain countries and there is the sub-national 30 meter level products for certain selected study areas and we are going to use the BECA in Lebanon. So here I choose it and here I can see the data and to know what data is available I can click here on the catalog. Make sure that BECA is selected here if that is your study area and here I find the data sets that we can use and if I am going to the field I might be interested in the actual evapotranspiration and interception of the last month. So if I click on this I see here the different months that I can see and you can of course download the data or see it on the map or use an OGC link. In this video I am going to present how to use the OGC web services and I would like to use that web service for October 2019. If I go here to additional information I find meta data and that is very important. It gives us the projection of the data and it gives us the conversion factor which is really important so I need to multiply the downloaded data by 0.1 and it will give us in millimeter per day the actual evapotranspiration and interception the sum for the month. You can see the data on the map and if I go back to catalog make sure you have here BECA it switches back to awash and let me go back where it was. Here I can click the OGC link. This link points to a server where this data can be downloaded from using the OGC services. We recognize here the WMS web map service. So I am going to copy this link and in QGIS I can add the services using this button and I create a new one and I call it FAOvapor and I just place the link here and when I do connect I find here all the data sets. I will just close it here because here in the browser you can also find FAOvapor. Here we find the list of the data and we are interested here in the BECA and I find here the monthly actual evapotranspiration and interception. Let's go to the properties and it gives us a lot of information here. It shows a little bit strange information too so we have to be a bit careful it gives a projection of EPSG 2000 which is not very familiar for this area but if I look at the file name it gives Vapor version 2 and it shows here that it is the BECA AETI product of 2019 month 10 so 1910 means 2019 month 10. So I will just load this. I can simply drag this file to the right and then it will load and just to check if you are on the right spot on the globe I am going to add from the quick map services plugin the open street map standard. If you don't have this plugin you can install it from the plugins menu. There are other videos that I previously recorded where you can see how to do the settings. And here we see that we are in the right spot in Lebanon and this is the area that we are going to prepare. Now a WMS is a web map service it is an OGC standard which basically generates a picture a PNG in this case from the raster data. However often we want to control a bit more how we see this raster data and we want to do calculations with it. So a WMS is nice as a picture to quickly view but we can already see that the contrast in the legend for example is not so good here and we can improve it if we really have access to the raster data. Now there is a little hack that we can do. So if we go back we can also add WCS a web coverage service which basically gives us access to the real raster data. So I can add a new one here call it also FAOvapor and I paste here the URL but I am going to change this to WCS and basically that will find also the layers. But now in a real raster format that we can use. So here it is and here we see the whole list. It will also be added here to the browser panel so instead of going here to WMS where we were we can also go to the WCS here and here we find our recently added FAOvapor and there we can also find the BK Lebanon monthly data. Now I am going to drag this one there so it will be loaded from the internet. The difference with the WMS is that the WCS really has the raster data. We can also save as a intuitive and we have more control on it. And therefore we already see this. There is by convention a node data value of minus 9999 which was also given on the site if we look at the additional information. And we need to multiply also the values by 0.1. So what I am going to do first I am going to change this web layer into a geotiff. So click right I can do export save as and I will go to a folder that I prepared WAP or survey. I am going to save here and it is 2019 month 10. What we have to do is to change here the node data values and I am going to add here minus 9999 and then when I do OK it will save it in the right format. So it will download all the pixels and there it is and we can remove this web layer. So now we need to correct the values by multiplying with 0.1 so I do that in the raster calculator times 0.1 I am going to save it and I call it AETI-1910-corrector.tiff and there we go. So now it is in the right units I will remove this layer and I am going to give it a similar color style as this WMS but it will now use the minimum and maximum that it finds here in the file. So I am going to go to single bent pseudo color because it is a continuous raster. The WMS uses a blue color ramp so I am going to do the same here blues so I am going to change it to blues and here we see it. We see that the contrast is much improved compared to the other one. We can tune the things if we want to choose another mode we can do a quantile for example but let's for now keep it on continuous and what we can also do is compare the values to see if they are the same. So I select both and I don't need this anymore and I am going to use the identify tool here. I am going to zoom in on some fields. So let's say for this field identify all two. I can find here that in the WMS it is 82.0 and here is 82.2. So I know that in the WMS the values are not converted it shows the original values but it is in fact the same. Let's try a few other sides. This is a nice side 68867.8 so a bit different but not much. So I found the slight differences and I am not sure if that is caused by reprojection or something but the differences are small and certainly within the error margin so it is close. So we can use this layer for calculations and that is basically how you use web covered service from BAPR. We can do that for any other of these layers. So let's do this for gross biomass but a productivity. Same procedure. I am going to export this to a TIFF file and set the no data value to minus 9999 and then we click OK. To convert it to real values we need to check the conversion factor on the website. Note that this data layer is not disclosed via the web for WAPR 2.0 but we find similar information for WAPR 1.1 and we see that we need to multiply it by 0.001. So I do raster calculator times 0.001 and I can save it here to and I can save it here to this file name. There it is. We can remove these other ones and I am going to change the colors and what we see here is that they use it from red to green. So I can change the single band pseudo color and this one goes from red to green and here you see it but it is quite equal. We don't see much contrast so I am going to change that by using a quantile and there we see that we can highlight the contrasts much better. So we can also use this layer for calculations. I am going to remove this one and I am going to save the project because I am going to use it later in the survey in the input app. I am going to save it in the old format and I call this one WAPR BACA. In the next video I am going to show you how to create an app using this data for surveying in the field.