#include "adaps.h"
#include "archio.h"
FUNCTION c_getahdr (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 retrieve the associated header file.
Pointer to an AVHRR model structure to be filled with the header information.
Pointer to an AVHRR dropped line structure to be filled with the information about any dropped lines in the image.
A host file name for the AHDR file is created by adding or replacing the extension of the specified file with "ahdr". This file is then opened and the model and dropped line structures are filled.
c_getahdr() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed.