Displaying 1 result from an estimated 1 matches for "conn42".
Did you mean:
conn2
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
...meric argument to binary
operator" as I got similar problem while running the netcdf code. I have
attached the file with this post. It is a climate data from NOAA site. The code
follows as:
library(survival)
library(RNetCDF)
library(ncdf)
setwd("c:/projects/netcdfcsfiles")
Conn42 = open.ncdf("128.111.220.111.46.15.32.42.nc");
# read the time variable, which measures years, and
# use the length of the vector to estimate the time span
#
timeObj = get.var.ncdf(Conn42,"time");
file42YrRangeDays = trunc(length(timeObj))
# Process each file separately:...