[R] netcdf

From: Frank Aebly <faebly_at_neb.rr.com>
Date: Mon 28 Mar 2005 - 02:27:44 EST

Hi All,
I'm very knew to R. I downloaded and am running it on my redhat so that I can use the clim.pact package. Everything is downloaded and installed correctly. When trying to read a netcdf file from the NCEP/NCAR reanalysis dataset using retrieve.nc I keep getting errors that the number of dimensions are wrong.

If I use
x.1 <- retrieve.nc("geopothgt.nc")
I get the above error.
this file is a subset created from the NCEP website with only the 500 mb level

I've tried both
force 365.25=TRUE
  one at a time, and without these arguments and I still get the same error

I also tried to use retrieve.nc with the whole data set and I get the message that data is in months when time units are set to days. Set time unit to month. But I haven't been able to find in the documentation what the values are for t.unit. I've tried


all of these result in a return of "unused argument t.unit" I'm apparently not entering the correct value for t.unit, but I can't find a list of options anywhere

Any help?

Frank Aebly

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 28 02:47:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:56 EST