search for: rhcube

Displaying 1 result from an estimated 1 matches for "rhcube".

Did you mean: hcube
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
...;) offset = att.get.ncdf(Conn42,"rhum","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...