Displaying 4 results from an estimated 4 matches for "xllcorner".
2004 Feb 17
4
importing ascii grids (for gstat)
Hello,
Is there anyone who could give me an example of how to import an ascii grid (i.e. ArcGIS exported raster) into R. I want to use it with gstat but don't know the appropriate import routine.
Thanks very much for your help.
Regards,
femke
Femke Reitsma
Graduate Student (ABD)
Geography Department
2181 LeFrak Hall
University of Maryland
College Park, MD 20742
Phone: 301-405-4121
2004 Feb 26
6
adding header info to write.table
Hello,
Could someone please tell if there is a way to append header info to the top of an exported dataframe (exported with write.table). I want to append the following, which are the defininitions for an asciigrid:
ncols 532
nrows 999
xllcorner 510465
yllcorner 4766375
cellsize 30
NODATA_value -9999
Thanks very much,
femke
[[alternative HTML version deleted]]
2012 Jul 04
3
Please help
...king very hard on study R, but I still can not fix the problem. Could someone please as kind as point out that what the problems are in my R script?
Firstly, this is an example of data in asc file:
NCOLS 241
NROWS 160
XLLCORNER 140.00012207031
YLLCORNER -39.000000000000
CELLSIZE 0.50000000000000E-01
NODATA_VALUE -99.00000
166.30 160.87 155.23 149.33 143.83 138.52 133.29 128.34 123.76 119.21...
2008 Jul 28
0
Help with yaImpute
...Error in AsciiGridImpute(RF, xfiles, outfiles) :
BA_PER_HA_ is not present in the predicted data
################################################################
The first six lines of the output file contain the header information for an ESRI ASCII grid and look like this
ncols 1564
nrows 1062
xllcorner -77876.53335875
yllcorner -3304144.3940076
cellsize 4.000718
NODATA_value -9999
Which is exactly the same as the input ascii grids used during the AsciiGridImpute command.
I was wondering if anyone on the R mailing list had ever come across this error and if so how did you correct it.
I am using...