After completing this section, you will have the NetCDF files installed on your computer.
If you're not familiar with NetCDF files, please read the following sections/links before installing the libraries:
Now that you know more about NetCDF files, it's time to install the libraries which are operating-system dependent. Depending on your level of technical skill you can get pre-built libraries or build them yourself from the source code. I just grabbed the pre-built Windows version of NetCDF-4 (64-bit) [4]. If you are a MAC user, you will want to use a package manager called Homebrew [5]or MacPorts [6]to facilitate the install. Here is a set of instructions [7] using MacPorts that you might find helpful (searching "netcdf library homebrew" will provide useful pages for that manager). There are instructions for LINUX users [8] as well, but you guys are likely well-versed in performing such installs.
It is absolutely imperative that you get the NetCDF libraries installed correctly! You won't be able to proceed without them. To verify your install, you should be able to type "ncdump" at any command prompt and see a set of usage instructions (and no errors). Please contact me ASAP if you are having trouble. In the next section, we will link up the NetCDF libraries with the R interface.
Read on after you've completed this step.
Links
[1] https://en.wikipedia.org/wiki/NetCDF
[2] https://www.unidata.ucar.edu/software/netcdf/docs/faq.html
[3] https://docs.unidata.ucar.edu/nug/current/
[4] http://www.unidata.ucar.edu/software/netcdf/docs/winbin.html
[5] https://brew.sh/
[6] https://www.macports.org/
[7] http://mazamascience.com/WorkingWithData/?p=1474
[8] https://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html