OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
calibrate_l1a_osmi.c File Reference
#include "cal_l1a_osmi.h"
#include "call1a_proto_osmi.h"
#include "InstStatData.h"
#include <mfhdf.h>
Include dependency graph for calibrate_l1a_osmi.c:

Go to the source code of this file.

Macros

#define DEBUG   0 /* DEBUG= 0->no debug, 1->logic tracking, 2->data tracking */
 

Functions

int getCalDay (int year, int jday, int *month, int *day)
 
int32_t calibrate_l1a_osmi (char *cal_path, int16_t syear, int16_t sday, int32_t smsec, int16_t eday, int32_t msec, char *dtype, int32_t st_samp, int32_t nsamp, int32_t fpixel, int16_t gain[4], int16_t offset, int16_t scan_temp, int16_t *l1a_data, float *l1b_data, cal_mod_struc *cal_mod)
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   0 /* DEBUG= 0->no debug, 1->logic tracking, 2->data tracking */

Definition at line 55 of file calibrate_l1a_osmi.c.

Function Documentation

◆ calibrate_l1a_osmi()

int32_t calibrate_l1a_osmi ( char *  cal_path,
int16_t  syear,
int16_t  sday,
int32_t  smsec,
int16_t  eday,
int32_t  msec,
char *  dtype,
int32_t  st_samp,
int32_t  nsamp,
int32_t  fpixel,
int16_t  gain[4],
int16_t  offset,
int16_t  scan_temp,
int16_t *  l1a_data,
float *  l1b_data,
cal_mod_struc *  cal_mod 
)

Definition at line 113 of file calibrate_l1a_osmi.c.

◆ getCalDay()

int getCalDay ( int  year,
int  jday,
int *  month,
int *  day 
)

Definition at line 14 of file calday.c.