Re: [R] Reading a large netCDF file using R

From: David William Pierce <dpierce_at_ucsd.edu>
Date: Wed, 11 May 2011 08:07:30 -0700

On Tue, May 10, 2011 at 10:17 AM, Sulochan Dhungel < sulochandhungel_at_gmail.com> wrote:

> Hi Dave,
>
> I asked for the climate group for one particular day's data so that I could
> match it up with the data I got from the codes for the same day. It did not
> match. So I knew it was not working. Also time is the first thing on the
> list of summary for "nc" , but when I saw other netCDF files, time was the
> last thing.
>
> Thanks again for looking into my problem.
>
> Sulochan
>

Hi Sulochan,

whether time is listed first or last depends on the application ... in R, it's listed last. In some other applications, it's listed first. So that's just one of those things, and doesn't mean anything is wrong.

Re the data not matching, I fear that is some other problem then start and count in the R get.var.ncdf() call not working correctly. I suggest you check the exact values you use for start and count. Using a time index of 1 in R gives you the first time entry.

--Dave

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 11 May 2011 - 15:12:50 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 11 May 2011 - 17:10:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive