# File Alice_Springs_balloon_Apr.amc - Model for the atmosphere above a
# balloon launched from Alice Springs, at latitude 23.7 deg S, for the
# month of April.
#
?
? usage: am Alice_Springs_balloon_Apr.amc fmin fmax df zenith_angle
?
? where: fmin = minimum frequency
?        fmax = maximum frequency
?        df   = frequency grid interval
?        za   = zenith angle
?
? example: am Alice_Springs_balloon_Apr.amc 325 GHz 425 GHz 0.2 MHz 0 deg
? 
? Setting df = 0.2 MHz will resolve all lines to the lowest-pressure level
? (1 mbar) in this model.  Run time and output size can be considerably
? reduced by setting df = 1 MHz, for which only a small fraction of line
? cores will be unresolved.
?
? To use this file at a given flight pressure, comment out layers at
? higher pressure.  The comments in this file indicating the altitude for
? each pressure level follow the CIRA-86 reference atmosphere.
?
? Because Doppler broadening is neglected, it is recommended to use this
? file for frequencies fmax < 1000 GHz.
?
#
#
# Layer pressures and temperatures here are interpolated from the CIRA-86
# reference atmosphere for April, for 23.7 deg S latitude.
#
# Reference:
#
#   Committee on Space Research (COSPAR). The COSPAR International Atmosphere
#   (CIRA-86), [Internet]. NCAS British Atmospheric Data Centre, 2006-2011.
#   Available from
#     http://badc.nerc.ac.uk/view/badc.nerc.ac.uk__ATOM__dataent_CIRA .
#
#
# Ozone mixing ratios are interpolated from the Fortuin-Kelder ozone
# climatology for April, for 23.7 deg S latitude.
#
# Reference:
#
#   J. Paul F. Fortuin and Hennie Kelder 1998, "An ozone climatology based
#   on ozonesonde and satellite measurements."  JGR 103:31709.
#   Available from
#     http://www.knmi.nl/research/climate_chemistry/Data/FKClimatology/
#
#
# Water vapor mixing ratios are based on Fig. 5a in
#
#   K. H. Rosenlof, A. F. Tuck, K. K. Kelly, J. M. Russell III, and
#   M. P. McCormick 1997, "Hemispheric asymmetries in water vapor and
#   inferences about transport in the lower stratosphere."  JGR 102:13213
#
# Here, the h2o vmr has been approximated as linear in log(P) from 4 ppm at
# 100 mbar to 6 ppm at 1 mbar, and constant at 6 ppm for P < 1 mbar.
#
#
# Command-line input for frequency grid and zenith angle includes both
# value and unit.
#
f %1 %2  %3 %4  %5 %6
output f GHz  tau  Tb K
za %7 %8
tol 1.0e-4

T0 2.7 K

layer
Pbase 1.000 mbar  # z = 48.28 km
Tbase 267.405 K
column dry_air vmr
column o3 vmr 2.910e-06
column h2o vmr 6.0e-06

layer
Pbase 2.000 mbar  # z = 42.84 km
Tbase 263.339 K
column dry_air vmr
column o3 vmr 3.988e-06
column h2o vmr 5.8e-06

layer
Pbase 3.000 mbar  # z = 39.80 km
Tbase 256.169 K
column dry_air vmr
column o3 vmr 5.860e-06
column h2o vmr 5.6e-06

layer
Pbase 4.000 mbar  # z = 37.65 km
Tbase 250.414 K
column dry_air vmr
column o3 vmr 7.082e-06
column h2o vmr 5.5e-06

layer
Pbase 5.000 mbar  # z = 36.05 km
Tbase 245.867 K
column dry_air vmr
column o3 vmr 7.938e-06
column h2o vmr 5.3e-06

layer
Pbase 6.000 mbar  # z = 34.76 km
Tbase 244.543 K
column dry_air vmr
column o3 vmr 8.523e-06
column h2o vmr 5.3e-06

layer
Pbase 7.000 mbar  # z = 33.64 km
Tbase 243.772 K
column dry_air vmr
column o3 vmr 8.838e-06
column h2o vmr 5.2e-06

layer
Pbase 8.000 mbar  # z = 32.74 km
Tbase 238.851 K
column dry_air vmr
column o3 vmr 8.994e-06
column h2o vmr 5.1e-06

layer
Pbase 9.000 mbar  # z = 31.90 km
Tbase 234.698 K
column dry_air vmr
column o3 vmr 8.990e-06
column h2o vmr 5.1e-06

layer
Pbase 10.000 mbar  # z = 31.21 km
Tbase 233.032 K
column dry_air vmr
column o3 vmr 8.987e-06
column h2o vmr 5.0e-06

layer
Pbase 11.000 mbar  # z = 30.52 km
Tbase 231.366 K
column dry_air vmr
column o3 vmr 8.866e-06
column h2o vmr 5.0e-06

# layer
# Pbase 12.000 mbar  # z = 29.96 km
# Tbase 230.246 K
# column dry_air vmr
# column o3 vmr 8.628e-06
# column h2o vmr 4.9e-06
# 
# layer
# Pbase 13.000 mbar  # z = 29.43 km
# Tbase 229.308 K
# column dry_air vmr
# column o3 vmr 8.390e-06
# column h2o vmr 4.9e-06
# 
# layer
# Pbase 14.000 mbar  # z = 28.91 km
# Tbase 228.369 K
# column dry_air vmr
# column o3 vmr 8.153e-06
# column h2o vmr 4.9e-06
# 
# layer
# Pbase 15.000 mbar  # z = 28.45 km
# Tbase 227.583 K
# column dry_air vmr
# column o3 vmr 7.915e-06
# column h2o vmr 4.8e-06
# 
# layer
# Pbase 16.000 mbar  # z = 28.05 km
# Tbase 226.922 K
# column dry_air vmr
# column o3 vmr 7.677e-06
# column h2o vmr 4.8e-06
# 
# layer
# Pbase 17.000 mbar  # z = 27.64 km
# Tbase 226.260 K
# column dry_air vmr
# column o3 vmr 7.439e-06
# column h2o vmr 4.8e-06
# 
# layer
# Pbase 18.000 mbar  # z = 27.24 km
# Tbase 225.598 K
# column dry_air vmr
# column o3 vmr 7.201e-06
# column h2o vmr 4.8e-06
# 
# layer
# Pbase 19.000 mbar  # z = 26.87 km
# Tbase 225.006 K
# column dry_air vmr
# column o3 vmr 6.963e-06
# column h2o vmr 4.7e-06
# 
# layer
# Pbase 20.000 mbar  # z = 26.56 km
# Tbase 224.497 K
# column dry_air vmr
# column o3 vmr 6.726e-06
# column h2o vmr 4.7e-06
# 
# layer
# Pbase 21.000 mbar  # z = 26.25 km
# Tbase 223.988 K
# column dry_air vmr
# column o3 vmr 6.484e-06
# column h2o vmr 4.7e-06
# 
# layer
# Pbase 22.000 mbar  # z = 25.94 km
# Tbase 223.479 K
# column dry_air vmr
# column o3 vmr 6.238e-06
# column h2o vmr 4.7e-06
# 
# layer
# Pbase 23.000 mbar  # z = 25.63 km
# Tbase 222.970 K
# column dry_air vmr
# column o3 vmr 5.992e-06
# column h2o vmr 4.6e-06
# 
# layer
# Pbase 24.000 mbar  # z = 25.33 km
# Tbase 222.468 K
# column dry_air vmr
# column o3 vmr 5.746e-06
# column h2o vmr 4.6e-06
# 
# layer
# Pbase 25.000 mbar  # z = 25.09 km
# Tbase 221.996 K
# column dry_air vmr
# column o3 vmr 5.501e-06
# column h2o vmr 4.6e-06
#