LorenzCycleToolkit
Overview
The LorenzCycleToolkit is a tool for calculating the Lorenz Energy Cycle (LEC) in specific atmospheric regions. Introduced by Edward Lorenz in 1965, the LEC estimates atmospheric energy, including zonal and eddy components of Kinetic and Available Potential Energy, and the conversions between these forms.
Importance
- Climate Studies: Improves understanding of energy exchanges, aiding climate predictions.
- Weather Prediction: Comparison tool for weather models and forecasts.
- Research and Education: Provides a structured approach for analyzing atmospheric energy flows.
- Environmental Diagnostics: Serves as a diagnostic tool for atmospheric dynamics.
Applications
- Synoptic-Scale Phenomena: Study extratropical cyclones and convergence zones.
- Mesoscale Phenomena: Analyze energy transformations in tropical cyclones.
- Model Comparison: Compare model dynamics with reanalysis data.
Features
- Flexible Frameworks: Analyze fixed regions using Eulerian or Semi-Lagrangian frameworks.
- User-Friendly: Simple command-line interface without needing to program scripts.
- Customizable Inputs: Define custom domains and variable configurations.
- Visualization Options: Generate detailed plots to visualize the energy cycle components.
Installation
For detailed installation instructions and troubleshooting, please refer to the Installation Guide.
Documentation
For detailed documentation and usage instructions, visit the LorenzCycleToolkit Documentation.
Contributing
Contributions are welcome! Please see the contributing guide for more details.
Continuous Integration and Deployment
This project uses GitHub Actions and CircleCI for Continuous Integration (CI) and Continuous Deployment (CD).
-
CI Pipeline with GitHub Actions: The CI pipeline is triggered on each push and pull request to the repository. It runs the following steps:
- Sets up the Python environment.
- Installs dependencies.
- Builds and installs the package wheel, and checks that the installed package is the checked-out code.
- Lints code using flake8 (read only: no tool rewrites the code before the tests).
- Provides the Natural Earth data used by the map tests, verified against their sha256.
- Runs tests using pytest.
-
CI Pipeline with CircleCI: CircleCI builds and tests the package on each push. The pipeline runs the following steps:
- Builds the package.
- Checks if the wheel file exists.
- Installs dependencies.
- Installs the package and checks that it is the checked-out code.
- Provides the verified Natural Earth data.
- Runs tests using pytest.
-
Publishing: Nothing is published automatically; pushes and pull requests only build and test. Publishing is a separate, manual step:
- TestPyPI (from the
developbranch) and PyPI (from themainbranch): a CircleCI pipeline triggered explicitly with the parameterpublish_testpypiorpublish_pypi. - Documentation on GitHub Pages: a GitHub Actions workflow run explicitly ("Run workflow").
- TestPyPI (from the
You can view the CI/CD configuration in the following files:
This project is licensed under the GNU License Version 3. See the LICENSE file for details.
Metadata
Release files for lorenzcycletoolkit 2.1.0
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 |
|---|---|---|---|---|
| lorenzcycletoolkit-2.1.0.tar.gz | 376.8 kB | Without provenance | Details for lorenzcycletoolkit-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lorenzcycletoolkit-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for lorenzcycletoolkit-2.1.0-py3-none-any.whl |
Total release size: 805.5 kB
Release files / lorenzcycletoolkit-2.1.0.tar.gz
| Download URL | lorenzcycletoolkit-2.1.0.tar.gz |
|---|---|
| Size | 376.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
994e08a784a333b04de638ba77797c9cb51ddb5894fdea64d394fbff274b6a5b
|
|
BLAKE2b-256 checksum How to use checksums |
c23a63544c2ebc4556aa4e3c76bc5287f77ff40fedd103a11a185546b1639790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / lorenzcycletoolkit-2.1.0-py3-none-any.whl
| Download URL | lorenzcycletoolkit-2.1.0-py3-none-any.whl |
|---|---|
| Size | 428.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19452891944f5f594e434ee0959c8be468f20fee6c379e6a58c04fa30e830d46
|
|
BLAKE2b-256 checksum How to use checksums |
0cdb9611aa8cd30eef9f64ce8f0d653d7142566543e6d097812ee89c76c2f801
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for lorenzcycletoolkit 2.1.0
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.