ocssw  1.0
Defines | Functions | Variables
/disk01/web/ocssw/build/src/libseawifs/get_cal_swf.c File Reference

(r8099/r5616)

#include <stdlib.h>
#include "../l2gen/l12_parms.h"
#include "hdf_utils.h"
#include "time_utils.h"
#include "call1a_proto.h"
#include "genutils.h"
#include "getcal_proto.h"

Go to the source code of this file.

Defines

#define NBAND   8
#define NTEMP   256
#define NCOEF   6
#define NDET   4
#define NGAIN   4
#define NTDI   256
#define NKNEE   5
#define K1   0
#define K3   1
#define K4   2
#define MSIDE   3
#define GR   4
#define NK   4

Functions

float *** alloc3d_float (int m, int n, int o)
float **** alloc4d_float (int l, int m, int n, int o)
int32_t *** alloc3d_long (int m, int n, int o)
void read_caltable (char *cal_path)
float apply_time_coef (short functype, float coef[NCOEF], double param)
int get_epoch_idx (int param, double jsec)
void calc_knees_two (int16 *tdi, float32 counts[8][4][5], float32 rads[8][4][5])
int32_t l1b_rad (int syear, int sday, int32_t smsec, int32_t msec, char *dtype, int32_t nsta, int32_t ninc, int32_t npix, float *dark_mean, short *gain, short *tdi, short *scan_temp, float *inst_temp, int mside, short *l1a_data, float *l1b_data, cal_mod_struc *cal_mod)

Variables

float cal_counts [NBAND][NDET][NKNEE]
float cal_rads [NBAND][NDET][NKNEE]

Define Documentation

#define GR   4

Definition at line 96 of file get_cal_swf.c.

#define K1   0

Definition at line 92 of file get_cal_swf.c.

#define K3   1

Definition at line 93 of file get_cal_swf.c.

#define K4   2

Definition at line 94 of file get_cal_swf.c.

#define MSIDE   3

Definition at line 95 of file get_cal_swf.c.

#define NBAND   8

Definition at line 84 of file get_cal_swf.c.

#define NCOEF   6

Definition at line 87 of file get_cal_swf.c.

#define NDET   4

Definition at line 88 of file get_cal_swf.c.

#define NGAIN   4

Definition at line 89 of file get_cal_swf.c.

#define NK   4

Definition at line 97 of file get_cal_swf.c.

#define NKNEE   5

Definition at line 91 of file get_cal_swf.c.

#define NTDI   256

Definition at line 90 of file get_cal_swf.c.

#define NTEMP   256

Definition at line 85 of file get_cal_swf.c.


Function Documentation

float*** alloc3d_float ( int  m,
int  n,
int  o 
)

Definition at line 26 of file get_cal_swf.c.

int32_t*** alloc3d_long ( int  m,
int  n,
int  o 
)

Definition at line 66 of file get_cal_swf.c.

float**** alloc4d_float ( int  l,
int  m,
int  n,
int  o 
)

Definition at line 43 of file get_cal_swf.c.

float apply_time_coef ( short  functype,
float  coef[NCOEF],
double  param 
)

Definition at line 529 of file get_cal_swf.c.

void calc_knees_two ( int16 *  tdi,
float32  counts[8][4][5],
float32  rads[8][4][5] 
)

Definition at line 597 of file get_cal_swf.c.

int get_epoch_idx ( int  param,
double  jsec 
)

Definition at line 558 of file get_cal_swf.c.

int32_t l1b_rad ( int  syear,
int  sday,
int32_t  smsec,
int32_t  msec,
char *  dtype,
int32_t  nsta,
int32_t  ninc,
int32_t  npix,
float *  dark_mean,
short *  gain,
short *  tdi,
short *  scan_temp,
float *  inst_temp,
int  mside,
short *  l1a_data,
float *  l1b_data,
cal_mod_struc cal_mod 
)

Definition at line 658 of file get_cal_swf.c.

void read_caltable ( char *  cal_path)

Definition at line 150 of file get_cal_swf.c.


Variable Documentation

Definition at line 132 of file get_cal_swf.c.

Definition at line 133 of file get_cal_swf.c.