I have seen the same problem with those very same files on R 64 bits in
windows 7, but have not had time to follow up. I found that I was able to
read the file with R 32 bits.
I will make the file available to the maintainer of the ncdf package (and
copy you).
Robert


On Mon, Oct 3, 2011 at 6:57 AM, Robert Buitenwerf <
buitenwerf@em.uni-frankfurt.de> wrote:

> Dear all,
>
> I am trying to read/open a netCDF file, but it keeps giving me the
> Microsoft Visual C++ Runtime Library error: "This application has requested
> the Runtime to terminate it in an unusual way..."
>
> I am trying to open the CRU TS3.1 climate data.
>
> raster('netcdf_file') gives me this error.
> open.ncdf('netcdf_file') too.
> I can read the file using open.nc() in the RNetCDF package and get info
> about the variables and attributes, but when I extract variables using
> var.get.nc() I get the same error. However when I set the count argument
> (number of time steps) to a small number (e.g. 20) I can extract values.
>
> This makes me think the file size (2.6 Gb) is a problem. If so, is there a
> way to read in netcdf data in chunks?
>
> I run R on Windows 7 64 bit.
>
>
> Thanks in advance for any advice.
>
> Robert Buitenwerf
>
> ______________________________**_________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/**listinfo/r-sig-geo<https://stat.ethz.ch/mailman/listinfo/r-sig-geo>
>

	[[alternative HTML version deleted]]

