Skip to content

Yujie-W/NetcdfIO.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

115 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetcdfIO.jl

About

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

Installation

using Pkg;
Pkg.add("NetcdfIO");

Test local coverage

using Pkg
Pkg.test("NetcdfIO"; coverage=true);

using Coverage
coverage = process_folder();
LCOV.writefile("lcov.info", coverage);

Coverage.clean_folder(".");

About

IO functions NetCDF files based on old version NCDatasets and netcdf_jll

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages