Skip to main content

A Python package to read, analyse and visualise cGENIE Earth System Model output

Project description

Documentation Status PyPI version PyPI - Downloads License: GPL v3 status

cgeniepy is a Python package to analyse the output of cGENIE Earth System Model. It aims to provide a set of convenient tools for the post-simulation work, including analysing the model output, plotting publication-quality figures, and conducting model-data comparison.

cgeniepy is in beta stage with main functionalities being accompolished.

Installation

  1. Install from PyPI.
python3 -m pip install cgeniepy
  1. Install from GitHub:
python3 -m pip install git+https://github.com/ruiying-ocean/cgeniepy.git@master
  1. Install extra dependency
python3 -m pip install "cgeniepy[extra]"

Quickstart

I have uploaded a sample model run, which is a preindustrial spinup configuration with marine ecosystem and biogeochemistry enabled.

import cgeniepy

model = cgeniepy.sample_model()
model.get_var('ocn_sur_temp').isel(time=-1).plot(colorbar=True)

Documentation

An online documentation is hosted in readthedoc.

Citation

Rui Ying. cgeniepy: A Python package for analysing cGENIE Earth System Model output, 20 February 2024, PREPRINT (Version 1) available at Research Square [https://doi.org/10.21203/rs.3.rs-3967633/v1]

Logo

Logo is designed by me using free righteous font.

Alternative

Raise a bug

Please use GitHub's Issues to raise a bug. This makes the issues traceable so that future users having the same problem can find the answer in the public domain.

Contributing

How to contribute

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

cgeniepy-0.13.6.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

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

cgeniepy-0.13.6-py3-none-any.whl (6.6 MB view details)

Uploaded Python 3

File details

Details for the file cgeniepy-0.13.6.tar.gz.

File metadata

  • Download URL: cgeniepy-0.13.6.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for cgeniepy-0.13.6.tar.gz
Algorithm Hash digest
SHA256 579f068cb858b28240956f14142edbf6f9094680ba27f06215214283fc17ad65
MD5 f1378b1a49f1ab204c28c2ee157d4d4a
BLAKE2b-256 cac132578b8004367380f9fd09e1b4b1b1feae3b1b439541120a23e7a388da8f

See more details on using hashes here.

File details

Details for the file cgeniepy-0.13.6-py3-none-any.whl.

File metadata

  • Download URL: cgeniepy-0.13.6-py3-none-any.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for cgeniepy-0.13.6-py3-none-any.whl
Algorithm Hash digest
SHA256 069655025e16b19046b691025f36f0df574382e091ecccd4eac8ff965536b096
MD5 160c63be58c9ec08ced321070cad1079
BLAKE2b-256 86e3e3fd5b5e6cf09a08b41f4fb6970e95a3897da4a6673b4caea01ca20214ce

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