Skip to main content

A Python package for paleoclimate data analysis

Project description

PyPI version PyPI license DOI NSF-1541029

Python Package for the Analysis of Paleoclimate Data

Paleoclimate data, whether from observations or model simulations, offer unique challenges to the analyst, as they usually come in the form of timeseries with missing values and age uncertainties, which trip up off-the-shelf methods. Pyleoclim is a Python package primarily geared towards the analysis and visualization of such timeseries. The package includes several low-level methods to deal with these issues under the hood, leaving paleoscientists to interact with intuitive, high-level analysis and plotting methods that support publication-quality scientific workflows.

There are many entry points to Pyleoclim, thanks to its underlying data structures. The package leverages the Linked Paleo Data (LiPD) standard container and its associated utilities. The package is aware of age ensembles stored via LiPD and uses them for time-uncertain analyses, very much like its R sidekick, GeoChronR.

LiPD is not an obligatory entry point to Pyleoclim. Low-level modules work on NumPy arrays or Pandas dataframes, so most Pyleoclim timeseries analysis functionalities can apply to these more common types as well, including those generated by numerical models (via xarray). This makes the package suitable for rigorous and efficient model-data comparisons, like this one.

We've worked hard to make Pyleoclim accessible to a wide variety of users, from establisher researchers to high-school students, and from seasoned Pythonistas to first-time programmers. A progressive introduction to the package is available at PyleoTutorials. Examples of scientific use are given this paper. A growing collection of research-grade workflows using Pyleoclim and the LinkedEarth research ecosystem are available as Jupyter notebooks on paleoBooks, with video tutorials on the LinkedEarth YouTube channel. Python novices are encouraged to follow these self-paced tutorials before trying Pyleoclim.

Science-based training materials are also available from the paleoHackathon repository. You can run these training notebooks at any time in a myBinder environment. We also run live training workshops several times a year. Follow us on Twitter, or join our Discourse Forum for more information.

Versions

See our releases page for details on what's included in each version.

Documentation

Online documentation is available through readthedocs.

Dependencies

pyleoclim only supports Python 3.9, 3.10

Installation

The latest stable release is available through Pypi. We recommend using Anaconda or Miniconda with a dedicated environment. Full installation instructions are available in the package documentation

Citation

If you use our code in any way, please consider adding these citations to your publications:

  • Khider, D., Emile-Geay, J., Zhu, F., James, A., Landers, J., Ratnakar, V., & Gil, Y. (2022). Pyleoclim: Paleoclimate timeseries analysis and visualization with Python. Paleoceanography and Paleoclimatology, 37, e2022PA004509. https://doi.org/10.1029/2022PA004509
  • Khider, Deborah, Emile-Geay, Julien, Zhu, Feng, James, Alexander, Landers, Jordan, Kwan, Myron, & Athreya, Pratheek. (2022). Pyleoclim: A Python package for the analysis and visualization of paleoclimate data (v0.9.1). Zenodo. https://doi.org/10.5281/zenodo.7523617

Development

Pyleoclim development takes place on GitHub: https://github.com/LinkedEarth/Pyleoclim_util

Please submit any reproducible bugs you encounter to the issue tracker. For usage questions, please use Discourse.

License

The project is licensed under the GNU Public License. Please refer to the file call license. If you use the code in publications, please credit the work using the citation file.

Disclaimer

This material is based upon work supported by the National Science Foundation under Grant Number ICER-1541029. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the investigators and do not necessarily reflect the views of the National Science Foundation.

This research is funded in part by JP Morgan Chase & Co. Any views or opinions expressed herein are solely those of the authors listed, and may differ from the views and opinions expressed by JP Morgan Chase & Co. or its affilitates. This material is not a product of the Research Department of J.P. Morgan Securities LLC. This material should not be construed as an individual recommendation of for any particular client and is not intended as a recommendation of particular securities, financial instruments or strategies for a particular client. This material does not constitute a solicitation or offer in any jurisdiction.

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

pyleoclim-0.12.0.tar.gz (360.8 kB view details)

Uploaded Source

Built Distribution

pyleoclim-0.12.0-py3-none-any.whl (386.1 kB view details)

Uploaded Python 3

File details

Details for the file pyleoclim-0.12.0.tar.gz.

File metadata

  • Download URL: pyleoclim-0.12.0.tar.gz
  • Upload date:
  • Size: 360.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyleoclim-0.12.0.tar.gz
Algorithm Hash digest
SHA256 ede5969deb90795bb0d4992190d8e26859ce896dc7a43a20b0b7d6edd9273bf9
MD5 cb6ea9d5171e24132a5867dbf1793fbb
BLAKE2b-256 e7460e8e0058c381503b01bbd293937dbad58d783f98c713403fa0f6857eff2d

See more details on using hashes here.

File details

Details for the file pyleoclim-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: pyleoclim-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 386.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pyleoclim-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08664cef3c6ac03caca2ea5c1b08d0cdec2dd6f05cace24106f0c6d99c004752
MD5 97332d3b76d94a9c7e928e945d19498a
BLAKE2b-256 e7446c83591537cd3d041ea70f3e1cf39392029ac0f4b3ac8eea0e64b7f3c3e4

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