src/grib_iterator_class_lambert_conformal.c
/* Compute the constant small t for use in the forward computations */
Compute the constant small t for use in the forward computations
Compute the constant small t for use in the forward computations
static double compute_t(
    double eccent, 
    double phi,    
    double sinphi) 
{
    double con = eccent * sinphi;
    double com = 0.5 * eccent;
    con        = pow(((1.0 - con) / (1.0 + con)), com);
    return (tan(0.5 * (M_PI_2 - phi)) / con);
}
static double compute_t ( double eccent , double phi , double sinphi ) { double con = eccent * sinphi ; double com = 0.5 * eccent ; con = pow ( ( ( 1.0 - con ) / ( 1.0 + con ) ) , com ) ; return ( tan ( 0.5 * ( M_PI_2 - phi ) ) / con ) ; }
Compute the constant small t for use in the forward computations
Compute the constant small t for use in the forward computations
/* Eccentricity of the spheroid */ /* Latitude phi */ /* Sine of the latitude */