Generate Composite Temperature Profiles

A special feature is available in the Display Temperature Profiles (Full Troposphere) menu. Usually the menu is used to display *.TPC files which were created in zenith observation mode. The zenith observation mode leads to a much coarser vertical profile resolution in the boundary layer compared to the BL (Boundary Layer) mode but works best for altitudes >2000 m.  Thus it is desirable to combine the observations of both modes into a single data file. When a MyFile.TPC file is loaded to the Display Temperature Profiles (Full Troposphere) menu and a MyFile.TPB file is located in the same directory as the MyFile.TPC, a MyFile.COM.TPC file is generated when clicking the Generate Composite Temperature Profile Chart button. This file contains a composite temperature profile combined from the two MyFile.TPC and MyFile.TPB files. The temperature values below 1200 m altitude are identical in MyFile.COM.TPC and MyFile.TPB and the same is true for the temperature values above 2000 m which are identical in MyFile.COM.TPC and MyFile.TPC. In the altitude range 1200 m to 2000 m the MyFile.COM.TPC file temperature values are generated from a cubic spline fit to match both profiles in MyFile.TPC and MyFile.TPB smoothly. The cubic spline interpolation ensures that the first and second derivative of the fit match precisely the two profiles from which it has been generated. 
The file structure of the composite profile chart is identical to the general *.TPC files which is indicated by the same file extension. Consequently the composite file can also be displayed in the Display Temperature Profiles (Full Troposphere) menu or converted to ASCII file format with the same tool as all other *.TPC files.