Skip to main content

A Python3 post processing tool for TIE-GCM

Project description

TIEGCMPY

tiegcmpy is a tool used for TIE-GCM post processing and plot generation.

Installation

pip install tiegcmpy

Requrements

  • Python >= 3.8.0
  • Python pip >= 23.2.1
    • cartopy >= 0.21.1
    • numpy >= 1.24.4
    • matplotlib >= 3.7.2
    • xarray >= 2023.1.0

Usage

tiegcmpy can be run in two modes:

  1. Mode: Single Plot

    Load database for generation of a single plot to a single file

  2. Mode: Multiple Plot

    Load database for generation of multiple plots to a single or multiple files

Mode: Single Plot

Example:

tiegcmpy --plot_type {plot_type} -dir {directory of datasets} --dataset_filter {primary or secondary files} --output_format {format of output plot} --[Other optional arguments for specific plots]

Mode: Multiple Plot

Option 1: Initiate Interactive mode to generate multiple plots from different datasets

tiegcmpy -rec

Wait for the command input request.

Entering Interactive Mode
Enter command or 'exit' to terminate:

Type the arguments to request a plot with the dataset and output file information

--plot_type {plot_type} -dir {directory of datasets} --dataset_filter {primary or secondary files} --output_format {format of output plot} --[Other optional arguments for specific plots]

Wait for input request. Type another command or 'exit'

Option 2: Load dataset for multiple plot generation to multiple files

tiegcmpy -rec -dir {directory of datasets} --dataset_filter {primary or secondary files} 

Loads datasets into memory and requests for input.

Entering Interactive Mode
Loading datasets globally.
Enter command or 'exit' to terminate: 

Type the arguments to request a plot with the output file information

--plot_type {plot_type} --output_format {format of output plot} --[Other optional arguments for specific plots]

Wait for input request. Type another command or 'exit'

Option 3: Load dataset for multiple plot generation to a single PDF file

tiegcmpy -rec -dir {directory of datasets} --dataset_filter {primary or secondary files} --multiple_output {Output PDF file name}

Loads datasets into memory, generates the PDF file and requests for input.

Entering Interactive Mode
Loading datasets globally.
Enter command or 'exit' to terminate: 

Type the arguments to request a plot.

--plot_type {plot_type} --[Other optional arguments for specific plots]

Wait for input request. Type another command or 'exit'

License

"""License Information"""

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

tiegcmpy-1.1.0.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

tiegcmpy-1.1.0-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

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