Re: [R] Convert ncdf data to dataframe

2016-06-02 Thread MacQueen, Don
There's a pretty good chance this question has been previously asked and answered on the R-sig-geo mailing list (though I don't know for sure). In addition, entering "R convert ncdf to data frame" in a web search returned some possibilities, the first of which (for me) was http://geog.uoreg

Re: [R] Convert ncdf data to dataframe

2016-06-02 Thread Jeff Newmiller
The answer to your question is "yes". You probably need to make your example reproducible by including (or referencing by URL) sample data if you want a more complete response. -- Sent from my phone. Please excuse my brevity. On June 2, 2016 1:42:55 AM PDT, Miluji Sb wrote: >Dear all, > >I ha

[R] Convert ncdf data to dataframe

2016-06-02 Thread Miluji Sb
Dear all, I have used the following code to read in a ncdf file library(chron) library(lattice) library(ncdf4) library(data.table) ncname <- ("/file_path") ncfname <- paste(ncname, ".nc", sep = "") dname <- "ssl" # note: tmp means temperature (not temporary) ncin <- nc_open(ncfname) print(ncin