Skip to main content

A Python3 post processing tool for TIE-GCM

Project description

TIEPY

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

Installation

Build tiepy using python

python setup.py sdist

Install the generated python pip distribution

pip install /dist/tiepy-X.X.X.tar.gz

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

Tiepy 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:

tiepy --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

tiepy -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

tiepy -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

tiepy -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.0.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

tiegcmpy-1.0.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file tiegcmpy-1.0.0.tar.gz.

File metadata

  • Download URL: tiegcmpy-1.0.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for tiegcmpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1932116b9b95074dd9a986fb2cd76b269bb51f215b7c234a64e64fcf522ae6b2
MD5 70963afe631f5f106e699130c89deb95
BLAKE2b-256 ed9e74c385235e245a368e9f38b1856c64022962ce511aa458878b334bb88c31

See more details on using hashes here.

Provenance

File details

Details for the file tiegcmpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tiegcmpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for tiegcmpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02c246175908b09011242a199d2051106fc6f745c1a93214e23de661c5fbf8b8
MD5 980ba21de8312de157149f5513e14090
BLAKE2b-256 98483bc37921b90c035c3f9e23ef1da45062ebdf31e5fc92f436c7c59bc2a383

See more details on using hashes here.

Provenance

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