c_forward - Use the AVHRR model to convert a line/sample to a latitude/longitude

SYNTAX

FUNCTION c_forward (line, sample, tarelev, model, tarlatd, tarlong, view_angles)

    double *line;
    double *sample;
    double *tarelev;
    struct MODEL *model;
    double *tarlatd;
    double *tarlong;
    double view_angles[];

PARAMETERS

line (double *, input)

The number of the line within the pass.

sample (double *, input)

The number of the sample within the pass.

tarelev (double *, input)

The elevation of the point defined by line and sample (kilometers). If the elevation is unknown, an elevation of zero (0) should be specified.

model (struct MODEL *, input)

Structure with model and orbital information.

tarlatd (double *, output)

Computed latitude value.

tarlong (double *, output)

Computed longitude value.

view_angles (double[], input / output)

The satellite zenith angle is returned in view_angles[0]. The solar zenith angle is returned in view_angles[1]. The relative azimuth angle is returned in view_angles[2]. View angles will not be calculated when the input value of view_angles is NULL. All view angles are returned in radians.

DESCRIPTION

Using the AVHRR model, convert a line/sample to a latitude/longitude. c_forward() should only be called if line and sample are relative to the North-up scene; otherwise c_ls2ll() should be used.

RETURN VALUE

c_forward() has no return value.