[GRASSLIST:9151] Re: Global interpolation: trend

Miha Staut mihastaut at yahoo.co.uk
Sun Nov 20 04:01:15 EST 2005


Depends on the version of GRASS you are working on. If you are using one of the
5.x versions try with 
> library(GRASS)
> g <- gmeta()
> ?sites.put # see help

Then rasterize (s.to.rast).

If you are using one of the 6.x versions try with 

> library(spgrass6)
> g6<-gmeta6()
> ?putSites6 # see help

Then rasterize with v.to.rast. 

Miha


--- Wolf Bergenheim <wolf+grass at bergenheim.net> wrote:

> Hi, again.
> 
> Following Markus Neteler's excelent R GRASS tutorial I've been able to
> import some GRASS (vector) point data into R and I've been able to
> interpolate the data. Now I'd like to be able to get the data back into
> grass to be able to make a nice map of the interpolated data. But I
> can't seem to find any advise on how to do it. Is it even possible?
> 
> I have an object ws.tmean_tr1 which is
> 
> >> str(ws.tmean_tr1)
> 
> List of 3
>  $ x: num [1:132] 2866517 2874825 2883133 2891441 2899749 ...
>  $ y: num [1:132] 6538650 6548635 6558619 6568604 6578589 ...
>  $ z: num [1:132, 1:132] -6.52 -6.57 -6.63 -6.68 -6.73 ...
> 
> x is the E-W coordinate, y is the N-S cordinate and z is the
> interpolated temperature. How can I make this into a GRASS raster
> map?
> 
> The only other reference I found was this:
> http://grass.itc.it/pipermail/statsgrass/2005-August/000287.html, but
> I'm not able to parse that info into my case. Please help!
> 
> --W
> 
> -- 
> 
>       |Humpty Dumpty sat on a wall
> (o< --|Humpty Dumpty had a great fall
> //\   |All the king's horses and all the king's men
> V_/_  |Couldn't put Humpty together again.
> 
> Wolf Bergenheim
> 
> 



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com




More information about the grass-user mailing list