12.07.2015 Views

VLIDORT User's Guide

VLIDORT User's Guide

VLIDORT User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

end program main_<strong>VLIDORT</strong>4.3.2. Configuration file discussionIn the previous section, we noted that a call to subroutine <strong>VLIDORT</strong>_INPUT_MASTER enablesvariables to be assigned from a configuration file of inputs. This process assigns values to most(but not all) of the variables in the input Type Structures. The file-read is done using theFINDPAR tool in the source-code module vlidort_aux ; FINDPAR looks for a characterstring made up of a prefix (in this case the word “<strong>VLIDORT</strong>”) and a text description of thevariable(s) to be assigned and then reads the variable(s) specified underneath the character string.All strings ending with a question mark indicate the assignment of Boolean variables. If thecharacter string is not present, or if the file-read itself is corrupted by bad input, then an errormessage is generated and a status flag set.Tables J, K, L, and M in Appendix 6.1 contain the lists of dedicated character strings and theassociated input variables. These character string tables and their associated <strong>VLIDORT</strong> inputtype structures are listed in Table 4.4 to give the reader an initial overview.Examples of configuration files are found in the test directories. In the string tables, we presentvariables from the input tables (i.e. the A, B, E, and F Tables in Table 4.2 above) that areassigned using this file-read procedure, along with their associated character strings. It should benoted that some input variables are not file-reads (array inputs mostly). These include some ofthe variables in Input Tables A6, A7, B6, E2, and F2. Some variables in the control inputs arenormally assigned by the user, depending on the application. It is also possible to overwrite filereadassignments, in particular for applications where the number of layers (variable"NLAYERS" in <strong>VLIDORT</strong>) will be pre-set by a call to generate atmospheric optical properties.Table 4.4 Summary of <strong>VLIDORT</strong> input configuration file tables of input strings<strong>VLIDORT</strong> I/O Type Structure String Table #<strong>VLIDORT</strong>_Fixed_BooleanJ1<strong>VLIDORT</strong>_Fixed_ControlJ2<strong>VLIDORT</strong>_Fixed_SunraysJ3<strong>VLIDORT</strong>_Fixed_UserValuesJ4<strong>VLIDORT</strong>_Fixed_ChapmanJ5<strong>VLIDORT</strong>_Fixed_OpticalJ6<strong>VLIDORT</strong>_Fixed_WriteJ7<strong>VLIDORT</strong>_Modified_BooleanK1<strong>VLIDORT</strong>_Modified_ControlK2<strong>VLIDORT</strong>_Modified_SunraysK3<strong>VLIDORT</strong>_Modified_UserValues K4<strong>VLIDORT</strong>_Modified_ChapmanK5<strong>VLIDORT</strong>_Fixed_LinControlL1<strong>VLIDORT</strong>_Modified_LinControl M14.3.3. Makefile discussionAs an example, we now describe the Makefile in the “vlidort_s_test” directory (other Makefilesare similar). The software was compiled and tested at RT Solutions using the Intel® and GNUFORTRAN compilers. The software has also been tested successfully using the Portland Group®63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!