konrad

A one-dimensional radiative-convective equilibrium model.
https://github.com/atmtools/konrad

Category: Atmosphere
Sub Category: Radiative Transfer

Keywords

atmospheric-science hacktoberfest python python3 science

Last synced: about 7 hours ago
JSON representation

Repository metadata

Implementation of a radiative-convective equilibrium model.

README.md

PyPI version
Test
Documentation Status
DOI

Logo 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:

python3 -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, on some architectures 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 python3 -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
python3 -m pip install git+https://github.com/atmtools/climt@rrtmg-only

# Install konrad itself
python3 -m pip install konrad

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Kluft"
  given-names: "Lukas"
  orcid: "https://orcid.org/0000-0002-6533-3928"
- family-names: "Dacie"
  given-names: "Sally"
  orcid: "https://orcid.org/0000-0002-7572-2903"
- family-names: "Bourdin"
  given-names: "Stella"
  orcid: "https://orcid.org/0000-0003-2635-5654"
- family-names: "Kroll"
  given-names: "Clarissa"
  orcid: "https://orcid.org/0000-0002-3449-418X"
- family-names: "Czarnecki"
  given-names: "Paulina"
  orcid: "https://orcid.org/0000-0002-5011-882X"
title: "konrad"
url: "https://github.com/atmtools/konrad"
keywords:
  - python3
  - atmospheric-science
license: MIT
repository-code: "https://github.com/atmtools/konrad"
type: software

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 16 days ago

Total Commits: 863
Total Committers: 17
Avg Commits per committer: 50.765
Development Distribution Score (DDS): 0.458

Commits in past year: 13
Committers in past year: 2
Avg Commits per committer in past year: 6.5
Development Distribution Score (DDS) in past year: 0.154

Name Email Commits
Lukas Kluft l****t@g****m 468
lkluft l****t@0****d 155
SallyDa s****e@g****m 136
sdacie s****e@0****d 43
sbourdin s****n@L****R 15
Paulina Czarnecki p****3@c****u 13
Stella Bourdin s****n@m****e 9
Clarissa Kroll m****3@m****e 6
Moritz Guenther m****r@w****e 3
hgloeckner 5****7 3
TheresaLang t****g@g****t 3
Diego Jimenez-de-la-Cuesta 3****o 2
diegojco d****z@m****e 2
Sally Dacie m****0@m****e 2
Clarissa Kroll c****l@t****e 1
Diego m****6@m****e 1
jiawei.bao j****o@s****u 1

Committer domains:


Issue and Pull Request metadata

Last synced: about 2 months ago

Total issues: 6
Total pull requests: 112
Average time to close issues: 11 months
Average time to close pull requests: 7 days
Total issue authors: 6
Total pull request authors: 10
Average comments per issue: 2.0
Average comments per pull request: 0.41
Merged pull request: 109
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 2
Past year average time to close issues: N/A
Past year average time to close pull requests: about 6 hours
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 1.0
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/atmtools/konrad

Top Issue Authors

  • olemke (1)
  • stella-bourdin (1)
  • suessspeise (1)
  • lkluft (1)
  • SallyDa (1)
  • diegojco (1)

Top Pull Request Authors

  • lkluft (88)
  • stella-bourdin (7)
  • pczarnecki (3)
  • moritz-g (3)
  • TheresaLang (3)
  • diegojco (3)
  • SallyDa (2)
  • ClKroll (1)
  • Jette87 (1)
  • jiaweibao (1)

Top Issue Labels

Top Pull Request Labels

  • in progress (1)
  • enhancement (1)

Package metadata

pypi.org: konrad

'Implementation of a radiative-convective equilibrium model.

  • Homepage: https://github.com/atmtools/konrad
  • Documentation: https://konrad.readthedocs.io/
  • Licenses: MIT
  • Latest release: 1.0.2 (published about 3 years ago)
  • Last Synced: 2025-12-21T22:09:05.111Z (3 days ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 116 Last month
  • Rankings:
    • Forks count: 8.892%
    • Dependent packages count: 10.126%
    • Stargazers count: 14.246%
    • Average: 15.507%
    • Dependent repos count: 21.535%
    • Downloads: 22.738%
  • Maintainers (1)

Dependencies

setup.py pypi
  • climt >=0.16.25
  • matplotlib >=2.0.0
  • netcdf4 >=1.2.7
  • numpy >=1.20.0,<1.22.0
  • scipy >=0.19.0
  • sympl >=0.4.0
  • typhon >=0.7.0
  • xarray >=0.9.1
.github/workflows/build-book.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/build-test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/python-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
pyproject.toml pypi
environment.yaml pypi
  • climt *
  • sympl >=0.4.0

Score: 10.781951798869827