[GRASS-stats] Parameter error in when using r.horizons

helekua hneedham at hawaii.edu
Thu Jan 5 15:13:24 PST 2017


Hi All,

I am a new GRASS user and would like to pull horizon data for multiple
points off of a DEM.  I have been able to use the grass console to
accomplish this but I will need to run thousands of points from a gridded
dataset.  I was hoping to apply a function or loop in R to accomplish this
however I am getting the following error in R while listing parameters. 

Using Windows 10, R x64 3.3.2, rstudio 1.0.136 in a Grass GIS session


*Section of code:*
library(rgrass7)

doGRASS("r.horizon", flags = c("d"), parameters = list(elevation =
"w001001",
                  direction = 0.0, step = 180.0, 
                  coordinates = -155.447804131,19.3115222633, 
                  file = "test_horizon1.csv"))

*Error:* 
Error in doGRASS("r.horizon", flags = flags, parameters = parameters) : 
  Invalid parameter name: 
>



Any suggestions would be most appreciated.

Thanks,
Heidi



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Parameter-error-in-when-using-r-horizons-tp5302223.html
Sent from the Grass - Stats mailing list archive at Nabble.com.


More information about the grass-stats mailing list