Displaying 1 result from an estimated 1 matches for "rh42vec".
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
...ot;add_offset")
rhumObj = get.var.ncdf(Conn42,"rhum");
#
# the Relative Humidity data 'cube' has 4 dimensions:
# latitudes (4), longitudes (3), pressure levels (1),
# and time (days - several thousand)
#
rhCube = array(rhumObj,dim = c(4,3,file42YrRangeDays))
rh42Vec = (((rhCube[2,2,1:file42YrRangeDays]) * scaleFact) + offset)
#(Here is the point where I got the error "Error in (rhCube[2, 2,
1:file24YrRangeDays]) * scaleFact : non-numeric argument to binary operator"
I appreciate if anyone can help me out.
Sincerely,
Anil Acharya