AGNI

AGNI: A radiative-convective model for lava planet atmospheres - Published in JOSS (2025)

https://github.com/nichollsh/agni

Science Score: 100.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 9 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: arxiv.org, joss.theoj.org
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

atmosphere atmosphere-model convection exoplanets fortran julia jwst magma nonlinear-optimization optimization physics planetary-science radiation radiative-transfer thermodynamics
Last synced: 4 months ago · JSON representation ·

Repository

An open-source model for extreme atmospheres on rocky exoplanets.

Basic Info
Statistics
  • Stars: 8
  • Watchers: 2
  • Forks: 1
  • Open Issues: 19
  • Releases: 19
Topics
atmosphere atmosphere-model convection exoplanets fortran julia jwst magma nonlinear-optimization optimization physics planetary-science radiation radiative-transfer thermodynamics
Created over 2 years ago · Last pushed 4 months ago
Metadata Files
Readme License Citation Codemeta

README.md

An open-source model for extreme atmospheres on rocky exoplanets

Overview

AGNI's primary purpose is to simulate the atmospheric temperature-, height-, and compositional-structures of atmospheres overlying magma oceans. It does this while ensuring that radiative-convective equilibrium is maintained throughout the atmosphere. SOCRATES is used to perform correlated-k radiative transfer including: shortwave irradiation from the star, surface emission, line absorption, Rayleigh scattering, parameterised clouds, and collisional absorption. Mixing length theory is used to parametrise convection. AGNI also supports real gas equations of state, self-gravitation, and various spectral surface compositions. Accounting for these energy transport processes permits an energy-conserving calculation of atmospheric structure, obtained using numerical optimisation, which also yields realistic cooling rates for young rocky planets with magma oceans.

Consult the AGNI documentation for information about the model.

Contact: see information on my website homepage.

Installation and usage

See the Getting Started page in the documentation for information on installing and using the model.

Citation

If you use AGNI, please cite the following papers: * Nicholls et al. (2025a) - 10.1093/mnras/stae2772 * Nicholls et al. (2025b) - 10.21105/joss.07726 * Nicholls et al. (in rev) - 2507.02656

Example

Below is an animated example of AGNI solving for a temperature-pressure profile, starting from an isothermal state.

Repository structure

  • agni.jl - The main AGNI executable
  • LICENSE.txt - License for use and re-use
  • deps/ - Package build scripts
  • docs/ - Documentation source files
  • misc/ - Miscellaneous files
  • out/ - Model output files
  • res/ - Resources (configs, thermodynamic data, etc.)
  • src/ - Source code
  • test/ - Tests for the code
  • tutorials/ - Notebooks and tutorials

This software is available under GPLv3. Copyright (C) 2025 Harrison Nicholls.

Owner

  • Name: Harrison Nicholls
  • Login: nichollsh
  • Kind: user
  • Location: Oxford, United Kingdom
  • Company: University of Oxford

Some of my projects are on Gitlab: https://gitlab.com/nichollsh

JOSS Publication

AGNI: A radiative-convective model for lava planet atmospheres
Published
May 30, 2025
Volume 10, Issue 109, Page 7726
Authors
Harrison Nicholls ORCID
Department of Physics, University of Oxford, Parks Road, Oxford OX1 3PU, UK
Raymond Pierrehumbert ORCID
Department of Physics, University of Oxford, Parks Road, Oxford OX1 3PU, UK
Tim Lichtenberg ORCID
Kapteyn Astronomical Institute, University of Groningen, P.O. Box 800, 9700 AV Groningen, The Netherlands
Editor
Arfon Smith ORCID
Tags
astronomy physics radiative transfer exoplanets convection radiation planets atmospheres

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Nicholls"
  given-names: "Harrison"
  orcid: "https://orcid.org/0000-0002-8368-4641"
title: "Convective shutdown in the atmospheres of lava worlds"
version: 1.7.0
doi: 10.1093/mnras/stae2772
date-released: 2025-07-21
url: "https://doi.org/10.1093/mnras/stae2772"

CodeMeta (codemeta.json)

{
  "@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.json",
  "@type": "Code",
  "author": [
    {
      "@id": "https://orcid.org/0000-0002-8368-4641",
      "@type": "Person",
      "email": "harrison.nicholls@physics.ox.ac.uk",
      "name": "Harrison Nicholls",
      "affiliation": "Department of Physics, University of Oxford, Parks Road, Oxford OX1 3PU, UK"
    }
  ],
  "identifier": "",
  "codeRepository": "https://github.com/nichollsh/AGNI",
  "datePublished": "2024-12-29",
  "dateModified": "2025-10-21",
  "dateCreated": "2024-09-13",
  "description": "An open-source model for extreme atmospheres on rocky exoplanets.",
  "keywords": "physics, radiative transfer, exoplanets, astronomy, convection, radiation, planets, atmospheres",
  "license": "GPL v3.0",
  "title": "AGNI",
  "version": "1.7.12"
}

GitHub Events

Total
  • Create event: 35
  • Issues event: 54
  • Release event: 12
  • Watch event: 5
  • Delete event: 23
  • Issue comment event: 34
  • Push event: 243
  • Pull request event: 45
Last Year
  • Create event: 35
  • Issues event: 54
  • Release event: 12
  • Watch event: 5
  • Delete event: 23
  • Issue comment event: 34
  • Push event: 243
  • Pull request event: 45

Committers

Last synced: almost 2 years ago

All Time
  • Total Commits: 153
  • Total Committers: 1
  • Avg Commits per committer: 153.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 153
  • Committers: 1
  • Avg Commits per committer: 153.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Harrison Nicholls h****s@p****k 153
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 68
  • Total pull requests: 54
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 7 hours
  • Total issue authors: 4
  • Total pull request authors: 3
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.09
  • Merged pull requests: 45
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 34
  • Pull requests: 29
  • Average time to close issues: 20 days
  • Average time to close pull requests: about 10 hours
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.71
  • Average comments per pull request: 0.1
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nichollsh (65)
  • MartianColonist (1)
  • ruizhizhan (1)
  • hinnes97 (1)
Pull Request Authors
  • nichollsh (52)
  • hinnes97 (1)
  • warrickball (1)
Top Labels
Issue Labels
enhancement (30) complex (14) bug (7) help wanted (7) physics-focus (6) good first issue (3) documentation (2) unsure (1)
Pull Request Labels
enhancement (1) good first issue (1)

Dependencies

.github/workflows/documentation.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v1 composite
  • julia-actions/setup-julia v2 composite
.github/workflows/install_and_test.yml actions
  • actions/checkout v4 composite
  • julia-actions/setup-julia v2 composite