konrad
konrad is a one-dimensional radiative-convective equilibrium (RCE) model.
It is build in an object oriented structure to allow simple modifications of
the model setup.
You can find various tutorials that illustrate the usage of konrad in our
"How to konrad" Jupyter book.
Requirements
konrad requires Python 3.6 or higher. The recommended way to get
Python is through Anaconda.
But of course, any other Python distribution is also working.
Install stable release
You can install the latest stable version of konrad using pip:
python -m pip install konrad
Konrad depends on the CliMT package. CliMT handles a variety of underlying FORTRAN code and provides precompiled binary wheels for some Python versions and operating systems.
However (for Python >3.7) the FORTRAN libraries need to be compiled locally. In this case, you need to specify a C compiler, a FORTRAN compiler, and the target architecture using the corresponding environment variables:
CC=gcc FC=gfortran TARGET=HASWELL python -m pip install konrad
macOS
On macOS, you may need to install the GCC compiler suite beforehand:
# Install GCC 11 and set it as C and Fortran compiler.
brew install gcc@12
CC=gcc-12 FC=gfortran-12
# Set the target architecture (different for Apple M1 [arm64]).
[[ $(uname -p) == arm64 ]] && TARGET=ARMV8 || TARGET=HASWELL
# Install a trimmed down version of CliMT that ships RRTMG only.
export CC FC TARGET
python -m pip install git+https://github.com/atmtools/climt@rrtmg-only
# Install konrad itself
python -m pip install konrad
Metadata
Release files for konrad 1.0.2
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 |
|---|---|---|---|---|
| konrad-1.0.2.tar.gz | 129.6 kB | Without provenance | Details for konrad-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| konrad-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for konrad-1.0.2-py3-none-any.whl |
Total release size: 267.2 kB
Release files / konrad-1.0.2.tar.gz
| Download URL | konrad-1.0.2.tar.gz |
|---|---|
| Size | 129.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7794d8e790cb3dcd11f7bd0ef11c1900c05cebd3bb8a6a49a19a511d692bf393
|
|
BLAKE2b-256 checksum How to use checksums |
a7a392c5e85985f17fc28dd2de4cf40720ef179c8b89b66fcacf74163e571b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / konrad-1.0.2-py3-none-any.whl
| Download URL | konrad-1.0.2-py3-none-any.whl |
|---|---|
| Size | 137.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c96262e85df26c201eeb866bdf396ebb522ed55c3400689ef0067953b91c8b9
|
|
BLAKE2b-256 checksum How to use checksums |
50297d031fac6ccbf869af887abf90fed21422b1453f79e72284c642e982c30c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for konrad 1.0.2
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.