Re: [R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread David W. Pierce
Hi there, the reason it's doing this is because there is no variable named "time" in the file. Obviously I need to patch the ncdf4 package so that it issues an/ understandable error message in this case instead of dying with a weird R error message. That is probably happening because there is a di

Re: [R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread Jeff Newmiller
You might have better luck on the R-sig-spatial mailing list. If you had provided a reproducible example ("reprex") then I might have tried to answer the question but I don't use these tools often enough to grasp the source of your problem based only on diagnostics. And even though they might ha

[R] Problems trying to make a time series using NetCDF file

2019-03-16 Thread rain1290--- via R-help
Hi there, I am using climate model data in attempt to create a time series for a specific location. Getting longitude and latitude is fine. However, I am receiving the following error when using the "ncvar_get" function in trying to derive the "time" dimension: Error in nc$dim[[idobj$list_index]