c_inverse - Inverse the AVHRR model to convert a latitude/longitude to a line/sample

SYNTAX

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

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

PARAMETERS

tarlatd (double *, input)

The latitude of the point within the scene.

tarlong (double *, input)

The longitude of the point within the scene.

tarelev (double *, input)

The elevation of the point within the scene (kilometers). If the elevation is unknown, an elevation of zero (0) should be specified.

model (struct MODEL *, input)

Structure containing the model and orbital information.

line (double *, output)

Computed line within the scene.

sample (double *, output)

Computed sample within the scene.

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 latitude/longitude to a line/sample. c_inverse() should only be called if line and sample are desired to be relative to a North-up scene; otherwise c_ll2ls() should be used.

RETURN VALUE

c_inverse() has no return value.