Skip to content

i can't read large NETCDF file like CRU

3 messages · tony333, Paul Hiemstra, David W. Pierce

#
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 this message in context: http://r.789695.n4.nabble.com/i-can-t-read-large-NETCDF-file-like-CRU-tp4185435p4185435.html
Sent from the R help mailing list archive at Nabble.com.
#
On 12/12/2011 10:19 AM, tony333 wrote:
Hi Tony,

We are sympathetic to your cause, but without more information helping
you is really hard. Please consult the posting guide:

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

for some more hints.

regards,
Paul

ps This question might be more suitable for R-sig-geo
ps2 You could use the raster package to analyse the data on the harddrive (not reading all data in from disk)