#include "adaps.h"
#include "archio.h"
FUNCTION c_hdrwrite (out_fd, model, drop)
int *out_fd; struct MODEL *model; struct DROPPED *drop;
File descriptor for the AVHRR archive header returned by c_hdropen().
AVHRR model structure containing the header information.
AVHRR dropped line structure.
This function creates a CEOS_IEF header file and calls the appropriate functions to store the AVHRR model and dropped line information to the file.
c_hdrwrite() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed.