Re: [R] Unexpected values obtained when reading in data using ncdf and ncdf4

2016-05-23 Thread Louise Mair
ained when reading in data using ncdf and ncdf4 Hi Louise: If Dave can’t figure it out, I can give a look also. A couple of things I would suggest: 1. Don’t use the name “data” in the nc_open command, that is a reserved command in R and you never know what problems that can cause. 2. You

Re: [R] Unexpected values obtained when reading in data using ncdf and ncdf4

2016-04-22 Thread Roy Mendelssohn - NOAA Federal
Hi Louise: If Dave can’t figure it out, I can give a look also. A couple of things I would suggest: 1. Don’t use the name “data” in the nc_open command, that is a reserved command in R and you never know what problems that can cause. 2. You are doing calculations to get set the start and cou

Re: [R] Unexpected values obtained when reading in data using ncdf and ncdf4

2016-04-22 Thread David W. Pierce
On Fri, Apr 22, 2016 at 1:32 AM, Louise Mair wrote: > Dear R Users, > > I am encountering a problem when reading nc files into R using the ncdf > and ncdf4 libraries. The nc files are too large to attach an example (but > if someone is interested in helping out I could send a file privately via >

[R] Unexpected values obtained when reading in data using ncdf and ncdf4

2016-04-22 Thread Louise Mair
Dear R Users, I am encountering a problem when reading nc files into R using the ncdf and ncdf4 libraries. The nc files are too large to attach an example (but if someone is interested in helping out I could send a file privately via an online drive), but the code is basic: for(i in 1:length(t