Package: pyleoclim
Python Package for the Analysis of Paleoclimate DataPaleoclimatedata, 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 underlyingdata structures. The package leverages the Linked Paleo Data (LiPD) standard container and its associatedutilities. 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 onNumPyarrays orPandasdataframes, so most Pyleoclim timeseries analysis functionalities can apply to these more common types as well, including those generated by numerical models (viaxarray). This makes the package suitable for rigorous and efficient model-data comparisons, likethis 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 atPyleoTutorials. Examples of scientific use are giventhis paper.  A growing collection of research-grade workflows using Pyleoclim and the LinkedEarth research ecosystem are available as Jupyter notebooks onpaleoBooks, with video tutorials on the LinkedEarthYouTube channel. Python novices are encouraged to follow theseself-paced tutorialsbefore trying Pyleoclim.Science-based training materials are also available from thepaleoHackathon repository. You can run these training notebooks at any time on ourresearch hub. We also run live training workshops every so often. Follow us onTwitter, or join ourDiscourse Forumfor more information.VersionsSee ourreleases pagefor details on what's included in each version.DocumentationOnline documentation is available throughreadthedocs.Dependenciespyleoclimonlysupports Python 3.9, 3.10InstallationThe latest stable release is available through Pypi. We recommend using Anaconda or Miniconda with a dedicated environment. Full installation instructions are available in thepackage documentationCitationIf 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/2022PA004509Khider, 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.7523617DevelopmentPyleoclim development takes place on GitHub:https://github.com/LinkedEarth/Pyleoclim_utilPlease submit any reproducible bugs you encounter to theissue tracker. For usage questions, please useDiscourse.LicenseThe 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.DisclaimerThis 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.