Skip to content
Back to formatted view

Raw Message

Message-ID: <C375FD87-F38D-4C17-BCA7-1CF64C86B566@comcast.net>
Date: 2009-01-24T02:56:38Z
From: David Winsemius
Subject: Reading nc files
In-Reply-To: <5586a5170901230632w7945855aq922eab59e323c16c@mail.gmail.com>

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.