20 unstable releases (7 breaking)

0.8.1 Aug 20, 2024
0.7.0 Aug 8, 2024
0.6.2 May 5, 2024
0.6.0 Jan 10, 2024
0.1.0 Jun 27, 2015

#278 in Science

Download history 502/week @ 2024-07-11 525/week @ 2024-07-18 750/week @ 2024-07-25 773/week @ 2024-08-01 1533/week @ 2024-08-08 614/week @ 2024-08-15 609/week @ 2024-08-22 558/week @ 2024-08-29 827/week @ 2024-09-05 880/week @ 2024-09-12 761/week @ 2024-09-19 703/week @ 2024-09-26 500/week @ 2024-10-03 751/week @ 2024-10-10 853/week @ 2024-10-17 1159/week @ 2024-10-24

3,340 downloads per month
Used in 15 crates (2 directly)

MIT license

3MB
66K SLoC

C 55K SLoC // 0.2% comments M4 4K SLoC // 0.2% comments Rust 3K SLoC // 0.0% comments Shell 2.5K SLoC // 0.2% comments C++ 1K SLoC // 0.1% comments Automake 232 SLoC // 0.3% comments Happy 103 SLoC Batch 4 SLoC

netcdf-sys

Rust bindings to netcdf-c to locate and link the system libraries neccessary to use netcdf. This library can also build hdf5 and netcdf from source, to allow a fully static linking experience. This is enabled with the static feature.

Detection of netCDF

The detection of netCDF has this priority order:

  • static feature will choose the built static library
  • NETCDF_DIR environment variable
  • nc-config
  • Default linker-available netcdf

If an include file is not found, some features might not be available, despite being included in the library.

Dependencies

~1–13MB
~163K SLoC