This directory contains the files necessary to run the DISORT discrete-ordinates radiative transfer package from within Splus. It has been tested using Splus 3.3 on Sun platforms running SunOS 5.5 and SGI platforms running Irix 6.0 and 6.1. The directory does not contain the DISORT package itself. That package (including documentation and references) may be found at ftp://climate.gsfc.nasa.gov/pub/wiscombe/Discr_Ord/. You need only the files DISORT.f, R1MACH.f, D1MACH.f, and LINPAK.f. Rename DISORT.f to disort.f. If you obtain version 1.1 of the software you can apply the supplied patch to disort.f; otherwise you must go through and remove the calls to SLFTST and all references to Fortran WRITE statements. You may also want to change the values of the problem-size parameters (the MXxxx variables) in disort.f to modify storage requirements. The Edit the files R1MACH.f and D1MACH.f as described in the DISORT documentation. The documentation provided with DISORT is quite extensive, and should explain any questions you have. To install this package see section 11.6 or 11.7 of the Splus Programmer's Manual. Don't forget to edit the Makefile to choose the appropriate WHICH_LOAD target for your operating system. Irix 6.x users should remember to set the SGI_ABI environment variable to -32 before building the package for SPlus 3.3. You will need to provide a .First.lib function (in file First.lib.q) to load the object code. I've provided examples for SunOS using dyn.load and Irix using dyn.load.shared. I welcome comments and bug reports, but I can't promise to support this interface. --- Robert Pincus Climate and Radiation Branch, Code 913 NASA Goddard Space Flight Center Greenbelt MD 20771 Robert.Pincus@gsfc.nasa.gov