Could not open NetCDF version 4 files in R

It seems that the current version of the ncdf package cannot open NetCDF version 4 files. See Error trying to import NetCDF into R

In resolving this issue, Johannes explained that he was able to run the ncdf4 package on a Windows computer and open the file in this way.

However, when I try to run the ncdf4 package, I get the error message: “Error: package” ncdf4 was created before R 3.0.0: reinstall it. ”Does anyone know how to run this package on a computer running Windows? (In in the previous section, Johannes said that “installing the package was a bit more complicated under win 64bit.”)

Other ideas on how to download this file will also be appreciated.

Thank.

+3
source share
1 answer

I had the same problem, one way to get around the installation problem can be found here in the ncdf documentation: http://cirrus.ucsd.edu/~pierce/ncdf/

Download the zip file at the following link

MS Windows (32-bit version R of version 3.0.1): http://cirrus.ucsd.edu/~pierce/ncdf/win32/ncdf4_1.9.zip

MS Windows (64-bit version R.0.0.0): http://cirrus.ucsd.edu/~pierce/ncdf/win64/ncdf4_1.12.zip

Installation for windows:

Use the R graphical user interface and select the menu item to “install package from local file”. Then select the file ncdf4_1.9.zip "

Hope this helps!

+2
source

All Articles