OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
prodgen.c File Reference
#include "l12_proto.h"
#include <stdint.h>
#include <inttypes.h>
Include dependency graph for prodgen.c:

Go to the source code of this file.

Functions

VOIDP extract_band (float *fbuf, l2prodstr *p, int32 nbands)
 
void applyMultiplier (float *in, float *out, int count, float multiplier)
 
VOIDP prodgen (l2prodstr *p, l2str *l2rec)
 

Function Documentation

◆ applyMultiplier()

void applyMultiplier ( float *  in,
float *  out,
int  count,
float  multiplier 
)

loop through a float array applying a multiplier

Parameters
ininput array
outoutput array
countsize of array
multiplierfactor to apply

Definition at line 75 of file prodgen.c.

◆ extract_band()

VOIDP extract_band ( float *  fbuf,
l2prodstr *  p,
int32  nbands 
)

Definition at line 31 of file prodgen.c.

◆ prodgen()

VOIDP prodgen ( l2prodstr *  p,
l2str *  l2rec 
)

Definition at line 89 of file prodgen.c.