search for: tosummarise

Displaying 2 results from an estimated 2 matches for "tosummarise".

Did you mean: summarise
2016 Apr 22
2
Unexpected values obtained when reading in data using ncdf and ncdf4
...data values df.clim <- data.frame(rn=seq(1:length(d.lon))) for(y in 1:d.size[3]){ df.clim[,1+y] <- as.vector(ncvar_get(data, varid=d.vars[length(d.vars)], start=c(1,1,y), count=c(d.size[1],d.size[2],1))) names(df.clim)[1+y] <- paste("y",y,sep="") } tosummarise[,,i] <- as.matrix(df.clim[,-1]) } The data are temperature or precipitation, across space and time. For most of the >250 files I have, there are no problems, but for around 8 of these files, I get strange values. The data should be within a relatively narrow range, yet I get values such as...
2016 Apr 22
0
Unexpected values obtained when reading in data using ncdf and ncdf4
...data.frame(rn=seq(1:length(d.lon))) > for(y in 1:d.size[3]){ > df.clim[,1+y] <- as.vector(ncvar_get(data, > varid=d.vars[length(d.vars)], start=c(1,1,y), > count=c(d.size[1],d.size[2],1))) > names(df.clim)[1+y] <- paste("y",y,sep="") } > tosummarise[,,i] <- as.matrix(df.clim[,-1]) > } > > The data are temperature or precipitation, across space and time. > > For most of the >250 files I have, there are no problems, but for around 8 > of these files, I get strange values. The data should be within a > relatively narrow...