-
Notifications
You must be signed in to change notification settings - Fork 0
Two Way Transmission Calculations
In the thermal-infrared, contribution functions (identical to the Jacobians, or functional derivatives, for temperature) are calculated analytically at every step of a NEMESIS inversion, and output in the nemesis.cov or kk.out files. However, when we wish to calculate the two-way transmission in reflected sunlight, a more convoluted use of individual subroutines is required.
You’ll need to write your own .pat file and run CIRSdrv_wave. In the .pat file you’ll split up the atmosphere into N layers as usual and then list N reflatm calculations that calculate the two-way transmission (at your choice of incident and reflected angles) to the bottom of whichever layer (defined by layer) you want.
Defining a reflected atmospheric path requires editing the .pat file to include N blocks of the following (one for each layer in your model):
-
reflatm(this is the keyword) -
anglesfollowed by the incident and reflected angles and the number of the layer from which the reflection occurs (reflection happens at base of layer) -
(no)cgSets Curtis Godson flag as required -
(no)absorbSets absorption flag as required
Note also that the calculated transmission may depend on how you choose to divide up the atmosphere into layers - typically we'd use LAYTYP=1 to subdivide the layers in equal units of log(p).
For the reflecting atmosphere paths, CIRSdrv_wave will calculate the transmission at each level as a function of wavenumber/wavelength. The transmission=0.5 level can then be estimated. Alternatively, the natural logarithm of the transmission provides the optical depth, allowing you to plot the unity optical depth level.
CIRSdrv_wave will require the following inputs:
- An operational filename (i.e., the root of your
.patfile) -
ISPACEin wavelength or wavenumber. - Whether to use ktables of line-by-line.
- Which planet you're modelling (to estimate solar distance).
- An option to use fast post-calculation or slow regridding (choose the former, which uses the wavelengths in your ktable).
- Which scattering model to use:
scloudwave11is the one used in regularNEMESISruns. - A surface temperature (not applicable to giant planets).