OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
calibrate_l1a.c File Reference
#include "cal_l1a.h"
#include "call1a_proto.h"
#include <mfhdf.h>
Include dependency graph for calibrate_l1a.c:

Go to the source code of this file.

Functions

int32_t calibrate_l1a (char *cal_path, int16_t syear, int16_t sday, int32_t smsec, int16_t eday, int32_t msec, char *dtype, int32_t nsta, int32_t ninc, int32_t nsamp, float *dark_mean, int16_t *gain, int16_t *tdi, int16_t *scan_temp, float *inst_temp, int16_t side, int16_t *l1a_data, float *l1b_data, cal_mod_struc *cal_mod)
 
int jul2jday (int year, int yday)
 
int cal2jday (int year, int month, int mday)
 

Variables

float32 cal_counts [NBANDS][4][5]
 
float32 cal_rads [NBANDS][4][5]
 

Function Documentation

◆ cal2jday()

int cal2jday ( int  year,
int  month,
int  mday 
)

Definition at line 459 of file calibrate_l1a.c.

◆ calibrate_l1a()

int32_t calibrate_l1a ( char *  cal_path,
int16_t  syear,
int16_t  sday,
int32_t  smsec,
int16_t  eday,
int32_t  msec,
char *  dtype,
int32_t  nsta,
int32_t  ninc,
int32_t  nsamp,
float *  dark_mean,
int16_t *  gain,
int16_t *  tdi,
int16_t *  scan_temp,
float *  inst_temp,
int16_t  side,
int16_t *  l1a_data,
float *  l1b_data,
cal_mod_struc *  cal_mod 
)

Definition at line 173 of file calibrate_l1a.c.

◆ jul2jday()

int jul2jday ( int  year,
int  yday 
)

Definition at line 422 of file calibrate_l1a.c.

Variable Documentation

◆ cal_counts

float32 cal_counts[NBANDS][4][5]

Definition at line 170 of file calibrate_l1a.c.

◆ cal_rads

float32 cal_rads[NBANDS][4][5]

Definition at line 171 of file calibrate_l1a.c.