[R] Open netcdf file in linux

lily li choco|d12 @end|ng |rom gm@||@com
Tue Sep 18 08:53:22 CEST 2018


Thanks, you are right that the file path is not correct. I just typed:
nc_open("file.nc"), and it gave the error above.

On Tue, Sep 18, 2018 at 1:33 PM, Jeff Newmiller <jdnewmil using dcn.davis.ca.us>
wrote:

> I really don't know how you expect an answer when you don't show what you
> did or pointed us to an example of a file that yields this error. My best
> blind guess is that you have not given the name of an ncdf file to the
> function.
>
> On September 17, 2018 9:44:45 PM PDT, lily li <chocold12 using gmail.com> wrote:
> >Hi R users,
> >
> >I have installed ncdf4 package in R from the linux terminal, but have
> >met
> >this problem when using nc_open to open a .nc file. What is the
> >problem?
> >Any help would be appreciated.
> >
> >Error in R_nc4_open: Is a directory
> >
> >       [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help using 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.
>
> --
> Sent from my phone. Please excuse my brevity.
>

	[[alternative HTML version deleted]]




More information about the R-help mailing list