Dear all, I have to open and read several netCDF (.nc) files. I installed the ncdf package and everything works fine. The problem is that I also have several netCDF files that are also ziped. These files are in the form,: nc_file.gz I tried different ways (within R) to unzip and read them, but they did not work. I'll appreciate any suggestion on how to do that. Thanks, Magdalena Lucini
Reading nc files
2 messages · Magdalena Lucini, David Winsemius
You need to use a utility program to unpack the .gz file type and that would be specific to your OS.
David Winsemius On Jan 23, 2009, at 9:32 AM, Magdalena Lucini wrote: > Dear all, > > I have to open and read several netCDF (.nc) files. I installed the > ncdf package and everything works fine. > > The problem is that I also have several netCDF files that are also > ziped. These files are in the form,: > > nc_file.gz > > I tried different ways (within R) to unzip and read them, but they > did not work. > > I'll appreciate any suggestion on how to do that. > > Thanks, > > Magdalena Lucini > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.