OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
proj_cproj.c File Reference
#include "proj_cproj.h"
#include <stdint.h>
Include dependency graph for proj_cproj.c:

Go to the source code of this file.

Macros

#define MAX_VAL   4
 
#define MAXLONG   2147483647.
 
#define DBLLONG   4.61168601e18
 

Functions

void sincos (double val, double *sin_val, double *cos_val)
 
void p_error (char *what, char *where)
 
double asinz (double con)
 
double msfnz (double eccent, double sinphi, double cosphi)
 
double qsfnz (double eccent, double sinphi, double cosphi)
 
double phi1z (double eccent, double qs, int32_t *flag)
 
double phi2z (double eccent, double ts, int32_t *flag)
 
double phi3z (double ml, double e0, double e1, double e2, double e3, int32_t *flag)
 
double phi4z (double eccent, double e0, double e1, double e2, double e3, double a, double b, double *c, double *phi)
 
double pakcz (double pak)
 
double pakr2dm (double pak)
 
double tsfnz (double eccent, double phi, double sinphi)
 
int sign (double x)
 
double adjust_lon (double x)
 
double e0fn (double x)
 
double e1fn (double x)
 
double e2fn (double x)
 
double e3fn (double x)
 
double e4fn (double x)
 
double mlfn (double e0, double e1, double e2, double e3, double phi)
 
int calc_utm_zone (double lon)
 

Macro Definition Documentation

◆ DBLLONG

#define DBLLONG   4.61168601e18

Definition at line 43 of file proj_cproj.c.

◆ MAX_VAL

#define MAX_VAL   4

Definition at line 41 of file proj_cproj.c.

◆ MAXLONG

#define MAXLONG   2147483647.

Definition at line 42 of file proj_cproj.c.

Function Documentation

◆ adjust_lon()

double adjust_lon ( double  x)

Definition at line 349 of file proj_cproj.c.

◆ asinz()

double asinz ( double  con)

Definition at line 67 of file proj_cproj.c.

◆ calc_utm_zone()

int calc_utm_zone ( double  lon)

Definition at line 436 of file proj_cproj.c.

◆ e0fn()

double e0fn ( double  x)

Definition at line 392 of file proj_cproj.c.

◆ e1fn()

double e1fn ( double  x)

Definition at line 397 of file proj_cproj.c.

◆ e2fn()

double e2fn ( double  x)

Definition at line 402 of file proj_cproj.c.

◆ e3fn()

double e3fn ( double  x)

Definition at line 407 of file proj_cproj.c.

◆ e4fn()

double e4fn ( double  x)

Definition at line 416 of file proj_cproj.c.

◆ mlfn()

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

Definition at line 429 of file proj_cproj.c.

◆ msfnz()

double msfnz ( double  eccent,
double  sinphi,
double  cosphi 
)

Definition at line 83 of file proj_cproj.c.

◆ p_error()

void p_error ( char *  what,
char *  where 
)

Definition at line 277 of file proj_report.c.

◆ pakcz()

double pakcz ( double  pak)

Definition at line 271 of file proj_cproj.c.

◆ pakr2dm()

double pakr2dm ( double  pak)

Definition at line 296 of file proj_cproj.c.

◆ phi1z()

double phi1z ( double  eccent,
double  qs,
int32_t *  flag 
)

Definition at line 115 of file proj_cproj.c.

◆ phi2z()

double phi2z ( double  eccent,
double  ts,
int32_t *  flag 
)

Definition at line 152 of file proj_cproj.c.

◆ phi3z()

double phi3z ( double  ml,
double  e0,
double  e1,
double  e2,
double  e3,
int32_t *  flag 
)

Definition at line 186 of file proj_cproj.c.

◆ phi4z()

double phi4z ( double  eccent,
double  e0,
double  e1,
double  e2,
double  e3,
double  a,
double  b,
double *  c,
double *  phi 
)

Definition at line 218 of file proj_cproj.c.

◆ qsfnz()

double qsfnz ( double  eccent,
double  sinphi,
double  cosphi 
)

Definition at line 97 of file proj_cproj.c.

◆ sign()

int sign ( double  x)

Definition at line 340 of file proj_cproj.c.

◆ sincos()

void sincos ( double  val,
double *  sin_val,
double *  cos_val 
)

Definition at line 52 of file proj_cproj.c.

◆ tsfnz()

double tsfnz ( double  eccent,
double  phi,
double  sinphi 
)

Definition at line 324 of file proj_cproj.c.