We had a pretty extraordinary rain storm in our region some weeks ago. Accumulated rainfall over a 24 hr period was between 20-100 mm in a region where the total annual precipitation is about 50 mm.! I got rain gauge data for the event and made isohyetal lines using only tools available in Quantum GIS.
First I imported the data table including XY locations and the precipitation with the Delimited Text plugin. Then, in order to limit the analysis more or less to the area covered by the rain gauges, I made a “convex hull”, the minimum polygon enclosing all points, and buffered that polygon by 10 km. (allowing that the interpolation algorithm will give approximate values outside the area covered by the gauges). Both of these operations are available in the Vector->Geoprocessing menu.
Now I fired up the GRASS plugin to do the interpolation. Using the v.in.ogr.qgis module, I loaded both the rain gauge point vector and the buffer polygon vector into a suitable GRASS Location/Mapset. First I converted the buffer polygon to a raster so that I could use it as a mask with v.to.rast. After adding the two GRASS layers to the map – the rain gauges, and the mask raster, I pulled up the r.mask module to force the next action to be limited to the buffer region. Then I ran v.surf.rst to produce an interpolated rainfall grid. I chose, of course, the precipitation column as the attribute field for doing the interpolation. The new precipitation grid was created in a few moments, and I closed the GRASS toolbox.
Now I activated the new GDALTools Raster plugin. Among the tools there is “Contours”. I ran this tool, choosing the GRASS precipitation raster as input. I left the default levels value at 10, and chose an output directory where the contours shapefile will be saved. I also checked “Attribute Name” and typed in “Precip”. The contours were created and here’s my resulting map:
- Precipitation map – Jan 2010

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

#1 by Esdras Andrade - February 13th, 2010 at 05:07
Hi, i’d like learn more about this technical. I need a tutorial how to make this. Please, help me.
#2 by Micha Silver - February 13th, 2010 at 18:24
Hello Esdras:
I’d be pleased to help. Do you have any specific questions? Perhaps fill in some more details:
What data do you have?
What have you tried so far?
Regards,
Micha
#3 by Esdras Andrade - February 13th, 2010 at 19:31
Hello Micha,
I have a spreadsheet format .ods (.xls) with the coordinates X, Y and Z value corresponds to the salinity of a lagoon that I am studying. Would you like to follow the estimate of this parameter over 12 months. Are approximately 35 sample points in an area of 27000 square meters. I have experience in doing this using the GoldenSoftware Surfer, but I would like to migrate the program. I just replaced the Arcgis for gvSIG and am looking for a replacement for the Surfer.
However, I have none experience in Grass, even using the QGis as GUI.
I read your post and was interested in the result. This is exactly what I intend to do, and with other datas.
I look forward to your reply. And thanks in advance.
Sorry for my english. I’m brazilian.
#4 by Ibrahim - March 7th, 2010 at 22:44
Hi
This sounds encouraging, I add my voice to Esdras, can you provide us with a complete step by step procedure for doing this?.
p.s I have installed Arcmap 9.2
#5 by Micha Silver - March 7th, 2010 at 23:27
ׁHi Ibrahim:
What in the above description needs more explanation? If you’re trying QGIS, let me know how far you got, and I’ll try to fill in more details. You might want to start with the QGIS manual:
http://download.osgeo.org/qgis/doc/manual/qgis-1.3.0_user_guide_en.pdf
If you’ll be staying with ArcGIS software, then I’m pretty sure you will need the Spatial Analyst extension to do the interpolation of point data to a raster.
However, open source GRASS GIS offers several very well regarded interpolation routines such as v.surf.rst. This module is the most suited for environmental data such as rainfall, where it’s not necessary that the interpolated surface go exactly thru the data points.
So, if you have your data with X-Y locations in a spreadsheet table, export to a *.csv (comma separated value) text file, and use the “Delimited Text” plugin to pull the data into QGIS. Let me know how this goes, and we’ll continue from there…