dearprudence
Internal Python library filled with sugar for swallowing downscalingCMIP6 parameter files.
Examples
import dearprudence
tasmax_spec = dearprudence.read_params("GFDL-ESM4-tasmax.yaml")
print(tasmax_spec[0].ssp)
# Cmip6Record(activity_id='ScenarioMIP',
# experiment_id='ssp370',
# table_id='day',
# variable_id='tasmax',
# source_id='GFDL-ESM4',
# institution_id='NOAA-GFDL',
# member_id='r1i1p1f1',
# grid_label='gr1',
# version='20180701')
tasmax_spec[0].variable_id = "foobar"
dearprudence.write_params("pointlessly_modified.yaml", tasmax_spec)
if dearprudence.cmip6_catalog_has(tasmax_spec[0].ssp):
print("Exists in CMIP6 In The Cloud!")
Installation
Install with pip using:
pip install dearprudence
dearprudence requires Python > 3.9. No external packages are required. The intake_esm package needs to be installed to use dearprudence.check_cmip6_catalog().
Install the unreleased bleeding-edge version of the package with:
pip install git+https://github.com/brews/dearprudence
Support
Source code is available online at https://github.com/brews/dearprudence/. This software is Open Source and available under the Apache License, Version 2.0.
Development
Please file bugs in the bug tracker.
Want to contribute? Great! Fork the main branch and file a pull request when you're ready. Please be sure to write unit tests and follow pep8. Fork away!
Metadata
Release files for dearprudence 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dearprudence-1.1.0.tar.gz | 12.2 kB | Without provenance | Details for dearprudence-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dearprudence-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for dearprudence-1.1.0-py3-none-any.whl |
Total release size: 21.7 kB
Release files / dearprudence-1.1.0.tar.gz
| Download URL | dearprudence-1.1.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c64f48bb33237a69934640b336c4ffc424b487e5fa8ff624588fa752f6b591c4
|
|
BLAKE2b-256 checksum How to use checksums |
90ae7b0b29a4380d1df6f1696d407bb6a5fd5925020da513598783e384ef37fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dearprudence-1.1.0-py3-none-any.whl
| Download URL | dearprudence-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6ea0515b449da0c6dba500fa812cdfde6c6b758cd07d9268687489ab7e0f5c5
|
|
BLAKE2b-256 checksum How to use checksums |
47d51e6de126ca9258f71d8a1eebaef736af8a9304d56142031d5135b8156050
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for dearprudence 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.