public class NetcdfClibrary extends Object
| Modifier and Type | Method and Description |
|---|---|
static Nc4prototypes |
getForeignFunctionInterface()
Get the interface to the Nectdf C library.
|
static String |
getVersion()
Get the version of the loaded Nectdf C library.
|
static boolean |
isLibraryPresent()
Test if the netcdf C library is present and loaded
|
static void |
setLibraryNameAndPath(String jna_path,
String lib_name)
Set the path and name of the netcdf c library.
|
static int |
setLogLevel(int level)
Set the log level for Netcdf C library.
|
public static void setLibraryNameAndPath(@Nullable String jna_path, @Nullable String lib_name)
jna_path - path to shared libraries, may be null. If null, will look for system property
"jna.library.path", then environment variable "JNA_PATH". If set, will set
the environment variable "JNA_PATH".lib_name - library name, may be null. If null, will use "netcdf".public static boolean isLibraryPresent()
public static Nc4prototypes getForeignFunctionInterface()
@Nullable public static String getVersion()
public static int setLogLevel(int level)