OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
rdatreminfo.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "sensorInfo.h"
#include "genutils.h"
Include dependency graph for rdatreminfo.c:

Go to the source code of this file.

Macros

#define NEWSENSINFO   32 /* use test sensor info file */
 

Functions

void parseline (char *line, char *name, char *value)
 
int32_t rdatreminfo (int32_t sensorID, int32_t evalmask, const char *pname, void **pval)
 

Macro Definition Documentation

◆ NEWSENSINFO

#define NEWSENSINFO   32 /* use test sensor info file */

Definition at line 26 of file rdatreminfo.c.

Function Documentation

◆ parseline()

void parseline ( char *  line,
char *  name,
char *  value 
)

Definition at line 32 of file rdsensorinfo.c.

◆ rdatreminfo()

int32_t rdatreminfo ( int32_t  sensorID,
int32_t  evalmask,
const char *  pname,
void **  pval 
)

read in atrem initialization information.

Parameters
sensorIDid of the sensor to lookup
evalmaskset to 32 to get info out of the "eval" directory
pnamename of the parameter to retrieve
pvalpointer to the requested data
Returns
the number of bands, -1 if error

Definition at line 38 of file rdatreminfo.c.