-29- 



Other 



Subroutine GUTS 



GUTS is called by INVENT to read the input data and calculate the basal 

 area per acre, trees per acre, and all of the volumes along with their stan- 

 dard errors. GUTS also calculates the number of units sampled and the percent 

 cruise. Either subroutine VOLMER or VOLTOT is called by GUTS repeatedly to 

 calculate tree volume. 



GUTS reads the input file specified by the variable IFILE and located on 

 unit 21 (disk on DEC-10) . It checks the range of input data in the same way 

 LINREG does except that the minimum allowed DBH is set at the value of CLASIZ 

 Instead of 1. 



GUTS checks the value of POINT on the first plot to see if POINT = -9. 

 Such a value indicates the data is presented in summary mode (not tallied by 

 individual plot) and therefore no statistical analysis of the sampling error 

 can be made. It also indicates that the value of TREES is the number of plots 

 sampled . 



GUTS reads all the data accumulating sums of basal areas, number of trees, 

 sawlog board foot volume, sawlog cubic foot volume, and pulpwood cubic foot 

 volume. After all the data is read, the accumulated sums are expanded into 

 per acre estimates based on the sampling technique used (point or plot) . The 

 variances and standard errors of these volumes are also calculated. Before 



