[R] netcdf

antonio rodriguez
Tue, 10 Dec 2002 08:26:04 -0000

Hi Matt,

I use the following procedure after opening a netcdf file:

library(netCDF)
wind<-read.netCDF("C:/To?o/datos/fnomc_nc/wind.nc")
str(wind)
a<-wind$"UV_MAG_MEAN"
a[a == attributes(a)$"missing_value"] <- NA
dimnames(a) <-
list(wind$"TIME_SERIES",wind$"LAT125_128",wind$"LON351_354")

Hope this helps

Cheers,

Antonio Rodriguez