Skip to main content

Create pep517 compliant packages from the meson build system

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.


From PyPi

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

From sources

meson build
cd build
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 cdfpp, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size cdfpp-0.1-py3-none-any.whl (1.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cdfpp-0.1.tar.gz (161.6 kB) File type Source Python version None 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