search for: solardaten

Displaying 2 results from an estimated 2 matches for "solardaten".

2018 Mar 28
3
Creating the right table from lapply list
...0 , 50.1143) dist <- sqrt( (lon - pt.geo[1])^2 + (lat - pt.geo[2])^2 ) ind <- which(dist==min(dist, na.rm=TRUE),arr.ind=TRUE) sis <- ncvar_get(nc, "SIS", start=c(ind[1],ind[2],1), count=c(1,1,-1)) vec <- c(sis) } filenames <- list.files(path = "C:/Users/Desktop/VD/Solardaten/NC", pattern = "nc", full.names = TRUE) output <- lapply(filenames, Myfunction) And here start my problems with saving "output" as a csv table. Output would contain 12 vectors of different lenght.I want to have them as 12 columns (1x per month) in Excel and each colu...
2018 Mar 29
0
Creating the right table from lapply list
...sqrt( (lon - pt.geo[1])^2 + (lat - pt.geo[2])^2 ) ind <- which(dist==min(dist, na.rm=TRUE),arr.ind=TRUE) sis <- ncvar_get(nc, "SIS", start=c(ind[1],ind[2],1), count=c(1,1,-1)) vec <- c(sis) } filenames <- list.files(path = "C:/Users/Desktop/VD/Solardaten/NC", pattern = "nc", full.names = TRUE) output <- lapply(filenames, Myfunction) And here start my problems with saving "output" as a csv table. Output would contain 12 vectors of different lenght.I want to have them as 12 columns (1x per month) in...