Skip to main content

Tool to homogenize netCDF files to CF standard

Project description

Versions

Python Package Index Build

Documentation and Support

Documentation Status Supported Python Versions

Open Source

License DOI

Coding Standards

Python Black pre-commit.ci status

Development Status

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status Coveralls

Tool to homogenize netCDF to CF standard files using xarray

See https://cfconventions.org

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhomogenize-0.6.3.tar.gz (34.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhomogenize-0.6.3-py3-none-any.whl (34.7 MB view details)

Uploaded Python 3

File details

Details for the file pyhomogenize-0.6.3.tar.gz.

File metadata

  • Download URL: pyhomogenize-0.6.3.tar.gz
  • Upload date:
  • Size: 34.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyhomogenize-0.6.3.tar.gz
Algorithm Hash digest
SHA256 ef7555798e448e1fc3fe2be0a35f0e0ef549aa412d53ed49875ba3ef4e7c4e69
MD5 d904be295edfeafcc1607def9226f18b
BLAKE2b-256 0cd1ed66be4dc54019c871244fd5fab2db11e02a4465eccd57a00dcbea814fef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyhomogenize-0.6.3.tar.gz:

Publisher: publish.yml on climate-service-center/pyhomogenize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyhomogenize-0.6.3-py3-none-any.whl.

File metadata

  • Download URL: pyhomogenize-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 34.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyhomogenize-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a04c652e59bd3fc9f7d8caa344736b76d94da4ec135711ec2edcccea75687852
MD5 02f19da6bd566c73af37672e81ec426e
BLAKE2b-256 b06f2a2bf788012e3bc4879b1dbb6ce7dd3ef6691bf4a4d241786a15956e5ba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyhomogenize-0.6.3-py3-none-any.whl:

Publisher: publish.yml on climate-service-center/pyhomogenize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page