#include "adaps.h"
#include "archio.h"
FUNCTION c_putahdr (arch_name, model, drop)
char *arch_name; struct MODEL *model; struct DROPPED *drop;
Host file name of the AVHRR archive image for which this function is to create a header file. The extension will be replaced with "ahdr".
The AVHRR model structure containing the header information for the specified archive image.
The AVHRR dropped line structure for the specified archive image.
The host file name for the header file is created by replacing the extension of the specified file with "ahdr". This file is opened and the appropriate functions are called to write the AVHRR model and dropped line structures to the file.
c_putahdr() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed.