c_pgpoints - Generate a queue of points defining the area that an AVHRR archive image covers

SYNTAX

#include "products.h"

FUNCTION c_pgpoints (model, npixels, q)

    struct MODEL *model;
    long npixels;
    long *q;

PARAMETERS

model (struct MODEL *, input)

The AVHRR model structure for the image of interest.

npixels (long, input)

Number of pixels to skip between consecutive points surrounding the image. Larger values will reduce processing time and the sensitivity of the product generation routines, while smaller values will increase processing time and the sensitivity of these routines.

q (long *, output)

The queue of points defining the area covered by the image.

DESCRIPTION

Generate a queue of points defining the area that an AVHRR archive image covers. This queue can then be used to determine if any of the standing orders within the product generation table apply to the image. The queue will consist of the points that lie around the edge of the image separated by npixels pixels. Each point will consist of the line and sample and the latitude and longitude of a pixel. The queue will be created using the ADAPS queue support routines.

RETURN VALUE

c_pgpoints() returns

    E_SUCC --> Successful completion.
    E_FAIL --> Operation failed.