NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
This must be a fairly common problem/question, but I wasn't able to find a good solution after much googling. I am about to run an R script that currently expects to read .csv. It was easier for me to prepare the input data in netcdf, but now I'm finding it difficult to convert to .csv. I could read the .nc files into R, but as I understand it I would have to read in one variable at a time (20 variables) and then rebuild them into a dataframe, whereas if I could convert to .csv, they would all be read in. My .nc files are ~80MB, not too huge for .csv. I have ncdumped them to text files, and I'm planning to write a script to parse them - unless someone has an easier/faster solution. Actually, I'm *really* hoping someone has an easier/faster solution. My data and models are on a Mac, but I have access to PC or linux. Thanks in advance... Elizabeth ____________________ Elizabeth Crisfield Research Assistant Geography Department Penn State University phone 814-777-3395 eac16@xxxxxxx www.elizabethcrisfield.com
netcdfgroup
archives: