Dear Edzer,
my.STSDF <- as(my.STFDF, "STSDF") does exactly what it should. I have a
STSDF object with several columns of data that have NAs for one variable but
not for other variables. I wanted to keep only those observations in space
and time that had data (no NAs) for all variables (see complet
-
Oeschger Centre for Climate Change Research, Institute of Geography& Institute
of Plant Sciences
University of Bern
http://www.stomatocysts.unibe.ch/kamenik
mailto: christian.kame...@giub.unibe.ch
Postal address:
Dr. Christian Kamenik
Institute of Geography
Erla
Dear Robert,
Thank you for sorting this out. And thanks to all the others for their
valuable comments.
Christian
--
View this message in context:
http://r-sig-geo.2731867.n2.nabble.com/Subsetting-RasterBrick-very-slow-tp6537890p6554009.html
Sent from the R-sig-geo mailing list archive at Nabble
an
--
---
Oeschger Centre for Climate Change Research, Institute of Geography& Institute
of Plant Sciences
University of Bern
http://www.stomatocysts.unibe.ch/kamenik
mailto: christian.kame...@giub.unibe.ch
Postal address:
Dr. Christian Kamenik
Instit
Works like a charm - awesome!
Many thanks, Christian
Christian,
You should also be able to do this:
out<- setValues(x, xx)
(where x is a RasterBrick and xx a matching 3 dimensional array)
Robert
On Wed, Dec 22, 2010 at 3:06 AM, Christian Kamenik
wrote:
Dear all,
I replaced my la
sig-geo
___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
---
Oeschger Centre for Climate Change Research, Institute of Geography& Institute
of Plant Sciences
University of Bern
http://www.s
Dear all,
I needed to convert an array into a RasterBrick object. The output did
not need to be written to memory, as assessed by canProcessInMemory().
The only way to put the data into the RasterBrick that worked for me
was layer by layer:
for (l in 1:nlayers(x)) x <-setValues(x,values=a
Christian
--
---
Oeschger Centre for Climate Change Research, Institute of Geography& Institute
of Plant Sciences
University of Bern
http://www.stomatocysts.unibe.ch/kamenik
mailto: christian.kame...@giub.unibe.ch
Postal address:
Dr. Christian Kamenik
Institute of Geography
Erlachstrasse 9a