IPSL-ncdiff
Easy comparison of NetCDF files. Similar to nccmp, recursive_diff/ncdiff, and ncompare!
Why another tool?
Each tool for NetCDF comparison that we have analysed, has lacked in some feature which would be appreciated by us: - No structured output (e.g. json, csv, html): nccmp, ncompare - No comparison of partial files (e.g. only 5 days out of 1 year): all tools - No multi-backend (e.g. handling various formats)
How it works?
ipsl-ncdiff compares two NetCDF files on the dataset and variable level. Two dataset might have dissimilar attributes, dimension list or variable list.
On the variable level, two variables might have dissimilar attributes, compression settings, datatype, dimension, shape or value.
The tool tries to analyse both files and display all found differences!
Furthermore, ipsl-ncdiff provides several options changing the comparison and allowing, e.g. to compare variables of different name or shape.
Usage
Installation
ipsl-ncdiff is hosted on official PyPI Python package repository. The installation is as easy as typing:
pip install ipsl-ncdiff
Also, you can install the latest version directly from the repository:
</code></pre>
<p>Furthermore, generic linux binary is available here:</p>
<pre><code class="language-wget">
Using as a tool
ipsl-ncdiff <NETCDF1> <NETCDF2>
Using as a library
In your Python code:
from ipsl_ncdiff.diff import diff, diff_files, diff_datasets
are_equal, differences = diff(Path("<NETCDF1>"), Path("<NETCDF2>"))
Metadata
Release files for ipsl-ncdiff 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ipsl_ncdiff-0.1.5.tar.gz | 61.9 kB | Without provenance | Details for ipsl_ncdiff-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ipsl_ncdiff-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for ipsl_ncdiff-0.1.5-py3-none-any.whl |
Total release size: 79.3 kB
Release files / ipsl_ncdiff-0.1.5.tar.gz
| Download URL | ipsl_ncdiff-0.1.5.tar.gz |
|---|---|
| Size | 61.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6fc60474144cccaeb990a41d553c239f855ceaf8dc2e36d08c6bb0705ac8dd8
|
|
BLAKE2b-256 checksum How to use checksums |
1919e31bf0d7a2e18cb535569859cf60a2766117e76142bc615b47f4c01b6f39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ipsl_ncdiff-0.1.5-py3-none-any.whl
| Download URL | ipsl_ncdiff-0.1.5-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe7d70b9d05cc4440383304be3a420d1ecb1841f9244f7e9f8e4e9a9e86ae39f
|
|
BLAKE2b-256 checksum How to use checksums |
5ce0e859f44e69992f18d44e0b3a95d52c72e1f91548cdc519786a447900d278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for ipsl-ncdiff 0.1.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.