t1e_bistability_code

Code to reproduce figures from Sergeev et al. (2022)

https://github.com/dennissergeev/t1e_bistability_code

Science Score: 67.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 4 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, iop.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

atmospheric-modelling atmospheric-science exoplanets planetary-science trappist-1 unified-model
Last synced: 6 months ago · JSON representation ·

Repository

Code to reproduce figures from Sergeev et al. (2022)

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
atmospheric-modelling atmospheric-science exoplanets planetary-science trappist-1 unified-model
Created over 4 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Citation

README.md

Published article arXiv preprint Python 3.10 License: LGPL v3 black

Bistability of atmospheric circulation on TRAPPIST-1e

Denis E. Sergeev, Neil T. Lewis, F. Hugo Lambert, Nathan J. Mayne, Ian A. Boutle, James Manners, and Krisztian Kohary

Published in Planetary Science Journal.

Code for reproducing figures from the paper. Model data are available upon request (raw data O(100 Gb)).

Bibtex entry

@article{Sergeev22_bistability,
    author = {Denis E. Sergeev and Neil T. Lewis and F. Hugo Lambert and Nathan J. Mayne and Ian A. Boutle and James Manners and Krisztian Kohary},
    doi = {10.3847/PSJ/ac83be},
    issn = {2632-3338},
    issue = {9},
    journal = {The Planetary Science Journal},
    keywords = {Atmospheric circulation,Exoplanet atmospheres,Habitable planets,Habitable zone,Planetary atmospheres,Theoretical models,Transmission spectroscopy,Water vapor},
    month = {9},
    pages = {214},
    publisher = {IOP Publishing},
    title = {Bistability of the Atmospheric Circulation on TRAPPIST-1e},
    volume = {3},
    url = {https://iopscience.iop.org/article/10.3847/PSJ/ac83be https://iopscience.iop.org/article/10.3847/PSJ/ac83be/meta},
    year = {2022},
}

What is in this repository?

Notebooks for each figure are in the code/ directory, while the figures themselves are in the plots/ directory.

| # | Figure | Notebook | |:---:|:-------|:---------| | 1 | Mean climate diagnostics | Fig01-Mean-Climate-Diagnostics-All-Experiments.ipynb | | 2 | Emergence of superrotation | Fig02-Spinup-Superrotation.ipynb | | 3 | First 200 days of heating rates, water vapor path, Eady Growth Rate | Fig03-Spinup-Heating-Rates.ipynb | | 4 | Angular momentum budget | Fig04-Spinup-Momentum-Budget.ipynb | | 5 | Water vapor and cloud radiative effects in night-side cold traps | Fig05-Spinup-Cold-Traps-WVRE-CRE.ipynb | | 6 | Surface heat budget in night-side cold traps | Fig06-Spinup-Cold-Traps-Sfc-Heat-Budget.ipynb | | 7 | Steady state atmospheric circulation | Fig07-Steady-State-Circulation.ipynb | | 8 | Helmholtz decomposition | Fig08-Helmholtz-Decomposition.ipynb | | 9 | Moist static energy budget | Fig09-MSE-Flux-Divergence.ipynb | | 10 | Surface temperature, water vapor and cloud path | Fig10-Steady-State-Sfc-Temp-WVP-CWP.ipynb | | 11 | Transmission spectrum | Fig11-Transmission-Spectrum.ipynb | | 12 | Vertical profiles at the terminators | Fig12-Vertical-Profiles-Terminators.ipynb | | 13 | Transmission spectrum: east-west differences | Fig13-Transmission-Spectrum-East-West-Diff.ipynb | | 14 | Supplemental Video: animation of the atmospheric circulation during the model spin-up and its representative snapshots | Fig14-Spinup-Circulation-Snapshots.ipynb |

Want to run the code? Here are the instructions.

Get the data

Please email the lead author, Denis E. Sergeev, to get the data (raw data O(100 Gb)).

Set up Python environment

To recreate the required environment for running Python code, follow these steps. (Skip the first two steps if you have Jupyter Lab with nb_conda_kernels installed already.)

  1. Install conda or mamba, e.g. using mambaforge
  2. Install necessary packages to the base environment. Make sure you are installing them from the conda-forge channel. bash mamba install -c conda-forge jupyterlab nb_conda_kernels
  3. Git-clone or download this repository to your computer
  4. In the command line, navigate to the downloaded folder, e.g. bash cd /path/to/downloaded/t1e_bistability_code
  5. Create a separate conda environment mamba env create --file environment.yml

Open the code

  1. Start the Jupyter Lab, for example from the command line (from the base environment): bash jupyter lab
  2. Open noteboks in the t1e_bistability environment and start coding.

Owner

  • Name: Denis Sergeev
  • Login: dennissergeev
  • Kind: user
  • Location: Exeter, UK
  • Company: University of Exeter

Citation (CITATION.cff)

cff-version: 1.1.0
authors:
  - family-names: Sergeev
    given-names: Denis E.
    orcid: 0000-0001-8832-5288
  - family-names: Lewis
    given-names: Neil T.
    orcid: 0000-0002-3724-5728
  - family-names: Lambert
    given-names: F. Hugo
    orcid: 0000-0002-4664-1327
  - family-names: Mayne
    given-names: Nathan J.
    orcid: 0000-0001-6707-4563
  - family-names: Boutle
    given-names: Ian A.
    orcid: 0000-0002-1485-4475
  - family-names: Manners
    given-names: James
    orcid: 0000-0003-4402-6811
  - family-names: Kohary
    given-names: Krisztian
    orcid: 0000-0003-0165-4885
title: "Bistability of the Atmospheric Circulation on TRAPPIST-1e"
journal: The Planetary Science Journal
year: 2022
pages: 214
volume: 3
issue: 9
doi: 10.3847/PSJ/ac83be
url: https://iopscience.iop.org/article/10.3847/PSJ/ac83be
date-released: 2022-09-15

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 77
  • Total Committers: 1
  • Avg Commits per committer: 77.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dennis Sergeev d****v@g****m 77

Issues and Pull Requests

Last synced: almost 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

environment.yml conda
  • _libgcc_mutex 0.1
  • _openmp_mutex 4.5
  • adjusttext 0.7.3.1
  • aeolus 0.4.15
  • alsa-lib 1.2.6.1
  • antlr-python-runtime 4.7.2
  • aom 3.4.0
  • appdirs 1.4.4
  • argon2-cffi 21.3.0
  • argon2-cffi-bindings 21.2.0
  • asttokens 2.0.5
  • attr 2.5.1
  • attrs 21.4.0
  • backcall 0.2.0
  • backports 1.0
  • backports.functools_lru_cache 1.6.4
  • beautifulsoup4 4.11.1
  • bleach 5.0.1
  • bokeh 2.4.3
  • brotli 1.0.9
  • brotli-bin 1.0.9
  • brotlipy 0.7.0
  • bzip2 1.0.8
  • c-ares 1.18.1
  • ca-certificates 2022.6.15
  • cached-property 1.5.2
  • cached_property 1.5.2
  • cartopy 0.20.3
  • certifi 2022.6.15
  • cf-units 3.0.1
  • cffi 1.15.1
  • cfgv 3.3.1
  • cftime 1.5.1.1
  • charset-normalizer 2.1.0
  • click 8.1.3
  • cloudpickle 2.1.0
  • cmcrameri 1.4
  • cmocean 2.0
  • colorama 0.4.5
  • colorspacious 1.1.2
  • cryptography 37.0.4
  • curl 7.83.1
  • cycler 0.11.0
  • cython 0.29.30
  • cytoolz 0.12.0
  • dask 2022.7.1
  • dask-core 2022.7.1
  • dbus 1.13.6
  • debugpy 1.6.0
  • decorator 5.1.1
  • defusedxml 0.7.1
  • distlib 0.3.5
  • distributed 2022.7.1
  • entrypoints 0.4
  • executing 0.8.3
  • expat 2.4.8
  • f90nml 1.4.3
  • fastprogress 1.0.2
  • ffmpeg 5.1.0
  • fftw 3.3.10
  • filelock 3.7.1
  • flake8 4.0.1
  • flit-core 3.7.1
  • font-ttf-dejavu-sans-mono 2.37
  • font-ttf-inconsolata 3.000
  • font-ttf-source-code-pro 2.038
  • font-ttf-ubuntu 0.83
  • fontconfig 2.14.0
  • fonts-conda-ecosystem 1
  • fonts-conda-forge 1
  • fonttools 4.34.4
  • freetype 2.10.4
  • fsspec 2022.5.0
  • geos 3.11.0
  • gettext 0.19.8.1
  • giflib 5.2.1
  • glib 2.72.1
  • glib-tools 2.72.1
  • gmp 6.2.1
  • gnutls 3.7.6
  • gst-plugins-base 1.20.3
  • gstreamer 1.20.3
  • hdf4 4.2.15
  • hdf5 1.12.1
  • heapdict 1.0.1
  • icu 70.1
  • identify 2.5.2
  • idna 3.3
  • importlib-metadata 4.11.4
  • importlib_metadata 4.11.4
  • importlib_resources 5.8.0
  • iniconfig 1.1.1
  • ipykernel 6.15.1
  • ipython 8.4.0
  • ipython_genutils 0.2.0
  • ipywidgets 7.7.1
  • iris 3.2.1.post0
  • jack 1.9.18
  • jedi 0.18.1
  • jinja2 3.1.2
  • jpeg 9e
  • jsonschema 4.7.2
  • jupyter_client 7.3.4
  • jupyter_core 4.11.1
  • jupyterlab_pygments 0.2.2
  • jupyterlab_widgets 1.1.1
  • keyutils 1.6.1
  • kiwisolver 1.4.4
  • krb5 1.19.3
  • lame 3.100
  • latlon23 1.0.7
  • lcms2 2.12
  • ld_impl_linux-64 2.36.1
  • lerc 3.0
  • libblas 3.9.0
  • libbrotlicommon 1.0.9
  • libbrotlidec 1.0.9
  • libbrotlienc 1.0.9
  • libcap 2.64
  • libcblas 3.9.0
  • libclang 14.0.6
  • libclang13 14.0.6
  • libcups 2.3.3
  • libcurl 7.83.1
  • libdb 6.2.32
  • libdeflate 1.12
  • libdrm 2.4.112
  • libedit 3.1.20191231
  • libev 4.33
  • libevent 2.1.10
  • libffi 3.4.2
  • libflac 1.3.4
  • libgcc-ng 12.1.0
  • libgfortran-ng 12.1.0
  • libgfortran5 12.1.0
  • libglib 2.72.1
  • libgomp 12.1.0
  • libiconv 1.16
  • libidn2 2.3.3
  • liblapack 3.9.0
  • libllvm14 14.0.6
  • libnetcdf 4.8.1
  • libnghttp2 1.47.0
  • libnsl 2.0.0
  • libogg 1.3.4
  • libopenblas 0.3.20
  • libopus 1.3.1
  • libpciaccess 0.16
  • libpng 1.6.37
  • libpq 14.4
  • libsndfile 1.0.31
  • libsodium 1.0.18
  • libssh2 1.10.0
  • libstdcxx-ng 12.1.0
  • libtasn1 4.18.0
  • libtiff 4.4.0
  • libtool 2.4.6
  • libudev1 249
  • libunistring 0.9.10
  • libuuid 2.32.1
  • libva 2.15.0
  • libvorbis 1.3.7
  • libvpx 1.11.0
  • libwebp 1.2.3
  • libwebp-base 1.2.3
  • libxcb 1.13
  • libxkbcommon 1.0.3
  • libxml2 2.9.14
  • libzip 1.9.2
  • libzlib 1.2.12
  • locket 1.0.0
  • loguru 0.6.0
  • lz4 4.0.0
  • lz4-c 1.9.3
  • markupsafe 2.1.1
  • matplotlib 3.5.2
  • matplotlib-base 3.5.2
  • matplotlib-inline 0.1.3
  • mccabe 0.6.1
  • metpy 1.3.1
  • mistune 0.8.4
  • msgpack-python 1.0.4
  • munkres 1.1.4
  • mysql-common 8.0.29
  • mysql-libs 8.0.29
  • nbclient 0.6.6
  • nbconvert 6.5.0
  • nbconvert-core 6.5.0
  • nbconvert-pandoc 6.5.0
  • nbformat 5.4.0
  • nc-time-axis 1.4.1
  • ncurses 6.3
  • nest-asyncio 1.5.5
  • netcdf4 1.6.0
  • nettle 3.8
  • nodeenv 1.7.0
  • notebook 6.4.12
  • nspr 4.32
  • nss 3.78
  • numpy 1.23.1
  • openh264 2.2.0
  • openjpeg 2.4.0
  • openssl 1.1.1q
  • p11-kit 0.24.1
  • packaging 21.3
  • pandas 1.4.3
  • pandoc 2.18
  • pandocfilters 1.5.0
  • parso 0.8.3
  • partd 1.2.0
  • pcre 8.45
  • pexpect 4.8.0
  • pickleshare 0.7.5
  • pillow 9.2.0
  • pint 0.19.2
  • pip 22.2
  • platformdirs 2.5.2
  • pluggy 1.0.0
  • ply 3.11
  • pooch 1.6.0
  • portaudio 19.6.0
  • pre-commit 2.20.0
  • proj 9.0.1
  • prometheus_client 0.14.1
  • prompt-toolkit 3.0.30
  • psutil 5.9.1
  • pthread-stubs 0.4
  • ptyprocess 0.7.0
  • pulseaudio 14.0
  • pure_eval 0.2.2
  • py 1.11.0
  • pycodestyle 2.8.0
  • pycparser 2.21
  • pyflakes 2.4.0
  • pygments 2.12.0
  • pyopenssl 22.0.0
  • pyparsing 3.0.9
  • pyproj 3.3.1
  • pyqt 5.15.7
  • pyqt5-sip 12.11.0
  • pyrsistent 0.18.1
  • pyshp 2.3.0
  • pysocks 1.7.1
  • pyspharm 1.0.9
  • pytest 7.1.2
  • python 3.10.5
  • python-dateutil 2.8.2
  • python-fastjsonschema 2.16.1
  • python-stratify 0.2.post0
  • python-xxhash 3.0.0
  • python_abi 3.10
  • pytz 2022.1
  • pyyaml 6.0
  • pyzmq 23.2.0
  • qt-main 5.15.4
  • readline 8.1.2
  • requests 2.28.1
  • scipy 1.8.1
  • send2trash 1.8.0
  • setuptools 63.2.0
  • shapely 1.8.2
  • sip 6.6.2
  • six 1.16.0
  • sortedcontainers 2.4.0
  • soupsieve 2.3.2.post1
  • sqlite 3.39.2
  • stack_data 0.3.0
  • svt-av1 1.1.0
  • tblib 1.7.0
  • terminado 0.15.0
  • tinycss2 1.1.1
  • tk 8.6.12
  • toml 0.10.2
  • tomli 2.0.1
  • toolz 0.12.0
  • tornado 6.1
  • tqdm 4.64.0
  • traitlets 5.3.0
  • typing_extensions 4.3.0
  • tzdata 2022a
  • udunits2 2.2.28
  • ukkonen 1.0.1
  • unicodedata2 14.0.0
  • urllib3 1.26.10
  • virtualenv 20.16.1
  • wcwidth 0.2.5
  • webencodings 0.5.1
  • wheel 0.37.1
  • widgetsnbextension 3.6.1
  • windspharm 1.7.0
  • x264 1!161.3030
  • x265 3.5
  • xarray 2022.6.0
  • xcb-util 0.4.0
  • xcb-util-image 0.4.0
  • xcb-util-keysyms 0.4.0
  • xcb-util-renderutil 0.3.9
  • xcb-util-wm 0.4.1
  • xorg-fixesproto 5.0
  • xorg-kbproto 1.0.7
  • xorg-libx11 1.7.2
  • xorg-libxau 1.0.9
  • xorg-libxdmcp 1.1.3
  • xorg-libxext 1.3.4
  • xorg-libxfixes 5.0.3
  • xorg-xextproto 7.3.0
  • xorg-xproto 7.0.31
  • xxhash 0.8.0
  • xz 5.2.5
  • yaml 0.2.5
  • zeromq 4.3.4
  • zict 2.2.0
  • zipp 3.8.0
  • zlib 1.2.12
  • zstd 1.5.2