[R] netcdf

antonio rodriguez arv at ono.com
Tue Dec 10 08:26:04 CET 2002


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




More information about the R-help mailing list