#include "adaps.h"
FUNCTION c_putaddr (host_img, model)
char *host_img; struct MODEL *model;
Host file name of the image for which this function is to create an ADDR file.
The AVHRR model structure containing the header information for the specified AVHRR image.
The host file name for the ADDR file is created by adding or replacing the extension of the specified file with "addr". This file is opened, the appropriate functions are called to write the AVHRR model information to the file, and the file is closed.
c_putaddr() returns
E_SUCC (0) --> Successful completion. E_FAIL (-1) --> Operation failed.