Home > 6. Motion Vectors > 6.5 GDP/ASCII
|
|
1. The above ASCII data files (whichever ones you want) should be downloaded to DATA > OCEAN > GDP. You can use the file names used below, or the original filenames. They all have months names to identify them correctly. But please use the latest version of the dataset. | |
2. Run Saga.
|
![]() |
3. Open any table to see its contents (from the GDP webpage):
|
![]() |
4. To work with the data, we need to convert the tables to point shapes. Select TOOLS > SHAPES/POINTS > CONVERT TABLE TO POINTS.
Then click OK. |
![]() |
5. Now you have your first point shape, as you see here. Check to make sure. | ![]() |
6. Here you can use ADD TO MAP to see if it resembles a global map. Seems to be ok. | ![]() |
7. To fix the map and make it easier to see, make these settings:
Now click APPLY at the bottom. |
![]() |
8. You should see something like this. It indicates you're working with good data and they are behaving as expected.
Remember, these are thousands of actual surface measurements, not satellite data. |
![]() |
9. And here we've zoomed into the Liberia area to confirm that the original GDP data are a regular array of points. | ![]() |
10. Now to work with these data to see the current vectors, we need to grid the point shapes. | |
11. Select TOOLS > GRID-GRIDDING > INVERSE DISTANCE WEIGHTED (the gridding algorithm we frequently use in Saga):
Of course you are invited to experiment with these settings and use anything you like better. Now click OK to continue. |
![]() |
12. Now you're asked to specify the dummy grid for the gridding. Select the 0.5-degree dummy grid.
Make certain that GRID is set to CREATE, or you might lose something you want to keep. Now click OK. |
![]() |
13. Now a new grid appears ("Ubar") in the same system as the dummy grid. | ![]() |
14. You can use ADD TO MAP to see the grid. The strong eastward current along the coast of Cote d'Ivoire and the westward flow in the equatorial area are both expected features.
The LEGEND confirms the data values must be m/sec. |
![]() |
15. Use the same method to grid the Vbar data. It is again extremely important you set GRID to CREATE, so you don't over-write the previous grid. | ![]() |
16. And here is the Vbar grid. Typically, north-south components are much weaker than east-west, as you see here. | ![]() |
17. Check to make sure that you have these 2 new grids in the proper system. | ![]() |
18. Now that we have the U and V grids, we can make current vectors. | |
19. Select TOOLS > SHAPES-GRID > GRADIENT VECTORS FROM DIRECTIONAL COMPONENTS:
Now click OK to make the vectors. |
![]() |
20. A new line shape appears with a double name indicating the sources of the components. | ![]() |
21. And here you can see the vectors by using ADD TO MAP. | ![]() |
22. Here are some adjustments you can make in the properties panel:
Click APPLY in the bottom of the panel. |
![]() |
23. Now the vectors are not so crowded, and much easier to understand. | ![]() |
24. Here are some more adjustments you can make to improve appearance:
Click APPLY in the bottom of the panel. |
![]() |
25. These are the best vectors you can do in Saga, with 2 kinds of visualization of the currents speeds: arrow size and arrow color. | ![]() |
26. If you want to use these vectors in another system, Integrated Data Viewer (IDV) for example, right-click on the line shape and select SAVE AS. | ![]() |
27. Navigate to PRODUCTS > SAGA > VECTORS and save the shape with the name current_surface_liberia_jan_gdp_ver2.06_saga.shp | |
28. And here, in IDV, is the same shape, added through DATA CHOOSERS > FILES. Note that this object is a true vector, not a pixilated image, so you can zoom in or out without any distortion. |
|
29. Also in Saga, you can use IMPORT/EXPORT-GDAL/OGR > EXPORT SHAPES TO KML to create vector shapes for Google Earth that work the same way. | |
30. If, though, you want to display very large areas or even the entire globe, then the initial display might look a little strange. If you want to deal with these vector fields, then go to the older exercise, 6.3 |