#include "las.h" #include "util.h"
int c_wndchk
( char *host, double inwind[], long vlwind[] )
Input DDR file name in host format. The number of lines and number of samples are used from the file.
Defines the input window that is to be checked. The four elements of the window are SL, SS, NL and NS.
Defines the output window with window values that are valid.
The c_wndchk() routine is used to check an input window. It retrieves the DDR information from the DDR file then calls c_check_window() to do the actual checking of the window.
c_wndchk() returns
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed
The routine c_check_window() does the same window validation as c_wndchk, except that it uses a DDR structure instead of an existing DDR file.