c_sethead - Retrieve the AVHRR model information from an ASCII buffer

SYNTAX

#include "adaps.h"

FUNCTION c_sethead (buffer, model, version)

    char buffer[][HDR_SIZ+1];
    struct MODEL *model;
    long version;	

PARAMETERS

buffer (char [][HDR_SIZ+1], input)

ASCII buffer containing the AVHRR model information.

model (struct MODEL *, output)

AVHRR model structure to be filled with the model information.

version (long, input)

Version number of the header that is being read (1, 2). Line number six of the AHDR file contains the version information. A string of "SFL_ARCH_HEAD_START" indicates version one, while "SFL_ARCH_HEAD_START_V2" indicates version two.

DESCRIPTION

Extract the AVHRR model information from the ASCII buffer and save it in the AVHRR model structure.

RETURN VALUE

c_sethead() has no return value.