Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Recommendations for Safe Lossy Compression of weather and climate data

image image image image image image

What lossy compression is safe when using lossy compression on weather and climate data?

This repository contains community-provided recommendations that are automatically compiled into one machine-readable recommendations.yaml file. These recommendations can then be used by external tools to automatically recommend appropriate safety requirements for compressing various weather and climate data.

This repository also provides the compression-recommendations Python package for loading these recommendations and inspecting them in the strongly typed Recommendations data structure.

Furthermore, we provide the following integrations:

  • compression-requirement-checks checks whether safety requirements are upheld by a lossy-decompressed reconstruction of the original data.
  • compression-requirement-safeguards translates safety requirements into compression safeguards that can be wrapped around any compressor to guarantee that the requirements are fulfilled.

That is up to you, the community, to decide!

  • You can add comments to any recommendation to elaborate or discuss different requirements.
  • You can propose edits to any recommendation, which we accept once a new consensus has been reached.
  • You can create new recommendations for new variables or to specialise existing requirements for specific cases.
  • You can merge multiple recommendations to generalise them.
  • You can propose new filters to select which recommendations should apply, or new kinds of requirements.

Glossary

Compression : Reducing the number of bits needed to store some data.

Lossy Compression : Compression that may only produce an approximation of the original data during decompression.

Filter : Criteria, or a composition of multiple criteria, that select which requirements should apply.

Safety Requirement : A property, e.g. an error bound, or a composition of multiple properties, that the lossy-compressed data must fulfil with respect to the original uncompressed data.

Citation

Please cite this work as follows:

Tyree, J., Faghih-Naini, S., Klöwer, M., Dueben, P., and Järvinen, H. (2026). Recommendations for Safe Lossy Compression of weather and climate data. Zenodo. Available from: doi:10.5281/zenodo.22761209.

Please also refer to the CITATION.cff file and refer to https://citation-file-format.github.io to extract the citation in a format of your choice.

License

Licensed under the Mozilla Public License, Version 2.0 (LICENSE or https://www.mozilla.org/en-US/MPL/2.0/).

Funding

The recommendations their accompanying compression-recommendations, compression-requirement-checks, and compression-requirement-safeguards packages have been developed as part of ESiWACE3, the third phase of the Centre of Excellence in Simulation of Weather and Climate in Europe.

Funded by the European Union. This work has received funding from the European High Performance Computing Joint Undertaking (JU) under grant agreement No 101093054.

Metadata

Release files for compression-requirement-safeguards 0.1.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compression-requirement-safeguards 0.1.0b2
File Size Uploaded Provenance Actions
compression_requirement_safeguards-0.1.0b2.tar.gz 12.1 kB With provenance Details for compression_requirement_safeguards-0.1.0b2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compression-requirement-safeguards 0.1.0b2
File Interpreter ABI Platform Actions
compression_requirement_safeguards-0.1.0b2-py3-none-any.whl Python 3 none any Details for compression_requirement_safeguards-0.1.0b2-py3-none-any.whl

Total release size: 24.5 kB

Release files / compression_requirement_safeguards-0.1.0b2.tar.gz

Download URL compression_requirement_safeguards-0.1.0b2.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1e5426c9a1cad679e31b66f1f57c68e6432986a55c063168027d7c1a99e334
BLAKE2b-256 checksum
How to use checksums
2ef25795e7307b068b6b55f5439e24aad963a9cc2c31772ae74b70514a0d924f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Release files / compression_requirement_safeguards-0.1.0b2-py3-none-any.whl

Download URL compression_requirement_safeguards-0.1.0b2-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e6199bdbe6965b2441166b1ec033d028c76dfb9c934a71ed8973cbc21f0a8ec
BLAKE2b-256 checksum
How to use checksums
93ab81e99ec5d0109e41f67360aaf8faf92d8ffac6b6b75f3d504a48fcdf9659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

Security for compression-requirement-safeguards 0.1.0b2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for compression_requirement_safeguards-0.1.0b2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page