OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
calib_get_cal_misc.c File Reference
#include <hdf4utils.h>
#include "calib_get_cal.h"
#include "calib_getcal_proto.h"
Include dependency graph for calib_get_cal_misc.c:

Go to the source code of this file.

Functions

int32 get_ref_time (int32 sdfid, int16 *ref_year, int16 *ref_day, int16 *ref_min)
 
int32_t get_index (int32_t fid, int16_t syear, int16_t sday, int16_t eday, int32_t msec, int16_t *cal_year, int16_t *cal_day)
 
int32 read_parm_data (int32 fid, int32 sdfid, int32 index, int32 idoffs[8][16], float32 gains[8][16], float32 temps[256][8], float32 scan_mod[2][1285], float64 *tfactor_const, float64 *tfactor_linear, float64 *tfactor_quadratic, float32 *cal_offset, float32 mirror[2][8], int16 tdi_list[256][4])
 
void calc_knees (int16 *tdi, int16 tdi_list[256][4], int32 idoffs[8][16], float32 gains[8][16], float32 counts[8][4][5], float32 rads[8][4][5])
 
void setup_scanmod (char *dtype, float32 scan_mod[2][1285])
 
void sort_srads (float32 *srads, int32 *oindex)
 

Function Documentation

◆ calc_knees()

void calc_knees ( int16 *  tdi,
int16  tdi_list[256][4],
int32  idoffs[8][16],
float32  gains[8][16],
float32  counts[8][4][5],
float32  rads[8][4][5] 
)

Definition at line 372 of file calib_get_cal_misc.c.

◆ get_index()

int32_t get_index ( int32_t  fid,
int16_t  syear,
int16_t  sday,
int16_t  eday,
int32_t  msec,
int16_t *  cal_year,
int16_t *  cal_day 
)

Definition at line 149 of file calib_get_cal_misc.c.

◆ get_ref_time()

int32 get_ref_time ( int32  sdfid,
int16 *  ref_year,
int16 *  ref_day,
int16 *  ref_min 
)

Definition at line 95 of file calib_get_cal_misc.c.

◆ read_parm_data()

int32 read_parm_data ( int32  fid,
int32  sdfid,
int32  index,
int32  idoffs[8][16],
float32  gains[8][16],
float32  temps[256][8],
float32  scan_mod[2][1285],
float64 *  tfactor_const,
float64 *  tfactor_linear,
float64 *  tfactor_quadratic,
float32 *  cal_offset,
float32  mirror[2][8],
int16  tdi_list[256][4] 
)

Definition at line 287 of file calib_get_cal_misc.c.

◆ setup_scanmod()

void setup_scanmod ( char *  dtype,
float32  scan_mod[2][1285] 
)

Definition at line 457 of file calib_get_cal_misc.c.

◆ sort_srads()

void sort_srads ( float32 *  srads,
int32 *  oindex 
)

Definition at line 501 of file calib_get_cal_misc.c.