Displaying 2 results from an estimated 2 matches for "cam_fore".
2009 Nov 10
3
NetCDF output in R
...h,'cam.1980.2005.nc',sep=""))
> fore <- get.var.ncdf(forecast,'ppt')
> lon <- get.var.ncdf(forecast,'lon')
> lat <- get.var.ncdf(forecast,'lat')
>dim(fore)[3]
>26
> times <- 1:dim(fore)[3]
> write.netcdf.time(paste(path,'cam_fore.nc',sep=""), fore,lon,lat,times)
[1] "put.var.ncdf: warning: you asked to write 1440 values, but the passed data array has 37440 entries!"
[[1]]
[1] 6
Warning message:
In 1:nt : numerical expression has 26 elements: only the first used
################# function for writi...
2009 Nov 10
3
NetCDF output in R
...h,'cam.1980.2005.nc',sep=""))
> fore <- get.var.ncdf(forecast,'ppt')
> lon <- get.var.ncdf(forecast,'lon')
> lat <- get.var.ncdf(forecast,'lat')
>dim(fore)[3]
>26
> times <- 1:dim(fore)[3]
> write.netcdf.time(paste(path,'cam_fore.nc',sep=""), fore,lon,lat,times)
[1] "put.var.ncdf: warning: you asked to write 1440 values, but the passed data array has 37440 entries!"
[[1]]
[1] 6
Warning message:
In 1:nt : numerical expression has 26 elements: only the first used
################# function for writi...