OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
jplaeriallib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BIP   0
 
#define BIL   1
 
#define BSQ   2
 
#define DEG_TO_RAD   .0174532925199432958
 
#define BAD_FLT   -32767.0
 

Functions

double getValidAngle (double *ang, int32_t npix, int32_t skip)
 
int readBinScanLine_int2 (float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int interleave, int swap, FILE *ptr)
 
int readBinScanLine_float (float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr)
 
char * getinbasename (char *file)
 
char * getinbasename_av (char *file)
 
char * checkTagLine (char *line, char *tag)
 
char * checknspTagLine (char *line, char *tag)
 
void readNextLine_jpl (FILE *fp, char *tag, char *val)
 
void readWavInfo_jpl (FILE *fp, char *tag, char *val)
 
int swapc_bytes (char *in, int nbyte, int ntime)
 
void trimBlanks (char *str)
 
void getPosVec (float lat, float lon, float alt, double *pos)
 

Macro Definition Documentation

◆ BAD_FLT

#define BAD_FLT   -32767.0

Definition at line 18 of file jplaeriallib.h.

◆ BIL

#define BIL   1

Definition at line 13 of file jplaeriallib.h.

◆ BIP

#define BIP   0

Definition at line 12 of file jplaeriallib.h.

◆ BSQ

#define BSQ   2

Definition at line 14 of file jplaeriallib.h.

◆ DEG_TO_RAD

#define DEG_TO_RAD   .0174532925199432958

Definition at line 16 of file jplaeriallib.h.

Function Documentation

◆ checknspTagLine()

char* checknspTagLine ( char *  line,
char *  tag 
)

Definition at line 534 of file jplaeriallib.c.

◆ checkTagLine()

char* checkTagLine ( char *  line,
char *  tag 
)

Definition at line 433 of file jplaeriallib.c.

◆ getinbasename()

char* getinbasename ( char *  file)

Definition at line 41 of file jplaeriallib.c.

◆ getinbasename_av()

char* getinbasename_av ( char *  file)

Definition at line 17 of file jplaeriallib.c.

◆ getPosVec()

void getPosVec ( float  lat,
float  lon,
float  alt,
double *  pos 
)

Definition at line 561 of file jplaeriallib.c.

◆ getValidAngle()

double getValidAngle ( double *  ang,
int32_t  npix,
int32_t  skip 
)

Definition at line 423 of file jplaeriallib.c.

◆ readBinScanLine_float()

int readBinScanLine_float ( float *  Lt,
int32_t  recnum,
int32_t  npix,
double *  gain,
int  nbands,
int  numBands,
int  interleave,
int  swap,
FILE *  ptr 
)

Definition at line 371 of file jplaeriallib.c.

◆ readBinScanLine_int2()

int readBinScanLine_int2 ( float *  Lt,
int32_t  recnum,
int32_t  npix,
double *  gain,
int  nbands,
int  interleave,
int  swap,
FILE *  ptr 
)

Definition at line 307 of file jplaeriallib.c.

◆ readNextLine_jpl()

void readNextLine_jpl ( FILE *  fp,
char *  tag,
char *  val 
)

Definition at line 90 of file jplaeriallib.c.

◆ readWavInfo_jpl()

void readWavInfo_jpl ( FILE *  fp,
char *  tag,
char *  val 
)

Definition at line 65 of file jplaeriallib.c.

◆ swapc_bytes()

int swapc_bytes ( char *  in,
int  nbyte,
int  ntime 
)

Definition at line 4 of file swapc_bytes.c.

◆ trimBlanks()

void trimBlanks ( char *  str)

trim white space off of beginning and end of string.

Parameters
strstring to modify

Definition at line 10 of file trimBlanks.c.