[R] I can't open a .nc file with the "cdfcont" function of the clim.pact package

anne-laure alereboullet at gmail.com
Tue Mar 27 16:17:45 CEST 2012


Hello,

I am new at using R.

I would like to use the following functions of the "clim.pact" package:
ncdfcont and retrieve.nc

I have installed the package "clim.pact" in Rstudio.
I have downloaded the "ncdf pack" from unicar (including ncdump and ncgen).
The ncdf file I'm working on is called "essai2.nc"

Here is what I get, when I type the command ncinfo <- cdfcont("essai2.nc")

    ncinfo cdfcont.txt' renvoie un statut 1
    2: In min(nchar(str)) : aucun argument trouvé pour min ; Inf est renvoyé

I'm sorry it's in French!
If I try to translate:
Error in 1:nc: the argument has null length
Information message:
1: executing the command 'C:...' gives status 1
2: In min(nchar(str)) :no argument found for min ; Inf is sent back

Could someone please help me with this?

PS: I can open the document with the function open.ncdf of the ncdf package.

Regards

--
View this message in context: http://r.789695.n4.nabble.com/I-can-t-open-a-nc-file-with-the-cdfcont-function-of-the-clim-pact-package-tp4508950p4508950.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list