884 reputation
26
bio website
location
age
visits member for 2 years, 10 months
seen 4 hours ago

17h
comment Extracting point data for each lat and long from raster file into a dataframe
Sorry, fixed that. That's what happens when examples do not have embedded data.
17h
revised Extracting point data for each lat and long from raster file into a dataframe
deleted 2 characters in body
22h
answered Extracting point data for each lat and long from raster file into a dataframe
May
21
comment moving window regression on raster stack in R
Same question here: stackoverflow.com/questions/30379604/moving-window-regression
May
21
comment Extracting point data for each lat and long from raster file into a dataframe
This question was also asked, and now answered, on stackoverflow (stackoverflow.com/questions/30380633/…;. Please do not cross-post.
May
20
answered Unable to read raster into R: 'TIFFReadDirectory:Failed to read directory at offset'
May
18
comment conversion of *.tif file format to *.hdr file format
There is no such thing as a '.hdr' format. There is a number of file formats that consist of two files, typically one binary file with the cell values, and one text file with some parameters (number of columns, rows, extent, ...). E.g. for the 'BIL' format: 'file.bil' and 'file.hdr', but there are many more.
May
3
answered How can I loop through a list to create rasters and write them to .tif files?
May
3
suggested rejected edit on How can I loop through a list to create rasters and write them to .tif files?
Apr
30
comment Want cell linear regression values for a netCDF or multi-band raster
This does not really answer the question
Apr
29
answered Difference between raster() and readGDAL()?
Apr
29
revised Want cell linear regression values for a netCDF or multi-band raster
Added a must faster (but more complex) approach
Apr
29
answered Want cell linear regression values for a netCDF or multi-band raster
Apr
24
revised Different obs. when I extract raster values from polygons in R
within R you do have a 'shapefile'
Apr
24
suggested approved edit on Different obs. when I extract raster values from polygons in R
Apr
24
comment Different obs. when I extract raster values from polygons in R
That is strange. What is your version of 'raster' (is it up to date?) extract(stack(r1, r2), p, df=TRUE) should get rid of this problem and should be more efficient. Creating a RasterBrick first would probably slow things down.
Apr
24
comment How to set raster projection in R
You may need different parameters, but besides that, you can do crs(r) <- "+proj=stere +lat_0=90 +lat_ts=70 +lon_0=-45 +datum=WGS84"
Apr
24
comment Include non-raster object in overlay function in R
A simple, perhaps inefficient way, would be to run all three equations for all cells. Make a RasterStack 's' of the three (or n) layers, and then use x <- stackSelect(s, r2)
Apr
23
answered Include non-raster object in overlay function in R
Apr
18
answered Rasterize gives weird image