Skip to main content

Visualization tool designed to analyze and illustrate the Lorenz Energy Cycle for atmospheric science.

Project description

PyPI Downloads CircleCI

Lorenz Phase Space Visualization

Overview

The Lorenz Phase Space (LPS) visualization tool is designed to analyze and illustrate the dynamics of the Lorenz Energy Cycle in atmospheric science.

This tool offers a unique perspective for studying the intricate processes governing atmospheric energetics and instability mechanisms. It visualizes the transformation and exchange of energy within the atmosphere, specifically focusing on the interactions between kinetic and potential energy forms as conceptualized by Edward Lorenz.

Key features of the tool include:

  • Mixed Mode Visualization: Offers insights into both baroclinic and barotropic instabilities, which are fundamental in understanding large-scale atmospheric dynamics. This mode is particularly useful for comprehensively analyzing scenarios where both instabilities are at play.

  • Baroclinic Mode: Focuses on the baroclinic processes, highlighting the role of temperature gradients and their impact on atmospheric energy transformations. This mode is vital for studying weather systems and jet stream dynamics.

  • Barotropic Mode: Concentrates on barotropic processes, where the redistribution of kinetic energy is predominant. This mode is essential for understanding the horizontal movement of air and its implications on weather patterns.

By utilizing the LPS tool, researchers and meteorologists can delve into the complexities of atmospheric energy cycles, gaining insights into how different energy forms interact and influence weather systems and climate patterns. The tool's ability to switch between different modes (mixed, baroclinic, and barotropic) allows for a multifaceted analysis of atmospheric dynamics, making it an invaluable resource in the field of meteorology and climate science.

Features

  • Visualization of data in Lorenz Phase Space.
  • Support for different types of Lorenz Phase Spaces: mixed, baroclinic, and barotropic.
  • Dynamic adjustment of visualization parameters based on data scale.
  • Customizable plotting options for detailed analysis.

Installation

To use this tool, ensure you have Python installed along with the required libraries: pandas, matplotlib, numpy, and cmocean. You can install these packages using pip:

pip install pandas matplotlib numpy cmocean

Usage

Import the LorenzPhaseSpace class from LPS.py and initialize it with your data. Here's a basic example:

python
Copy code
from LPS import LorenzPhaseSpace
import pandas as pd

# Load your data
data = pd.read_csv('your_data.csv')

# Initialize the Lorenz Phase Space plotter
lps = LorenzPhaseSpace(
    x_axis=data['Ck'],
    y_axis=data['Ca'],
    marker_color=data['Ge'],
    marker_size=data['Ke'],
    LPS_type='mixed'  # Choose from 'mixed', 'baroclinic', 'barotropic'
)

# Plot and save the visualization
fig, ax = lps.plot()
plt.savefig('LPS_visualization.png', dpi=300)

Contributing

Contributions to the LPS project are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any queries or further assistance with the Lorenz Phase Space project, please reach out to danilo.oceano@gmail.com.

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

lorenz_phase_space-0.0.3.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

lorenz_phase_space-0.0.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file lorenz_phase_space-0.0.3.tar.gz.

File metadata

  • Download URL: lorenz_phase_space-0.0.3.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for lorenz_phase_space-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cec06b497a0962ef3aba7b1a7564f9f70a772b11edb0b769e544edcd2346331a
MD5 2e61609da018918f60a3eac770a22912
BLAKE2b-256 caa80a9f0afb263be86dfd5ec9b1edc9ba711c5f76d3abf2e7986ca267ac4919

See more details on using hashes here.

File details

Details for the file lorenz_phase_space-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lorenz_phase_space-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c753f5803ec587ba99f7b9d5ab9b7b1f355d2b0f76d93e4d1b8d39ca7b704e2d
MD5 5d3a64aca4f735d45b2ebcfef82a9d96
BLAKE2b-256 a1799c895ef6904c2a759740b59cc615d00f41f879d3cf2699d33801121b6ff3

See more details on using hashes here.

Supported by

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