Skip to main content

Temperature structure generator for planetory atmospheres.

Project description

Documentation Status Coverage

JANUS (1D convective atmosphere model)

Generates a temperature profile using the generalised moist pseudoadiabat and a prescribed stratosphere. Calculates radiative fluxes using SOCRATES.

Pronounced jan-us. Jan as in "january", and us as in the collective pronoun.

Documentation

https://proteus-code.readthedocs.io

Contributors (abbreviations & email addresses):

Repository structure

  • README.md - This file
  • src/janus/data/ - Janus data files
  • src/janus/modules/ - Utility python scripts
  • src/janus/utils/ - Utility python scripts
  • examples/ - Typical use scripts
  • tools/ - Useful tools

Developer installation instructions

  1. Download and install Socrates
git clone git@github.com:nichollsh/SOCRATES.git
cd SOCRATES
./configure
./build-code
source set_rad_env
cd ..
  1. Download and install Janus
git clone git@github.com:FormingWorlds/JANUS.git
cd JANUS
pip install -e .
  1. Download data from the OSF repository
    • Set the environment variable FWL_DATA to define where the spectral data files will be stored
      • export FWL_DATA=...
    • Run the following commands to download all basic data
      • janus download spectral
      • janus download stellar
    • Alternatively, you can specify which spectral data you want to download, and optionally the number of bands
      • janus download spectral -n Frostflow -b 4096

Run instructions

In the examples folder you can find python scripts showing typical usecases/workflows of atmosphere modelling with Janus.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fwl_janus-24.8.29.tar.gz (146.7 kB view hashes)

Uploaded Source

Built Distribution

fwl_janus-24.8.29-py3-none-any.whl (155.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page