The API for PRoxY System Modeling (PRYSM)
Project description
prysm-api
The API for PRoxY System Modeling (PRYSM). Currently, it supports PSMs listed below:
- Ice-core d18O
- Tree-ring width with VSLite
- Tree-ring cellulose
- Tree MXD
- Coral d18O and Sr/Ca
- Speleothem d18O
- Varve thickness
How to install
Simply
pip install prysm-api LMRt # LMRt provides many useful functions necessary for prysm-api
To use VS-Lite, in R
install.packages("devtools")
devtools::install_github("fzhu2e/VSLiteR")
Usage examples
- Calling VS-Lite
import prysm
res = prysm.forward(
'prysm.vslite', # psm name
lat_obs, lon_obs, # lat/lon of the target location
lat, lon, time, # dimension variables of the environmentals
{ # environmental variables:
'tas': tas, # surface air temperature in (time, lat, lon) [K]
'pr': pr, # precipitation rate in (time, lat, lon) [kg/m2/s]
},
T1=8, T2=23, M1=0.01, M2=0.05, # PSM specific parameters
)
Here res
is a dictionary that includes the pseudoproxy values and the
corresponding timepoints, plus other output for diagnostics.
- Calling the PSM for ice core d18O
import prysm
res = prysm.forward(
'prysm.ice.d18O', # psm name
lat_obs, lon_obs, # lat/lon of the target location
lat, lon, time, # dimension variables of the environmentals
{ # environmental variables:
'tas': tas, # surface air temperature in (time, lat, lon) [K]
'pr': pr, # precipitation rate in (time, lat, lon) [kg/m2/s]
'psl': psl, # sea-level pressure in (time, lat, lon) [Pa]
'd18Opr': d18Opr, # precipitation d18O in (time, lat, lon) [permil]
},
)
References
- Dee, S., J. Emile-Geay, M. N. Evans, A. Allam, E. J. Steig, and D. m. Thompson, 2015: PRYSM: An open-source framework for PRoxY System Modeling, with applications to oxygen-isotope systems. J. Adv. Model. Earth Syst., 7, 1220–1247, doi:10.1002/2015MS000447.
- Dee, S. G., N. J. Steiger, J. Emile-Geay, and G. J. Hakim, 2016: On the utility of proxy system models for estimating climate states over the common era. J. Adv. Model. Earth Syst., 8, 1164–1179, doi:10.1002/2016MS000677.
- Dee, S. G., L. A. Parsons, G. R. Loope, J. T. Overpeck, T. R. Ault, and J. Emile-Geay, 2017: Improved spectral comparisons of paleoclimate models and observations via proxy system modeling: Implications for multi-decadal variability. Earth and Planetary Science Letters, 476, 34–46, doi:10.1016/j.epsl.2017.07.036.
- Dee, S. G., J. M. Russell, C. Morrill, Z. Chen, and A. Neary, 2018: PRYSM v2.0: A Proxy System Model for Lacustrine Archives. Paleoceanography and Paleoclimatology, 33, 1250–1269, doi:10.1029/2018PA003413.
License
MIT License (see the details here)
How to cite
If you find this package useful and use it in your research, please cite it with DOI:
... and welcome to Star and Fork!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prysm-api-0.5.1.tar.gz
(22.1 kB
view details)
File details
Details for the file prysm-api-0.5.1.tar.gz
.
File metadata
- Download URL: prysm-api-0.5.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21b360633a864e98f27d5f2bfdb5be8176afc64ad5fbb85e56a079315b9b143d |
|
MD5 | 3329d741b4735e52f8b1d74308311749 |
|
BLAKE2b-256 | c905dcfbd126bc95043df63922133b50a6d2ae24b1751a61e1818060ee139b5d |