[R] Open netcdf file in linux

lily li choco|d12 @end|ng |rom gm@||@com
Tue Sep 18 09:38:57 CEST 2018


I did not set the correct path for the .nc file earlier. Now it is working
properly.



> I find your response confusing still... did you now no longer need help?
>
> If you are still puzzled, then what does
>
> file.info("file.nc")
>
> return?
>
> Do you see that file in your current directory via your operating system?
>
> On September 17, 2018 11:53:22 PM PDT, lily li <chocold12 using gmail.com>
> wrote:
> >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.
> >>
>
> --
> Sent from my phone. Please excuse my brevity.
>

	[[alternative HTML version deleted]]




More information about the R-help mailing list