Bird Simple Spectral Model: spectrl2



RReDC Home > Solar Index > Solar Models > Simple Solar Spectral Model > spectrl2

THE CODE

The spectrl2 C code was revised 24 March 2004 after an incompatibility was discovered with solpos.c, which had recently revised. Necessary code was added within the function for callig the solpos function. In addition, all spectrl2 input and output variables were moved to a structure. The spectrl2 function is now called with the structure passed by reference.

The revised code is referred to as version 2, or spectrl2_2.

The spectrl2 C code for version 2 is available for download in three compressed formats. The compressed files each contain the following four files:


DOCUMENTATION


DOWNLOAD THE MODEL

Choose your preferred compression format:


Please Note:

To compile and run spectrl2 you will need the solar position calculator code solpos.c and header file solpos00.h. These can be downloaded from the the SOLPOS page at http://rredc.nrel.gov/solar/codesandalgorithms/solpos.


Last updated: 24 March 2004


Return to RReDC home page ( http://rredc.nrel.gov )