[R] Error in R_nc4_open

Debasish Pai Mazumder pai1981 at gmail.com
Wed Jan 11 22:46:23 CET 2017


Hi Jeff,
Thanks for your detail response but I am really baffled by this sort of
response from a help group because I am also a part of a help group
(NCAR-Command Language).

Anyway I felt its R/Rstudio issue because my code was working properly
before..........but since the update it isn't working anymore

Here is few lines of my code

library("ncdf4")
gribfile<-"
http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cfsv2_forecast_ts_9mon/2011/201104/20110401/2011040100/tmax.01.2011040100.daily.grb2
"
## open connection
nc <- nc_open(gribfile)

error-Error in R_nc4_open: NetCDF: DAP server error

I am getting the error message in nc_open.

Please excuse me if this not R issue. Please let me know which "*R HELP
GROUP*" I should post this message.

-Deb




On Wed, Jan 11, 2017 at 4:27 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:

> You will do yourself a favor if you pay attention to which software you
> are using.  When you use RStudio, the console window is a direct connection
> to R, which is NOT RStudio... it has a separate installer and a different
> support group (e.g. this mailing list). All of this means you have failed
> to tell us anything about the software that actually matters in your
> question... R, nor the CONTRIBUTED package (meaning NOT part of R or
> RStudio) containing the function you are having trouble with.
>
> Go read the Posting Guide... carefully... and provide a reproducible
> example that leads to your error... and post in plain text rather than HTML
> email so your example doesn't get messed up in transit. The output of
> sessionInfo() after the error would probably be a good idea also. For good
> measure you should open R directly rather than through RStudio and confirm
> the results (if it doesn't happen in R then RStudio may be breaking R
> (rare, but it has happened) in which case you would have to ask them for
> help.
> --
> Sent from my phone. Please excuse my brevity.
>
> On January 11, 2017 12:32:09 PM PST, Debasish Pai Mazumder <
> pai1981 at gmail.com> wrote:
> >Hi all,
> >I recently updated my Rstudio to the newer version (Version 1.0.136)
> >and I
> >started to getting following error when I am trying to read netcdf
> >files
> >
> >Error in R_nc4_open: NetCDF: DAP server error
> >
> >Any ideas?
> >
> >with regards
> >-Deb
> >
> >       [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >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.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list