search for: tr_1500_

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

2011 Jul 07
1
Select element out of several ncdf variables
...<- c("03","04","05","06") years <- c(1851,1961,2061) seasons <- c("DJF","MAM","JJA","SON") for (i in runs) { for (j in years) { for (k in seasons) { data <- open.ncdf(paste("/data09/cstocker/data/atm/tr_1500_", i,"/PRECT/PREC_tr1500_", i,"_", j,"_", k,".nc", sep="")) prect <- get.var.ncdf(data, "PRECT") assign(paste("prec", k, j, i, sep="_"), prect) } } } I produced 48 variables called prec_DJF_1851_03 and so on....