#include "adaps.h"
#include "archio.h"
FUNCTION c_hdrread (buffer, model, drop)
char buffer[][HDR_SIZ+1]; struct MODEL *model; struct DROPPED *drop;
Buffer containing the entire AVHRR archive header.
AVHRR model structure that will be filled with the header information.
AVHRR dropped line structure that will be filled with the information about any dropped lines within the image.
This function ensures the buffer contains a valid CEOS_IEF header file and then calls the appropriate functions to fill the model and dropped line structures. See c_getahdr() or c_tpgetahdr() for reading AVHRR archive header files.
c_hdrread() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed.