Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-06-04 Thread Tomislav Hengl
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mauricio Zambrano Sent: dinsdag 27 mei 2008 15:27 To: Edzer Pebesma; Paul Hiemstra Cc: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Defining a grid for interpolations ? Dear Paul and Edzer, Thanks

[R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Mauricio Zambrano
Dear List, My question is about how to define the grid to be used for the interpolations, using R 2.7.0 and gstat 0.9-47 I'm working in a catchment of ~3000 km2, with daily rainfall data of several stations (more than 40), and I would like to interpolate daily values within all the catchment

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Edzer Pebesma
Good question; the meuse example does not explain how to get meuse.grid. The asciigrid file you have you should read with readGDAL in package rgdal, if that goes wrong I'd expect the problem in your data file. Otherwise, if you have a shapefile with a polygon covering the catchment, called

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Oehler, Friderike (AGPP)
or developers certainly know better advice. Cheers, Friderike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mauricio Zambrano Sent: 23 May 2008 14:13 To: r-sig-geo@stat.math.ethz.ch Subject: [R-sig-Geo] Defining a grid for interpolations ? Dear List

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Edzer Pebesma
Mauricio, please keep r-sig-geo in the loop. Mauricio Zambrano wrote: Dear Ezder, Thanks for your advice about the readGdal and the overlay function, but why is it better to use readGdal than readasciigrid ?. because the latter one is deprecated. In any case, when I tried to load rgdal I

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Roger Bivand
On Fri, 23 May 2008, Edzer Pebesma wrote: Mauricio, please keep r-sig-geo in the loop. Mauricio Zambrano wrote: Dear Ezder, Thanks for your advice about the readGdal and the overlay function, but why is it better to use readGdal than readasciigrid ?. because the latter one is

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Mauricio Zambrano
Sorry for not include the list in my last e-mail, I forgot it. :(. 2008/5/23 Edzer Pebesma [EMAIL PROTECTED]: Mauricio, please keep r-sig-geo in the loop. Mauricio Zambrano wrote: Dear Ezder, Thanks for your advice about the readGdal and the overlay function, but why is it better to use

Re: [R-sig-Geo] Defining a grid for interpolations ?

2008-05-23 Thread Mauricio Zambrano
Dear Edzer, Just in case it be useful for somebody else, I solved the problem with the installation of rgdal in R, installing the libgdal1-dev library on my linux system. Thanks. Mauricio 2008/5/23 Mauricio Zambrano [EMAIL PROTECTED]: Sorry for not include the list in my last e-mail, I forgot