[R] i can't read large NETCDF file like CRU

2011-12-12 Thread tony333
i use library(ncdf) to read this file as follow library(ncdf) sst.nc = open.ncdf(title) lonall = get.var.ncdf(sst.nc,'lon') latall = get.var.ncdf(sst.nc,'lat') precip = get.var.ncdf(sst.nc,'pre') close(sst.nc) if i use this method my pc freeze and not respond until i restart it is there -- View

Re: [R] i can't read large NETCDF file like CRU

2011-12-12 Thread Paul Hiemstra
On 12/12/2011 10:19 AM, tony333 wrote: i use library(ncdf) to read this file as follow library(ncdf) sst.nc = open.ncdf(title) lonall = get.var.ncdf(sst.nc,'lon') latall = get.var.ncdf(sst.nc,'lat') precip = get.var.ncdf(sst.nc,'pre') close(sst.nc) if i use this method my pc freeze and

Re: [R] i can't read large NETCDF file like CRU

2011-12-12 Thread David William Pierce
On Mon, Dec 12, 2011 at 2:19 AM, tony333 tony33...@hotmail.com wrote: i use library(ncdf) to read this file as follow library(ncdf) sst.nc = open.ncdf(title) lonall = get.var.ncdf(sst.nc,'lon') latall = get.var.ncdf(sst.nc,'lat') precip = get.var.ncdf(sst.nc,'pre') close(sst.nc) if i use