KGS Home List of Computer Contributions

Kansas Geological Survey, Computer Contributions 29, originally published in 1968


FORTRAN IV Program for Harmonic Trend Analysis using Double Fourier Series and Regularly Gridded Data for the GE 625 Computer

by J.W. Harbaugh1 and M.J. Sackin2

1Stanford University and 2Kansas Geological Survey

small image of the cover of the book; white paper with red text.

Originally published in 1968 as Kansas Geological Survey Computer Contributions 29.

Introduction

This publication describes a computer program designed for analysis of surfaces using double Fourier series. Analysis of surfaces in geology is known commonly as trend analysis; in statistics and economics, the technique is regarded as a form of regression analysis. In trend or regression analysis, a mathematical function is fitted to data points so that the function satisfies the least-squares criterion, which is a criterion of "best" fit.

The program described in this publication is a translation of a program written by Harbaugh in 1964 and described in the report by Preston and Harbaugh (1965). The earlier version of the program was written in BALGOL, which is a "dialect" of ALGOL-58. Though BALGOL is an exceptionally powerful and versatile language, compilers suitable for its use are now infrequently used, whereas FORTRAN IV continues to be widely used. Consequently, the program has been translated into FORTRAN IV so that its use may be extended. The program listed in this report has been tested with the GE 625 computer at The University of Kansas. It should be usable with other computers, including those of the IBM 360 series, with minor modifications.

The remainder of this report consists of a description of the computer program, including a listing of the program statements and an example of output obtained with the program, employing specific input data.

The complete text of this report is available as an Adobe Acrobat PDF file.

Read the PDF version (3.3 MB)


Kansas Geological Survey
Placed on web Aug. 23, 2019; originally published 1968.
Comments to webadmin@kgs.ku.edu
The URL for this page is http://www.kgs.ku.edu/Publications/Bulletins/CC/29/index.html