ExoFMS-Socrates

Socrates

Installation

Generating Spectral Files

Example Uses

View the Project on GitHub

ExoFMS Socrates Documentation

This is the documentation for the ExoFms-Socrates code, which couple the Socrates radiative transfer module to the Exo-FMS GCM.

This repo and documentation also contains instructions for setting up and running any GCM test with Socrates, using HITRAN, HITEMP, or ExoMol data.

Also see how to use Socrates in ROCKE-3D, related tools, and the (password-protected) Socrates repository.

Usage

The “socrates_interface” function takes the arguments:

CALL socrates_interface(Time, rlat, rlon,     &
     tg_tmp, t_surf, p_full, p_half, n_profile, n_layer,     &
     output_heating_rate, net_surf_sw_down, surf_lw_down, fms_stellar_flux )

where the last row is the output.

Diagnostics such as band-averaged fluxes are dealt with inside the interface module.

Structure

Socrates + ExoFMS has the following structure:

socrates

  1. Call socrates_init at the start of the model run, to read in the spectral files (read_spectrum) and options (read_control)

  2. Call socrates_interface at every timestep, to set the input arrays to Socrates (set_atm etc.) then call socrates_calc

  3. Socrates_interface sends the diagnostics at every timestep

The intention is that a normal user can change the parameters of their test (longwave spectral file, shortwave spectral file, stellar flux, and Socrates options) without going below the interface level.

More to be added on using clouds etc.