Next, select modules based on the functionality you need. In the minimal case, you’ll just want cdm and a
logger. cdm implements the CDM data model and allows you to read NetCD-3 files (and a number of other
file types). An example using JDK14 logging:

Building with netcdfAll

This is the appropriate option if you’re not using a dependency management tool like Maven or Gradle and you don’t
care about jar size or compatibility with other libraries. Simply include
netcdfAll-${netcdfJavaVersion}.jar
on the classpath when you run your program. You’ll also need a logger.

Logging

The NetCDF-Java library uses the SLF4J logging facade. This allows applications to choose their
own logging implementation, by including the appropriate jar file on the classpath at runtime. Common choices are: