mie_dlm_single DLM


Purpose

mie_dlm_single is an IDL DLM which is functionally equivalent to mie_single.pro (with some minor differences!). The Mie algorithm itself is written in Fortran 77 and the DLM functionality is added by a C wrapper. The code has been compiled for use with Linux on x86 systems. The compilers used were the Intel Fortran Compiler v.10.0 and gcc v.4.1.3. It should be possible to compile the DLM for other operating systems and processors, but some alterations to the wrapper code may be required.

Note: A brief guide to creating IDL DLM's is now available here.

Calling the procedure

mie_dlm_single is an IDL DLM procedure and can be called with the following command line from the IDL prompt (as long as the both mie_dlm_single.dlm and mie_dlm_single.so are located somewhere with the path defined by the IDL_DLM_PATH environment variable):

mie_dlm_single, Dx, Cm, [Dqv=dqv], Dqxt, Dqsc, Dqbk, Dg, Xs1, Xs2

The input parameters in the above call are:

The output parameters are: If Dqv is not specified Xs1, Xs2, Dph are still calculated for a scattering angle of 0 degrees.

Limitations and dependences

The maximum size parameter allowed by mie_dlm_single.pro is 1200. Any value larger than this will result in the programme halting with the error message:
MIE_DLM_SINGLE: Size Parameter Overflow.

In order to use the routine you must have both the mie_dlm_single.dlm and mie_dlm_single.so in the path specified by your IDL_DLM_PATH environment variable.

Within AOPP the following applies:
The correct IDL_DLM_PATH is set with the command:
setenv IDL_DLM_PATH $IDL_DLM_PATH:/home/crun/eodg/idl/dlm/x86
If you are using a machine running 64-bit linux, then the path is slightly different:
setenv IDL_DLM_PATH $IDL_DLM_PATH:/home/crun/eodg/idl/dlm/x86-64

Download source code

The source code and dlm file for this routine can be downloaded in gzip form from here.