(t.,,').,) 



-I \ 



\ 



\ 



\ 







/ 



/ 



/ 





\ 







/ 



%'V 



-►t 



Figure D-1. Hypothetical time series. 



After coii5)letion of SMOOTH, the times and elevations of major peaks 

 and valleys are stored in the first ITEMS elements of EXTIM. The value 

 of ITEMS has been reduced in accordance with the number of small peaks 

 and valleys eliminated. Since the smoothing algorithm cannot work prop- 

 erly at the end of a record, the last few points are usually accepted 

 regardless of whether or not they satisfy the acceptance criteria. Thus, 

 the last six elements in EXTIM may not represent major peaks or valleys 

 and should either be checked or categorically eliminated. 



A complete list of subroutine SMOOTH with comments is provided in 

 Figure D-2. A flow chart for the main processing loop (identified as 

 loop 1520 in the listing) is provided in Figure D-3. The symbols n^ 

 and t^ and the point numbers referred to in the flow chart are con- 



sistent with definitions in Figure D-1. 

 chart are equivalent to CHP and HMIN 



'CHP 



and H 



MIN 



in the flow 



in the listing. 



146 



