Skip to main content

A modern C++ header only cdf library

Project description

License: GPL v3 CPP17 CI Coverage

CDFpp (CDF++)

A NASA's CDF modern C++ library. This is not a C++ wrapper but a full C++ implementation. Why? CDF files are still used for space physics missions but few implementations are available. The main one is NASA's C implementation available here but it lacks multi-threads support, has an old C interface and has a license which isn't compatible with most Linux distributions policy. There are also Java and Python implementations which are not usable in C++.

List of features and roadmap:

  • [x] read uncompressed file headers
  • [x] read uncompressed attributes
  • [x] read uncompressed variables
  • [x] read variable attributes
  • [x] loads cdf files from memory (std::vector<char> or char*)
  • [ ] read variables with nested VXRs
  • [x] read compressed file
  • [ ] read compressed variables
  • [ ] write uncompressed headers
  • [ ] write uncompressed attributes
  • [ ] write uncompressed variables
  • [ ] write compressed attributes
  • [ ] write compressed file variables
  • [ ] handle leap seconds
  • [ ] Python wrappers
  • [ ] Documentation
  • [ ] Examples
  • [ ] Benchmarks

If you want to understand how it works, how to use the code or what works, you may have to read tests.

Installing

From PyPi

# this is no possible yet
pip3 install --user cdfpp

From sources

meson build
cd build
ninja
sudo ninja install

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pycdfpp, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size pycdfpp-0.1.6-cp35-cp35m-macosx_10_14_x86_64.whl (185.8 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp35-cp35m-macosx_10_15_x86_64.whl (184.8 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp35-cp35m-manylinux2014_x86_64.whl (238.3 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp35-cp35m-win_amd64.whl (169.0 kB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp36-cp36m-macosx_10_14_x86_64.whl (185.9 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp36-cp36m-macosx_10_15_x86_64.whl (184.8 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp36-cp36m-manylinux2014_x86_64.whl (238.3 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp36-cp36m-win_amd64.whl (169.0 kB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp37-cp37m-macosx_10_14_x86_64.whl (185.9 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp37-cp37m-macosx_10_15_x86_64.whl (184.9 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp37-cp37m-manylinux2014_x86_64.whl (238.2 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp37-cp37m-win_amd64.whl (169.1 kB) File type Wheel Python version cp37 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp38-cp38-macosx_10_14_x86_64.whl (188.1 kB) File type Wheel Python version cp38 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp38-cp38-macosx_10_15_x86_64.whl (187.0 kB) File type Wheel Python version cp38 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp38-cp38-manylinux2014_x86_64.whl (235.6 kB) File type Wheel Python version cp38 Upload date Hashes View hashes
Filename, size pycdfpp-0.1.6-cp38-cp38-win_amd64.whl (167.4 kB) File type Wheel Python version cp38 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page