OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
gctp_utility.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include "oli_local.h"
#include "oli_cproj.h"
Include dependency graph for gctp_utility.c:

Go to the source code of this file.

Functions

void gctp_print_transformation_info (const GCTP_TRANSFORMATION *trans)
 
const GCTP_PROJECTION * gctp_get_input_proj (const GCTP_TRANSFORMATION *trans)
 
const GCTP_PROJECTION * gctp_get_output_proj (const GCTP_TRANSFORMATION *trans)
 
int gctp_calc_utm_zone (double lon)
 
int gctp_get_sign (double x)
 
double gctp_calc_e0 (double x)
 
double gctp_calc_e1 (double x)
 
double gctp_calc_e2 (double x)
 
double gctp_calc_e3 (double x)
 
double gctp_calc_e4 (double x)
 
double gctp_calc_dist_from_equator (double e0, double e1, double e2, double e3, double phi)
 
int gctp_calc_phi2 (double eccent, double ts, double *phi2)
 
double gctp_calc_small_radius (double eccent, double sinphi, double cosphi)
 
double gctp_calc_small_t (double eccent, double phi, double sinphi)
 

Function Documentation

◆ gctp_calc_dist_from_equator()

double gctp_calc_dist_from_equator ( double  e0,
double  e1,
double  e2,
double  e3,
double  phi 
)

Definition at line 187 of file gctp_utility.c.

◆ gctp_calc_e0()

double gctp_calc_e0 ( double  x)

Definition at line 125 of file gctp_utility.c.

◆ gctp_calc_e1()

double gctp_calc_e1 ( double  x)

Definition at line 132 of file gctp_utility.c.

◆ gctp_calc_e2()

double gctp_calc_e2 ( double  x)

Definition at line 139 of file gctp_utility.c.

◆ gctp_calc_e3()

double gctp_calc_e3 ( double  x)

Definition at line 146 of file gctp_utility.c.

◆ gctp_calc_e4()

double gctp_calc_e4 ( double  x)

Definition at line 165 of file gctp_utility.c.

◆ gctp_calc_phi2()

int gctp_calc_phi2 ( double  eccent,
double  ts,
double *  phi2 
)

Definition at line 209 of file gctp_utility.c.

◆ gctp_calc_small_radius()

double gctp_calc_small_radius ( double  eccent,
double  sinphi,
double  cosphi 
)

Definition at line 253 of file gctp_utility.c.

◆ gctp_calc_small_t()

double gctp_calc_small_t ( double  eccent,
double  phi,
double  sinphi 
)

Definition at line 277 of file gctp_utility.c.

◆ gctp_calc_utm_zone()

int gctp_calc_utm_zone ( double  lon)

Definition at line 85 of file gctp_utility.c.

◆ gctp_get_input_proj()

const GCTP_PROJECTION* gctp_get_input_proj ( const GCTP_TRANSFORMATION *  trans)

Definition at line 51 of file gctp_utility.c.

◆ gctp_get_output_proj()

const GCTP_PROJECTION* gctp_get_output_proj ( const GCTP_TRANSFORMATION *  trans)

Definition at line 68 of file gctp_utility.c.

◆ gctp_get_sign()

int gctp_get_sign ( double  x)

Definition at line 103 of file gctp_utility.c.

◆ gctp_print_transformation_info()

void gctp_print_transformation_info ( const GCTP_TRANSFORMATION *  trans)

Definition at line 25 of file gctp_utility.c.