Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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:

  • <input type="checkbox" checked="" disabled="" /> read uncompressed file headers
  • <input type="checkbox" checked="" disabled="" /> read uncompressed attributes
  • <input type="checkbox" checked="" disabled="" /> read uncompressed variables
  • <input type="checkbox" checked="" disabled="" /> read variable attributes
  • <input type="checkbox" checked="" disabled="" /> loads cdf files from memory (std::vector<char> or char*)
  • <input type="checkbox" disabled="" /> read variables with nested VXRs
  • <input type="checkbox" checked="" disabled="" /> read compressed file
  • <input type="checkbox" disabled="" /> read compressed variables
  • <input type="checkbox" disabled="" /> write uncompressed headers
  • <input type="checkbox" disabled="" /> write uncompressed attributes
  • <input type="checkbox" disabled="" /> write uncompressed variables
  • <input type="checkbox" disabled="" /> write compressed attributes
  • <input type="checkbox" disabled="" /> write compressed file variables
  • <input type="checkbox" disabled="" /> handle leap seconds
  • <input type="checkbox" disabled="" /> Python wrappers
  • <input type="checkbox" disabled="" /> Documentation
  • <input type="checkbox" disabled="" /> Examples
  • <input type="checkbox" disabled="" /> 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


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
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
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
Filename, size pycdfpp-0.1.6-cp35-cp35m-win_amd64.whl (169.0 kB) File type Wheel Python version cp35 Upload date Hashes View
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
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
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
Filename, size pycdfpp-0.1.6-cp36-cp36m-win_amd64.whl (169.0 kB) File type Wheel Python version cp36 Upload date Hashes View
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
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
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
Filename, size pycdfpp-0.1.6-cp37-cp37m-win_amd64.whl (169.1 kB) File type Wheel Python version cp37 Upload date Hashes View
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
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
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
Filename, size pycdfpp-0.1.6-cp38-cp38-win_amd64.whl (167.4 kB) File type Wheel Python version cp38 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page