Homogenize NetCDF files to CF standard: pyhomogenize
Versions |
|
Documentation and Support |
|
Open Source |
|
Coding Standards |
|
Development Status |
Tool to homogenize netCDF to CF standard files using xarray
Documentation
The official documentation is at https://pyhomogenize.readthedocs.io/
Features
some useful functions to read and write large netCDF files
basics: This class creates a fixed frequency CFTimeIndex from user-given start and end dates. You can manipulate the CFTimeIndex and crop it to user-specific conditions.
netcdf_basics: This class opens one or multiple netCDF files by calling the class. You can manipulate the netCDF attributes and write it to a new file.
time_control: This class is a time checker for NetCDF files following CF Metadata Conventions. It is based on pyhomogenize’s netcdf_basics class. Thus it opens the netCDF files by calling the class.
time_compare: This class compares the time axes of list entires of multiple xr.datasets, netCDF files and/or time_control objects.
Installation
You can install the package directly with pip:
pip install pyhomogenize
If you want to contribute, I recommend cloning the repository and installing the package in development mode, e.g.
git clone https://github.com/ludwiglierhammer/pyhomogenize.git
cd pyhomogenize
pip install -e .
This will install the package but you can still edit it and you don’t need the package in your PYTHONPATH
Requirements
python3.6 or higher
cftime
dask
xarray
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Release files for pyhomogenize 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyhomogenize-0.6.3.tar.gz | 34.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyhomogenize-0.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.4 MB
Release files / pyhomogenize-0.6.3.tar.gz
| Download URL | pyhomogenize-0.6.3.tar.gz |
|---|---|
| Size | 34.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef7555798e448e1fc3fe2be0a35f0e0ef549aa412d53ed49875ba3ef4e7c4e69
|
|
BLAKE2b-256 checksum How to use checksums |
0cd1ed66be4dc54019c871244fd5fab2db11e02a4465eccd57a00dcbea814fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 19, 2026.
Transparency logRelease files / pyhomogenize-0.6.3-py3-none-any.whl
| Download URL | pyhomogenize-0.6.3-py3-none-any.whl |
|---|---|
| Size | 34.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a04c652e59bd3fc9f7d8caa344736b76d94da4ec135711ec2edcccea75687852
|
|
BLAKE2b-256 checksum How to use checksums |
b06f2a2bf788012e3bc4879b1dbb6ce7dd3ef6691bf4a4d241786a15956e5ba6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 19, 2026.
Transparency log