PLOTMIETAB

Plotmietab calculates phase functions as a function of scattering angle from a Mie table produced by cloudprp. The cloudprp Mie table stores the phase function as a Legendre series, so plotmietab sums the Legendre series for number of discrete scattering angles. Several phase function for different effective radius may be selected for conversion by plotmietab. A graphing program may plot the output of plotmietab. This is useful for understanding the role the phase function plays in radiative transfer, checking that the Legendre series are not truncated too much, etc.

Input Parameters

Parameter Description
MIEFILE Mie scattering table file name (produced by cloudprp)
NANGLE Number of output angles (e.g. 181 for output at every degree) NANGLE<0 allows the user the input ABS(NANGLE) angles
NOUTREFF Number of output effective radii
OUTREFF() The effective radii (micron) list
PLOTFILE Plotting output file name

Plotting file format

The output file from plotmietab contains an eight line header and then the phase functions in separate columns. The header (each line prefaced with !) has information about the Mie table. The phase function output format is
! Angle  cos(angle)  Phase functions for effective radii (um)
!                      10.00       20.00
    0.00  1.000000  0.8701E+03  0.3384E+04
     . . .