Timber Cruise Analysis copyright March 1999 version 2.0 by Duane Bristow Albany, Kentucky 42602 (606) 387-5884 duane@webcom.com http://www.webcom.com/duane/ Name of program file is TMBR20.EXE Installation: Create a program directory named TMBR20 or something similiar. In that directory be sure you have the following files: TMBR20.EXE - the main program PATHS - information needed for the program to run TMBR20.TXT - These program instructions you will also need a configuration file such as TMBRCFG.TXT and a timber cruise data file such as TMBRDAT.TXT Then just run TMBR20.EXE Expiration: The TMBR20.EXE program is use protected which means that it is set to expire after a certain number of uses, usually 200 to 500. If your program expires just contact the author for a free updated program and PATHS file. This feature is meant to protect the program from use by other than the legal owner and to be sure that all users have the latest version of the program. Comments: We appreciate any comments, questions, or suggestions about this program from its users. Program reads Command line and a file in the current directory named PATHS. It then reads a configuration file named TMBRCFG.TXT or other name found on the command line if available. It looks for an input file name after "/I" on command line or in cfg file. If it does not find an input file name it looks for the default input file, TMBRDAT.TXT. The program also looks for the name of error output files or devices on the command line or in the configuration file after "/E". The default error file is TMBRERR.TXT The program also looks for the name of report output files or devices on the command line or in the configuration file after "/R". The default report file is TMBRRPT.TXT. Change this to LPT1: for reports output to printer. The program also looks for the name of statistics report output files or devices on the command line or in the configuration file after "/S". The default statistics report file is TMBRSTAT.TXT Change this to LPT1: for reports output to printer. The program reads the configuration file and the input file for four types of information: 1. Program parameters on a line starting with "#". These tell the program how to operate and are listed below. 2. Remarks on a line starting with "!". These lines are output to the standard error output file or device. The default is TMBRERR.TXT. 3. Remarks on a line starting with ";" or "'". These lines are ignored. 4. Timber cruise data on a program line starting with a number. The number is a tree dbh between 1 and 99 inclusive. Timber cruise data lines are expected to contain: 1 text line for each tree measured only dbh is required if not available all other values will default to 1 or XX Data line positions values dbh 1-5 4 to 99 to 1/10 inch if necessary Use dbh<3 to indicate a plot with no trees Species 7-8 2 character species abbr. ex. WO - white oak Plot # 10-12 1 to 999 Ht. 16-20 in feet or logs <=8 is assumed to be 16' logs Grade 21-21 1-3 Status 23-23 usually [L]eave, [H]arvest, [C]ull Strata 25-27 code for timber stand type can be anything FC 29-30 form class - 60-99 CC 31-31 Crown Class - D, C, I, S VC 33-33 Vigor Class - 1 (vigorous), 2 (under stress), 3 (dying), 4 (dead) Other 35-75 remarks Program parameters on a line starting with # #EF=xxxx.xxx ' expansion factor as 5 for 1/5 acre - tree multiplier ' use 1 for 100% cruise. Default is 1 #BAF=xx ' BAF factor for prism sampling as in #BAF=10 ' do not use this if you have used #EF #ACRES=xxxx ' number of acres in tract ' use 1 for 100% cruise. Default is 1 ' For reports to list volumes and values per acre ' leave this out or make it 1. #DESC-text ' the text entered after the - can be any length up to 70 #DESC-text ' characters for the description of the cruise. Multiple #DESC-text ' lines here will be put on succeeding lines on the reports #DESC-text ' up to 10 lines. Default is name of input file. #FC-YP-80 ' sets form class for a species. All form classes default to #FC-BE-82 ' 78 unless set on individual tree or this way. #SG1=HI|BE|SM|RM| ' species group 1 - can have up to 9 species groups. ' all species not assigned to a group will default to Other. #LC=100 ' logging cost per mbf - default is $100 #RISK=## ' Percent risk allowed for error of cruise. This reduces ' stand value by this amount. Default is zero. #SCALE=D ' Tree scale - [D]oyle, [S]cribner, [I]international 1/4" ' [C]ubic feet - default is International #DMIN=xx ' Minimum dbh for report - default is 10 inches #DMAX=xx ' Maximum dbh for report - default is 99 inches #GRADE=01234 ' include only those grades to be considered in reports. ' default is all. #SPECIES=HI|BE|SM|RM| ' list all species to be included in report in this ' way. Default is all species. #EXSPEC=HI|BE|SM|RM| ' list all species to be excluded from report in this ' way. Default is no species. #STRATA=AAA|BBB|CCC| ' list all strata to be included in report in this ' way. Default is all strata. #EXSTRA=AAA|BBB|CCC| ' list all strata to be excluded from report in this ' way. Default is no strata. #VIGOR=1234 ' include only those vigor classes to be considered in reports. ' default is all. #CROWN=DCIS ' include only those crown classes to be considered in reports. ' default is all. #SG1V1=xxxx ' Dollar value of species group 1, grade 1 per mbf delivered. #SG2V1=xxxx ' Dollar value of species group 2, grade 1 per mbf delivered. #SG1V2=xxxx ' Dollar value of species group 1, grade 2 per mbf delivered. #SG0V2=xxxx ' Dollar value of other species 0, grade 2 per mbf delivered. ' list all values figures for species groups 0 to 9 and ' grades 1 to 3. ' default dollar value for all species groups and grades ' is $200 per mbf. #NOSPECIES ' Prevents report from containing a list of species codes. #NOSTRATA ' Prevents report from containing number of plots by strata. ' If there are no strata or only 1 plot number this will not ' be listed. #NOSTATS ' Prevents report from containing statistical information. #CONFIG ' Causes report to include configuration file parameters #BA=YES ' Instructs stand info on report output in Basal Area ' This is in addition to report in number of trees #PV=YES ' Causes report to include plot numbers by mbf volume #PT=YES ' Causes report to include plot numbers by trees per acre #PB=YES ' Causes report to include plot numbers by basal area per acre #PD=YES ' Causes report to include plot numbers by value per acre #PP=YES ' Causes report to include plot data by plot number #BL=YES ' Causes report to include base 16' logs only. #NODETAIL ' Prevents printing stand and table detail by dbh class. #SUMM2 ' Causes printing of timber summary in an alternative format. #PRNT1=27 15 ' Printer codes to be output at beginning of report ' use any number of decimal codes separated by spaces ' 27 15 or 15 alone will change most dot matrix printers to ' condensed print of 17 characters per inch. #PRNT2=18 ' Printer codes to be output at end of report ' use any number of decimal codes separated by spaces ' 18 will end condensed print on most dot matrix printers. #STATT=1.645 ' T value for % confidence. Default is 1.645 for 90% ' use 1.960 for 95%, 1.282 for 80% ' See the Student's T Table below. #STATAE=.10 ' Allowable error desired. .10 is default. Use 0 to prevent ' calculation of additional plots needed. #STATVALUE ' Does a statistical analysis in terms of value as well ' as the default analysis by volume. #STATTREES ' Does a statistical analysis in terms of stocking as well ' as the default analysis by volume. #AUDIT ' Causes calculated values to be output to error file or device ' as each individual tree is calculated. Students T Table Degrees of freedom is number of plots-1 % Confidence 60% 80% 90% 95% 99% Degrees of freedom T Value 5 .92 1.476 2.015 2.571 4.032 10 .879 1.372 1.812 2.228 3.169 15 .866 1.341 1.753 2.131 2.947 20 .860 1.325 1.725 2.086 2.845 25 .856 1.316 1.708 2.06 2.787 30 .854 1.31 1.697 2.042 2.75 40 .851 1.303 1.684 2.021 2.704 >40 .842 1.282 1.645 1.96 2.576