Skip to main content

Python package to process data from PARODY-JA4.3 dynamo simulations.

Project description

PyPI version License: MIT

paropy

Welcome! Here is my Python package to process data from PARODY-JA4.3 dynamo simulations with a stably-stratified F-layer at the base of the outer core.

Getting Started

Prerequisites

Installing

Conda:

conda install -c jnywong paropy

Pip:

pip install paropy

Git:

Find the Git repo here.

Warning: IPython issue

Please note that ipython may not be compatible with jedi release 0.18.0. Please revert to version 0.17.2 for auto-complete features to work (see here).

Package structure

paropy/
  docs/
  paropy/
    __init__.py
    data_utils.py
    plot_utils.py
    routines.py
    scripts/
      convective_power.py
      diagnostics.py
      diagnostic_parameters.py
      filter_surface_field.py
      latitude_vs_Br.py
      latitude_vs_Br_with_CHAOS.py
      meridional_snapshot.py
      meridional_timeavg.py
      rotation_rate.py
      surface_snapshot.py
      surface_timeavg.py
    data/
      CHAOS-7.7.mat
  LICENSE.md
  MANIFEST.in
  README.md
  setup.py

Examples

Diagnostics

Example scripts can be found within the module paropy.

  1. Open paropy/scripts/diagnostics.py

  2. Set path to simulation data by setting

run_ID = <run_ID> # PARODY simulation tag
directory = <path_to_data>
saveDir = <path_to_savefigs>
  1. Run paropy/scripts/diagnostics.py

  2. Admire the output:

Meridional snapshots

  1. Open paropy/scripts/meridional_snapshot.py

  2. Set path to simulation data and snapshot time by setting

run_ID, timestamp = 'c-200a', '16.84707134'
directory = <path_to_data>
  1. Run paropy/scripts/meridional_snapshot.py

  2. Admire the output:

Surface snapshots

  1. Open paropy/scripts/surface_snapshot.py

  2. Set path to simulation data and snapshot time by setting

run_ID, timestamp = 'c-200a', '16.84707134'
directory = <path_to_data>
  1. Run paropy/scripts/surface_snapshot.py

  2. Admire the output:

Links

Data

Authors

  • Jenny Wong - Institut de Physique du Globe de Paris - Institut des Sciences de la Terre

License

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

Acknowledgments

  • Del Duca Foundation
  • ERC SEIC

:tada:

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

paropy-0.0.5.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

paropy-0.0.5-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file paropy-0.0.5.tar.gz.

File metadata

  • Download URL: paropy-0.0.5.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for paropy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 39d2573ae6bb824100b89c1360acfeda914424832e067be92f322fb37f8f40cb
MD5 066bb04680bcc394aead7ecd74f02540
BLAKE2b-256 83a4b86dabf4bcea763e7a7fe2909e2525f0038d02934b83b81d094718563015

See more details on using hashes here.

File details

Details for the file paropy-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: paropy-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

File hashes

Hashes for paropy-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 68dcf1ae812911c6040f072c923ecc211b5baf81fdee169b90010dea1001139e
MD5 287766dbf8bf2aca33c6f7ee28b2730e
BLAKE2b-256 70521fbdf0a135cdf6b64673a426766e9cbc769d719e1125588600bc93863cee

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