NetcdfIO adapts the core code from NCDatasets.jl. The new functions significantly reduce the number of code to read/write data from/to a netcdf file (may not be efficient though). Also, the libnetcdf shipped with NetCDF_jll does not have HDF4 support; if you need to open HDF4 files, we have implemented a function switch_netcdf_lib! to allow the users to switch between libnetcdf library. What works on my case if I installed libnetcdf through Conda.jl (4.8.1 in my case, located at ~/.julia/conda/3/lib/libnetcdf.so), and double checked that HDF4 support is enabled. Then I ran switch_netcdf_lib!(use_default = false) to enable it. You can also run switch_netcdf_lib!() to switch back to the default library shipped with NetCDF_jll.
| Documentation | CI Status | Code Coverage |
|---|---|---|
using Pkg;
Pkg.add("NetcdfIO");
using Pkg
Pkg.test("NetcdfIO"; coverage=true);
using Coverage
coverage = process_folder();
LCOV.writefile("lcov.info", coverage);
Coverage.clean_folder(".");