OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
swl0_proto.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include <math.h>
#include <unistd.h>
#include "swl0_parms.h"
#include "swl0_types.h"
#include "swl0_struc.h"
#include "swl0_utils.h"
#include "swl1_struc.h"
#include "swl1_hdf.h"
#include "input_s.h"
#include "navblk_s.h"
#include "navctl_s.h"
#include "navqc_s.h"
#include "orbit_s.h"
#include "tilt_s.h"
#include "genutils.h"
Include dependency graph for swl0_proto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INT32 getl0indx (char *filename, swl0ctl *l0ctl, swl0indx *indx)
 
INT16 getl0scene (swl0indx *indx, swl0scene *scene)
 
INT32 getnavdata (swl0scene *scene, input_sType navinp[])
 
INT32 getorbdata (swl0indx *indx, input_sType gps[])
 
void printindx (swl0indx *indx)
 
void printnav (swl0scene *scene)
 
int getl0scene_nav (FLOAT32 xnodel, INT32 tnode, navblk_sType navblk[], tilt_states_sType *tiltblk, swl0scene *scene)
 
void printscene (int nscenes, swl0scene *scene)
 
INT32 getl1rec (INT16 iframe, swl0scene *scene, swl0ctl *l0ctl, input_sType navinp[], navblk_sType navblk[], tilt_states_sType *tiltblk, swl1rec l1rec[])
 
void addL1Metrics (INT32 scanNum, swl1rec *l1rec)
 
l1met * getL1Metrics (void)
 
int mkmeta (const char *metafile, const char *l1afile, swl0scene *scene, swl0ctl *l0ctl)
 
INT32 getorbnum (FLOAT64 usec)
 
INT16 valid_instlm (INT16 mnftype, INT16 mnfnum, INT16 scanNum)
 
INT16 getEngQual (FLOAT32 ins_ana[], BYTE eng_qual[])
 
INT32 locate_temporal_anomalies (swl0indx *indx, char *timefile)
 
timeTab * temporal_anomaly (INT16 mnftype, INT16 year, INT16 day, INT32 msec)
 
int conv_soh_ (BYTE *soh, FLOAT32 *scana, BYTE *scdis)
 
int conv_ins_ (BYTE *soh, FLOAT32 *insta, BYTE *instd)
 
int acs_block_ (void)
 
int ins_block_ (void)
 
int initnav_ (input_sType input[], INT32 *nframes, navctl_sType *navctl, navqc_sType *navqc, orbit_sType *orbit, INT32 *status)
 
int swfnav_ (navqc_sType *navqc, navctl_sType *navctl, input_sType input[], INT32 *nframes, orbit_sType *orbit, INT32 *nlines, navblk_sType navblk[], tilt_states_sType *tiltblk, FLOAT32 *xnodel, INT32 *tnode)
 
int geonav_ (FLOAT32 pos[3], FLOAT32 rm[3][3], FLOAT32 coef[6], FLOAT32 sunref[3], INT32 *spix, INT32 *ipix, INT32 *npix, FLOAT32 lat[], FLOAT32 lon[], FLOAT32 solz[], FLOAT32 sola[], FLOAT32 senz[], FLOAT32 sena[])
 
int get_swf_def_meta (char *seadas_vs, char *data_center)
 
int get_swf_def_meta1 (char *seadas_vs, char *data_center, char *station_name, float *station_lat, float *station_lon, char *station_code)
 
int gen_soft_id (char *seadas_vs, char *prog_vs, char *soft_id)
 

Function Documentation

◆ acs_block_()

int acs_block_ ( void  )

◆ addL1Metrics()

void addL1Metrics ( INT32  scanNum,
swl1rec *  l1rec 
)

Definition at line 16 of file getmetrics.c.

◆ conv_ins_()

int conv_ins_ ( BYTE soh,
FLOAT32 insta,
BYTE instd 
)

◆ conv_soh_()

int conv_soh_ ( BYTE soh,
FLOAT32 scana,
BYTE scdis 
)

◆ gen_soft_id()

int gen_soft_id ( char *  seadas_vs,
char *  prog_vs,
char *  soft_id 
)

◆ geonav_()

int geonav_ ( FLOAT32  pos[3],
FLOAT32  rm[3][3],
FLOAT32  coef[6],
FLOAT32  sunref[3],
INT32 spix,
INT32 ipix,
INT32 npix,
FLOAT32  lat[],
FLOAT32  lon[],
FLOAT32  solz[],
FLOAT32  sola[],
FLOAT32  senz[],
FLOAT32  sena[] 
)

◆ get_swf_def_meta()

int get_swf_def_meta ( char *  seadas_vs,
char *  data_center 
)

◆ get_swf_def_meta1()

int get_swf_def_meta1 ( char *  seadas_vs,
char *  data_center,
char *  station_name,
float *  station_lat,
float *  station_lon,
char *  station_code 
)

◆ getEngQual()

INT16 getEngQual ( FLOAT32  ins_ana[],
BYTE  eng_qual[] 
)

Definition at line 33 of file instlm.c.

◆ getl0indx()

INT32 getl0indx ( char *  filename,
swl0ctl *  l0ctl,
swl0indx *  indx 
)

Definition at line 15 of file getl0indx.c.

◆ getl0scene()

INT16 getl0scene ( swl0indx *  indx,
swl0scene *  scene 
)

◆ getl0scene_nav()

int getl0scene_nav ( FLOAT32  xnodel,
INT32  tnode,
navblk_sType  navblk[],
tilt_states_sType *  tiltblk,
swl0scene *  scene 
)

Definition at line 29 of file getl0scene_nav.c.

◆ getL1Metrics()

l1met* getL1Metrics ( void  )

Definition at line 60 of file getmetrics.c.

◆ getl1rec()

INT32 getl1rec ( INT16  iframe,
swl0scene *  scene,
swl0ctl *  l0ctl,
input_sType  navinp[],
navblk_sType  navblk[],
tilt_states_sType *  tiltblk,
swl1rec  l1rec[] 
)

Definition at line 45 of file getl1rec.c.

◆ getnavdata()

INT32 getnavdata ( swl0scene *  scene,
input_sType  navinp[] 
)

Definition at line 8 of file getnavdata.c.

◆ getorbdata()

INT32 getorbdata ( swl0indx *  indx,
input_sType  gps[] 
)

Definition at line 9 of file getorbdata.c.

◆ getorbnum()

INT32 getorbnum ( FLOAT64  usec)

Definition at line 44 of file getorbnum.c.

◆ initnav_()

int initnav_ ( input_sType  input[],
INT32 nframes,
navctl_sType *  navctl,
navqc_sType *  navqc,
orbit_sType *  orbit,
INT32 status 
)

◆ ins_block_()

int ins_block_ ( void  )

◆ locate_temporal_anomalies()

INT32 locate_temporal_anomalies ( swl0indx *  indx,
char *  timefile 
)

Definition at line 103 of file temporal_anomaly.c.

◆ mkmeta()

int mkmeta ( const char *  metafile,
const char *  l1afile,
swl0scene *  scene,
swl0ctl *  l0ctl 
)

Definition at line 37 of file mkmeta.c.

◆ printindx()

void printindx ( swl0indx *  indx)

Definition at line 29 of file printindx.c.

◆ printnav()

void printnav ( swl0scene *  scene)

Definition at line 10 of file printnav.c.

◆ printscene()

void printscene ( int  nscenes,
swl0scene *  scene 
)

◆ swfnav_()

int swfnav_ ( navqc_sType *  navqc,
navctl_sType *  navctl,
input_sType  input[],
INT32 nframes,
orbit_sType *  orbit,
INT32 nlines,
navblk_sType  navblk[],
tilt_states_sType *  tiltblk,
FLOAT32 xnodel,
INT32 tnode 
)

◆ temporal_anomaly()

timeTab* temporal_anomaly ( INT16  mnftype,
INT16  year,
INT16  day,
INT32  msec 
)

Definition at line 254 of file temporal_anomaly.c.

◆ valid_instlm()

INT16 valid_instlm ( INT16  mnftype,
INT16  mnfnum,
INT16  scanNum 
)

Definition at line 15 of file instlm.c.