data-panda / zfp

Library for compressed numerical arrays that support high throughput read and write random access

Home Page:http://computing.llnl.gov/projects/floating-point-compression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZFP

Travis CI Build Status Appveyor Build Status Documentation Status Code Coverage

zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel (OpenMP and CUDA) compression of whole arrays, e.g., for applications that read and write large data sets to and from disk.

zfp uses lossy but optionally error-bounded compression to achieve high compression ratios. Bit-for-bit lossless compression is also possible through one of zfp's compression modes. zfp works best for 2D, 3D, and 4D arrays that exhibit spatial correlation, such as continuous fields from physics simulations, natural images, regularly sampled terrain surfaces, etc. zfp compression of 1D arrays is possible but generally discouraged.

zfp is freely available as open source and is distributed under a BSD license. zfp is primarily written in C and C++ but also includes Python and Fortran bindings. zfp conforms to various language standards, including C89, C99, C11, C++98, C++11, and C++14, and is supported on Linux, macOS, and Windows.

Quick Start

To download zfp, type:

git clone https://github.com/LLNL/zfp.git

zfp may be built using either CMake or GNU make. To use CMake, type:

cd zfp
mkdir build
cd build
cmake ..
cmake --build . --config Release
ctest

This builds the zfp library in the build/lib directory and the zfp command-line executable in the build/bin directory. It then runs the regression tests.

zfp may also be built using GNU make:

cd zfp
make
make test

Note: GNU builds are less flexible and do not support all available features, e.g., CUDA support.

For further configuration and build instructions, please consult the documentation.

Documentation

Full HTML documentation is available online. A PDF version is also available.

Contributing

The zfp project uses the Gitflow development model. Contributions should be made as pull requests on the develop branch. Although this branch is under continuous development, it should be robust enough to pass all regression tests. The master branch is updated with each release and reflects the most recent official release of zfp. See the Releases Page for a history of releases.

Authors

zfp was originally developed by Peter Lindstrom at Lawrence Livermore National Laboratory. Please see the Contributors Page for a full list of contributors.

Citing zfp

If you use zfp for scholarly research, please cite this paper:

Additional Resources

For more information on zfp, please see the zfp website. For bug reports and feature requests, please consult the GitHub issue tracker. For questions and comments not answered here or in the documentation, please send e-mail to zfp@llnl.gov.

License

zfp is distributed under the terms of the BSD 3-Clause license. See the files LICENSE and NOTICE for details.

SPDX-License-Identifier: BSD-3-Clause

LLNL-CODE-663824

About

Library for compressed numerical arrays that support high throughput read and write random access

http://computing.llnl.gov/projects/floating-point-compression

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 41.6%Language:C++ 35.8%Language:CMake 8.9%Language:Cuda 5.4%Language:Python 3.8%Language:Fortran 3.8%Language:Shell 0.5%Language:Makefile 0.3%