15 releases

0.6.0 Jan 10, 2024
0.5.1 Apr 29, 2023
0.4.1 Feb 17, 2023
0.4.0 Jan 28, 2022
0.1.0 Jun 27, 2015

#278 in Science

Download history 218/week @ 2023-12-18 39/week @ 2023-12-25 190/week @ 2024-01-01 453/week @ 2024-01-08 327/week @ 2024-01-15 299/week @ 2024-01-22 413/week @ 2024-01-29 599/week @ 2024-02-05 615/week @ 2024-02-12 1393/week @ 2024-02-19 363/week @ 2024-02-26 1076/week @ 2024-03-04 463/week @ 2024-03-11 580/week @ 2024-03-18 451/week @ 2024-03-25 691/week @ 2024-04-01

2,336 downloads per month
Used in 12 crates (via netcdf)

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

~4–18MB
~205K SLoC