## Orbit / general options
## ~~~~~~~~~~~~~~~~~~~~~~~
# Run with or without tracer transport ?
tracer    = .true.
# rate of outputs for diagfi files (in physics steps, default: 24)
diagfi_output_rate = 8
# Diurnal cycle ?  if diurnal=false, diurnally averaged solar heating
diurnal   = .false.
# Seasonal cycle ? if season=false, Ls stays constant, to value set in "start"
season    = .true. 
# Tidally resonant orbit ? must have diurnal=false, correct rotation rate in newstart
tlocked   = .true.
# Tidal resonance ratio ? ratio T_orbit to T_rotation
nres      = 1
# Write some more output on the screen ?
lwrite    = .false.
# Save statistics in file "stats.nc" ?
callstats = .false.
# Test energy conservation of model physics ?
enertest  = .false.
# Check to see if cpp, mugaz values used match gas mixture defined in gases.def (recommended) ?
check_cpp_match = .true.

# check fieds when starting/finishing physics step
check_physics_inputs=.false.
check_physics_outputs=.false.
check_ps_max=10000000.

## Radiative transfer options
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# call radiative transfer?
callrad    = .true.
# the rad. transfer is computed every "iradia" physical timestep
iradia     = 24
# call multilayer correlated-k radiative transfer ?
corrk      = .true.
# folder in which correlated-k data is stored ?
corrkdir = present_day_Venus
# call visible gaseous absorption in radiative transfer ?
callgasvis = .true.
# Include Rayleigh scattering in the visible ?
rayleigh   = .true.
# Characteristic planetary equilibrium (black body) temperature
# This is used only in the aerosol radiative transfer setup. (see aerave.F)
tplanet    = 341.9
# Output spectral OLR in 1D/3D?
specOLR    = .true.
# Output global radiative balance in file 'rad_bal.out' - slow for 1D!!
meanOLR    = .false.
# Variable gas species: Radiatively active ?
varactive  = .false.
# Variable gas species: Fixed vertical distribution ?
varfixed   = .false.
# Variable gas species: Saturation percentage value at ground ?
satval     = 0.8
# Include continuum absorption in radiative transfer (note CO2 is treated separately) ?
continuum  = .false.
# do not allow corrk to extrapolate outside of T,P tables? (.true. is recommended)
strictboundcorrk = .false.

## Host Star
## ~~~~~~~~~
stelspec_file = spectrum_TRAPPIST1_2022.dat
tstellar = 2600.

# Stellar flux at 1 AU. Examples:
# 1366.0 W m-2		Sol today
# 1024.5 W m-2		Sol today x 0.75 = weak early Sun
# 1079.5 W m-2		Sol today x 0.79 = Late Hesperian Sun
# 18.462 W m-2		The feeble Gl581
# 19.960 W m-2		Gl581 with e=0.38 orbital average
# 5464.0 W m-2          4 times Solar flux
# 13660.0 W m-2         10 times Solar flux
Fat1AU = 0.7527

## Tracer and aerosol options 
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Gravitational sedimentation of tracers (just H2O ice for now) ?
sedimentation = .false.

## Other physics options
## ~~~~~~~~~~~~~~~~~~~~~
# call turbulent vertical diffusion ?
calldifv = .true.
# use turbdiff instead of vdifc ?
UseTurbDiff = .true.

# call convective adjustment ?
calladj  = .true.
# call thermal conduction in the soil ?
callsoil = .true.

#########################################################################
## extra non-standard definitions for Trappist 1-c
#########################################################################
 
## Radiative transfer options 
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Parameterized Earth-like ozone absorption ?
ozone         = .false.

## Tracer and aerosol options 
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Number of radiatively active aerosols
naerkind=5
# Fixed aerosol distributions?
aerofixed     = .true.
# Varying H2O cloud fraction?
CLFvarying    = .false.
# H2O cloud fraction?
CLFfixval     = 1.0
# Radiatively active CO2 aerosol?
aeroco2       = .false.
# Fixed CO2 aerosol distribution?
aerofixco2    = .false.
# Radiatively active water aerosol?
aeroh2o       = .false.
# Fixed water aerosol distribution?
aerofixh2o  = .false.
# basic dust opacity
dusttau       = 0.0
# fixed radii for cloud particles?
# concerns only water right now...
radfixed=.false.
# Radiatively active Venus clouds ?
aerovenus = .true.
aerovenus1    = .true.
aerovenus2    = .true.
aerovenus2p   = .true.
aerovenus3    = .true.
aerovenusUV   = .true.


# number mixing ratio of CO2 ice particles
Nmix_co2      = 1.E5
# number mixing ratio of water particles (for rafixed=.false.)
Nmix_h2o      = 1.e5
# number mixing ratio of water ice particles (for rafixed=.false.)
Nmix_h2o_ice      = 1.e5
# radius of H2O water particles (for rafixed=.true.):
rad_h2o=10.e-6
# radius of H2O ice particles (for rafixed=.true.):
rad_h2o_ice=35.e-6
# atm mass update due to tracer evaporation/condensation?
mass_redistrib = .false.

## Water options 
## ~~~~~~~~~~~~~
# Model water cycle
water         = .false.
# Model water cloud formation
watercond     = .false.
# Model water precipitation (including coagulation etc.)
waterrain     = .false.
# Use simple precipitation scheme?
precip_scheme=4
# multiplicative constant in Boucher 95 precip scheme
Cboucher=1.

# Include hydrology ?
hydrology     = .false.
# H2O snow (and ice) albedo ?
albedosnow    = 0.5
# Maximum sea ice thickness ?
maxicethick   = 0.05
# Freezing point of seawater (degrees C) ?
Tsaldiff      = 0.0
# Evolve surface water sources ?
sourceevol    = .false.
# Ice evolution timestep ?
icetstep=10

## CO2 options 
## ~~~~~~~~~~~
# gas is non-ideal CO2 ?
nonideal      = .true.
# call CO2 condensation ?
co2cond       = .false.
# Set initial temperature profile to 1 K above CO2 condensation everywhere?
nearco2cond   = .false.

## Directory where external input files are
## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
datadir = ./datadir
