SORTIE-ND
Software for spatially-explicit simulation of forest dynamics

GLI Points File Creator behavior

This behavior calculates GLI values for individual points in the plot.

Parameters for this behavior

Parameter nameDescription
Azimuth of North, in radThe azimuth of north for the solar sky. The plot's north is always azimuth 0. If this is set to something other than 0, the sky is rotated relative to the plot. Values are between 0 and 2PI radians.
GLI Points Input FileThe file containing the points for which to calculate GLI. This file will overwrite any existing points. For best results, enter a fully-qualified pathname (i.e. "c:\sortie\my_file.txt").
GLI Points Output FileThe file to which results will be written each timestep. Any existing data in this file will be overwritten at the start of the run.
Minimum Solar Angle for GLI Points Creator, in radThis is the minimum angle at which sunlight is seen, in radians. Below this value the sky is assumed to be dark due to shading neighbors.
Number of Altitude Sky Divisions for GLI Points CreatorNumber of grid cells into which the sky is divided from horizon to zenith, for the purpose of calculating light direction.
Number of Azimuth Sky Divisions for GLI Points CreatorNumber of grid cells into which the sky is divided around the horizon, for the purpose of calculating light direction.

General light parameters used by this behavior

Parameter nameDescription
Beam Fraction of Global RadiationThe fraction of total solar radiation that is direct beam radiation (as opposed to diffuse). Expressed as a value between 0 and 1.
Clear Sky Transmission CoefficientUsed to determine the amount of solar radiation seen at the plot location.
First Day of Growing SeasonThe first day of the growing season, as a Julian day (number between 1 and 365). Trees only get light during the growing season.
Last Day of Growing SeasonThe last day of the growing season, as a Julian day (number between 1 and 365). Trees only get light during the growing season.
Amount Canopy Light Transmission (0-1)Fraction of light transmitted through the tree crown for each species. Expressed as a fraction between 0 and 1. A value must be provided for all species, even if they don't all use light.
Snag Age Class 1 Amount Canopy Light Transmission (0-1)Fraction of light transmitted through the snag tree crown for each species. Applies to those snags whose age is less than or equal to "Upper Age (Yrs) of Snag Light Transmission Class 1". Expressed as a fraction between 0 and 1. If your run does not work with snags, you can ignore this. Otherwise, a value must be provided for all species.
Snag Age Class 2 Amount Canopy Light Transmission (0-1)Fraction of light transmitted through the snag tree crown for each species. Applies to those snags whose age is greater than "Upper Age (Yrs) of Snag Light Transmission Class 1", but is less than or equal to "Upper Age (Yrs) of Snag Light Transmission Class 2". Expressed as a fraction between 0 and 1. If your run does not work with snags, you can ignore this. Otherwise, a value must be provided for all species.
Snag Age Class 3 Amount Canopy Light Transmission (0-1)Fraction of light transmitted through the snag tree crown for each species. Applies to those snags whose age is greater than "Upper Age (Yrs) of Snag Light Transmission Class 2". Expressed as a fraction between 0 and 1. If your run does not work with snags, you can ignore this. Otherwise, a value must be provided for all species.
Upper Age (Yrs) of Snag Light Transmission Class 1The upper age limit, in years, defining the first age class of snag light transmission. Snags with an age less than or equal to this age have a light transmission coefficient matching "Snag Age Class 1 Light Transmission Coefficient". If your run does not work with snags, you can ignore this.
Upper Age (Yrs) of Snag Light Transmission Class 2The upper age limit, in years, defining the second age class of snag light transmission. Snags with an age greater than the upper limit for size class 1, but less than or equal to this age, have a light transmission coefficient matching "Snag Age Class 2 Light Transmission Coefficient". Snags with an age greater than this value are in age class three. If your run does not work with snags, you can ignore this.

How it works

You provide, as input, a file that contains the list of points for which you would like GLI values. The file is tab-delimited text, and has the following format:

XYHeight (m)
12.436.51.2
128.719.50.68

The first row is assumed to be a header row and is ignored. Each subsequent row is a single point for which to calculate GLI. You can include as many as you wish. The first column is the point's X coordinate; the second is the Y coordinate; and the third column is the height above the ground, in meters. Name the file whatever you wish. Put the file name for the points file in the GLI Points Input File parameter. It is best to use a fully-qualified path name (i.e. "c:\sortie\my_points.txt"). SORTIE-ND will load the points into the parameter file. If you are working with a parameter file that already contains GLI points because they were saved into it previously, you do not need to enter another file and can leave the GLI Points Input File parameter blank.

Each timestep, this behavior calculates GLI at each of the points specified. It then writes the results to another tab-delimited text file. You enter the filename of this file in the GLI Points Output File parameter. It should be fully-qualified (i.e. "c:\sortie\points_output.txt") and should have a ".txt" extension. If the file already exists when the SORTIE-ND run begins, the contents will be overwritten. This means that this behavior cannot successfully be used in batch runs where a parameter file will be run multiple times.

How to apply it

This behavior does not need to be applied to trees. It can stand alone as the only light behavior if you wish.