Skip to content
Prev 9600 / 29559 Next

Problems with mask (raster)

Here is alternative (non-computational) approach to ensure that the
files are read as signed integers:

library(raster)
bio <- raster("bio1_23.bil", native=T)
dataType(bio) <- 'INT2S'
NAvalue(bio) <- -9999

plot(bio)

Robert

On Fri, Oct 15, 2010 at 4:10 AM, Jaime R. Garcia Marquez
<jaime.garcia at uni-bonn.de> wrote: