OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
smile.h File Reference
#include "l1.h"
Include dependency graph for smile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void smile_init (int num_bands, int num_detectors, const char *bandinfo_filename, float *detectorWLs, float *detectorE0s)
 
void radcor (l1str *l1rec, int32_t ip, int32_t land, int32_t escorrected)
 

Function Documentation

◆ radcor()

void radcor ( l1str *  l1rec,
int32_t  ip,
int32_t  land,
int32_t  escorrected 
)

Definition at line 195 of file smile.c.

◆ smile_init()

void smile_init ( int  num_bands,
int  num_detectors,
const char *  bandinfo_filename,
float *  detectorWLs,
float *  detectorE0s 
)

Setup the smile correction information.

Parameters
num_bandsnumber of bands for this sensor
num_detectorsnumber of detectors (used in detectorWL, detectorE0)
bandinfo_filenamefull path to the band_info.txt file
detectorWLsdetector central wavelengths (detectorWLs[numDetectors][numBands])
detectorE0sdetector solar flux (detectorE0s[numDetectors][numBands])

Definition at line 48 of file smile.c.