On the previous page I selected the weather stations along the coast of Spain somewhat roughly, by entering a Latitude and Longitude boundary.
Here I will use the geospatial nodes KNIME has to narrow down the weather stations which are near the Mediterranean coast. The first step will be to create a Polygon 'defining' the coastline.
The tool I used to do this can be found here . Its use is quite easy: you draw a shape on the map by right-clicking points (the light blue rectangle on the map) and on the right side of the screen you get the set of coordinates we will be using in KNIME.
I used this tool to draw an outline of the Spanish Med coast. The workflow below will show this polygon on a map.
I want to say a big Thank You to Andreas Schulze and Hans S for their help on this.
The Table Creator node of this workflow is where I enter the coordinate pairs I have obtained from the Map tool above:
Below you see the resulting Map with the Polygon defining the coastline:
Now what is left to do to refine my climate forecast , is to select the Weather stations which are inside of this polygon.
The workflow below combines the workflow we saw at the bottom of the previous page with our more refined 'coastline'.
The nodes at the top are where we defined our Polygon above and the rest is the selection of the Weather stations.
The crucial part is the Spatial Join node, which will retain only the weather stations which are inside of the Polygon.
I have added the Data to Report (BIRT) node to check the results and it looks good : all weather stations retained are on or near the coast (believe me, I live here).
Here are some of the selected Weather stations (BIRT node) :
And below is the result of our new refined prediction : 0,09 degrees temperature increase every year on average. (last column). About 1 degree every 10 years. In 50 years we would have maxima of over 45 degrees.