[R] Error in R_nc4_open

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Thu Jan 12 01:37:30 CET 2017

My real point was that all the relevant information was missing, and it was missing because Debasish was unaware of which software was actually responsible for generating that error, and we were in the dark on that until the example was provided. 
Sent from my phone. Please excuse my brevity.

On January 11, 2017 2:02:04 PM PST, Sarah Goslee <sarah.goslee at gmail.com> wrote:
>Jeff's point was that R and RStudio are two entirely different things,
>and if you think it's a problem with RStudio, you should pursue their
>tech support.
>If you think it's a problem with R, then you should prepare a
>reproducible example and submit it to this list, as you've done.
>I actually think it's neither: I think it's a DAP server error, just
>as the error message says. If you try to download your grb file
>directly, you will discover this is true.
>It's always good practice to break down each part into small steps
>when trying to solve a problem, so that you can tell where things go
>I'd walk back to
>and make sure that the data path hasn't changed.
>On Wed, Jan 11, 2017 at 4:46 PM, Debasish Pai Mazumder
><pai1981 at gmail.com> wrote:
>> Hi Jeff,
>> Thanks for your detail response but I am really baffled by this sort
>> 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
>> before..........but since the update it isn't working anymore
>> Here is few lines of my code
>> library("ncdf4")
>> gribfile<-"
>> "
>> ## 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
>> 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
>>> are using.  When you use RStudio, the console window is a direct
>>> to R, which is NOT RStudio... it has a separate installer and a
>>> support group (e.g. this mailing list). All of this means you have
>>> 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
>>> sessionInfo() after the error would probably be a good idea also.
>For good
>>> measure you should open R directly rather than through RStudio and
>>> the results (if it doesn't happen in R then RStudio may be breaking
>>> (rare, but it has happened) in which case you would have to ask them
>>> 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
>>> >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
>>> >

More information about the R-help mailing list