OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
jplaeriallib.h File Reference
#include <stdio.h>
#include <stdint.h>
Include dependency graph for jplaeriallib.h:
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
 

Functions

char * getinbasename_av (char *file)
 
char * getinbasename (char *file)
 
void readWavInfo_jpl (FILE *fp, char *tag, char *val)
 
void readNextLine_jpl (FILE *fp, char *tag, char *val)
 
int readBinScanLine4ocia_int2 (float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr)
 
int readBinScanLine4Ocip_float (float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr)
 
int readBinScanLine_sub_int2 (float *Lt, int32_t recnum, int32_t npix, double *gain, int nbands, int numBands, int interleave, int swap, FILE *ptr)
 
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)
 
double getValidAngle (double *ang, int32_t npix, int32_t skip)
 
char * checkTagLine (char *linein, char *tag)
 
float checkTagLine_f (char *linein, char *tag)
 
int checkTagLine_i (char *linein, char *tag)
 
char * checkTagLine_m (char *linein, char *line, char *tag)
 
char * checknspTagLine (char *linein, char *tag)
 
void getPosVec (float lat, float lon, float alt, double *pos)
 
void getPosVecR (float lat, float lon, float alt, double *pos)
 

Macro Definition Documentation

◆ BIL

#define BIL   1

Definition at line 19 of file jplaeriallib.h.

◆ BIP

#define BIP   0

Definition at line 18 of file jplaeriallib.h.

◆ BSQ

#define BSQ   2

Definition at line 20 of file jplaeriallib.h.

◆ DEG_TO_RAD

#define DEG_TO_RAD   .0174532925199432958

Definition at line 22 of file jplaeriallib.h.

Function Documentation

◆ checknspTagLine()

char* checknspTagLine ( char *  linein,
char *  tag 
)

Definition at line 534 of file jplaeriallib.c.

◆ checkTagLine()

char* checkTagLine ( char *  linein,
char *  tag 
)

Definition at line 433 of file jplaeriallib.c.

◆ checkTagLine_f()

float checkTagLine_f ( char *  linein,
char *  tag 
)

Definition at line 457 of file jplaeriallib.c.

◆ checkTagLine_i()

int checkTagLine_i ( char *  linein,
char *  tag 
)

Definition at line 482 of file jplaeriallib.c.

◆ checkTagLine_m()

char* checkTagLine_m ( char *  linein,
char *  line,
char *  tag 
)

Definition at line 507 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.

◆ getPosVecR()

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

Definition at line 593 of file jplaeriallib.c.

◆ getValidAngle()

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

Definition at line 423 of file jplaeriallib.c.

◆ readBinScanLine4ocia_int2()

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

Definition at line 125 of file jplaeriallib.c.

◆ readBinScanLine4Ocip_float()

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

Definition at line 189 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.

◆ readBinScanLine_sub_int2()

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

Definition at line 254 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.