Skip to main content

A lightweight, packaged version of the Last Millennium Reanalysis (LMR) framework

Project description

PyPI DOI

LMR Turbo (LMRt)

A lightweight, packaged version of the Last Millennium Reanalysia (LMR) framework, inspired by LMR_lite.py originated by Professor Hakim (Univ. of Washington). Ultimately, it aims to provide following features:

  • Greater flexibility
    • Easy installation
    • Easy importing and usage in Jupyter notebooks (or scripts)
    • No assumption of a fixed folder structure; just feed the correct files to functions
    • Easy setup for different priors, proxies, and Proxy System Models (PSMs) included in PRYSM API
  • Faster speed
    • Easy parallel computing with multiprocessing and other techniques
  • Leveraging the power of Machine Learning (added in v0.6.0)

Results

Mean temperature

Mean temperature

Niño 3.4 index

Niño 3.4

Package dependencies

  • tqdm: A fast, extensible progress bar for Python and CLI (pip install tqdm)
  • prysm-api: The API for PRoxY System Modeling (PRYSM) (pip install prysm-api)
  • dotmap: Dot access dictionary with dynamic hierarchy creation and ordered iteration (pip install dotmap)
  • xarray: N-D labeled arrays and datasets in Python (pip install xarray)
  • netCDF4: the python interface for netCDF4 format (conda install netCDF4)
  • pyspharm: an object-oriented python interface to the NCAR SPHEREPACK library (conda install -c conda-forge pyspharm)
  • pyyaml: The next generation YAML parser and emitter for Python (pip install pyyaml).
  • cartopy: a Python package designed for geospatial data processing in order to produce maps and other geospatial data analyses (conda install -c conda-forge cartopy).
  • scikit-learn: Machine Learning in Python (pip install -U scikit-learn).
  • keras: Deep Learning for humans (pip install keras).
  • tensorflow: An Open Source Machine Learning Framework for Everyone (pip install tensorflow or pip install tensorflow-gpu).

How to install

Once the above dependencies are installed, simply

pip install LMRt

and you are ready to

import LMRt

in python.

Notebook tutorials

References

  • Hakim, G. J., J. Emile‐Geay, E. J. Steig, D. Noone, D. M. Anderson, R. Tardif, N. Steiger, and W. A. Perkins, 2016: The last millennium climate reanalysis project: Framework and first results. Journal of Geophysical Research: Atmospheres, 121, 6745–6764, https://doi.org/10.1002/2016JD024751.
  • Tardif, R., Hakim, G. J., Perkins, W. A., Horlick, K. A., Erb, M. P., Emile-Geay, J., Anderson, D. M., Steig, E. J., and Noone, D.: Last Millennium Reanalysis with an expanded proxy database and seasonal proxy modeling, Clim. Past Discuss., https://doi.org/10.5194/cp-2018-120, in review, 2018.

License

BSD License (see the details here)

How to cite

If you find this package useful, please cite it with DOI: DOI

... and welcome to Star and Fork!

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

LMRt-0.6.3.tar.gz (2.9 MB view details)

Uploaded Source

File details

Details for the file LMRt-0.6.3.tar.gz.

File metadata

  • Download URL: LMRt-0.6.3.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for LMRt-0.6.3.tar.gz
Algorithm Hash digest
SHA256 7dbe93f7ec13727724f9fa3ff99ed87280b7cd4528a6518314e75f722b97d6a2
MD5 0f3f0cf4494e0566e87c967463baf1e1
BLAKE2b-256 3d8d340243a78ee2a4ba496b1608d84f7b6f8d90fa3ea1377aa60252ae18addc

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