search for: y1850_file_no

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

Did you mean: y1850_file_no+
2012 Jun 29
1
number of items to replace is not a multiple of replacement length
...eone else did to make it work with my data. For some reason, one of the scripts which were supposed to work is not, and I get the error message "number of items to replace is not a multiple of replacement length". The script is this one: *open_lpj_nc_gpp <- function(file_name,varname,y1850_file_no, recentre,startyr,nyrs) { library(ncdf) start_yr=y1850_file_no+(startyr-1850) print("************************************") filename=paste(file_name,start_yr,".nc",sep="") print("Opening:") print(varname) print("in...