Skip to main content

A toolkit for calculating the Lorenz Energy Cycle in atmospheric systems

Project description

LorenzCycleToolkit

DOI DOI Documentation Status License: GPL v3

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.
    • Formats code using autopep8.
    • Sorts imports using isort.
    • Lints code using flake8.
    • Runs tests using pytest.
  • CI Pipeline with CircleCI: CircleCI is used to build, test, and publish the package. The pipeline runs the following steps:

    • Builds the package.
    • Checks if the wheel file exists.
    • Installs dependencies.
    • Installs the package.
    • Runs tests using pytest.
    • Publishes the package to TestPyPI for the develop branch.
    • Publishes the package to PyPI for the main branch.
  • CD Pipeline: The CD pipeline deploys the documentation to GitHub Pages whenever changes are pushed to the main branch.

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.

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

lorenzcycletoolkit-1.1.7.tar.gz (66.8 kB view details)

Uploaded Source

Built Distribution

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

lorenzcycletoolkit-1.1.7-py3-none-any.whl (87.5 kB view details)

Uploaded Python 3

File details

Details for the file lorenzcycletoolkit-1.1.7.tar.gz.

File metadata

  • Download URL: lorenzcycletoolkit-1.1.7.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.4 importlib-metadata/8.0.0 keyring/25.7.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.12

File hashes

Hashes for lorenzcycletoolkit-1.1.7.tar.gz
Algorithm Hash digest
SHA256 7edf9c9f1a4a01ffc3f5b1cb72540ce0a3c0ad485e08b8ad3b00a9ea2ca3a668
MD5 119dc3578ab1a42eeffa1cf863c53482
BLAKE2b-256 a187157a6debb1a9e4031d178c88b5fe5e99fa7aa9d8629016eb94cfff404069

See more details on using hashes here.

File details

Details for the file lorenzcycletoolkit-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: lorenzcycletoolkit-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 87.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.4 importlib-metadata/8.0.0 keyring/25.7.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.12

File hashes

Hashes for lorenzcycletoolkit-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6df9dc8e282bc1fda9846aa809c2e42cc609749dcea4a7a80e1ff4706b9d8e26
MD5 7354355c591c7681a020a222cd2a08e9
BLAKE2b-256 d45d07799e0e2e880c92d667ec9a99e3e0beab1a4d5405703f4f01041856eb21

See more details on using hashes here.

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