OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
filehandle.h File Reference
#include <stdio.h>
#include <string.h>
#include <filetype.h>
#include <sensorInfo.h>
#include <productInfo.h>
#include "l2prod_struc.h"
Include dependency graph for filehandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  filehandle_struct
 

Macros

#define FORWARD   0
 
#define INVERSE_ZERO   1
 
#define INVERSE_NLW   2
 
#define INVERSE_LW   3
 
#define READ   0
 
#define WRITE   1
 
#define L1_PRODSTRLEN   2048
 
#define L1_MAXPROD   1000
 
#define L1_NFLAGS   32
 
#define NBANDSIR   8
 

Functions

float * calloc_nbandsf (int32_t nbands, float *nbarray, float init_val)
 
int32_t * calloc_nbandsi32t (int32_t nbands, int32_t *nbarray, int32_t init_val)
 
int * calloc_nbandsi (int32_t nbands, int *nbarray, int init_val)
 
void filehandle_init (filehandle *file)
 

Macro Definition Documentation

◆ FORWARD

#define FORWARD   0

Definition at line 11 of file filehandle.h.

◆ INVERSE_LW

#define INVERSE_LW   3

Definition at line 14 of file filehandle.h.

◆ INVERSE_NLW

#define INVERSE_NLW   2

Definition at line 13 of file filehandle.h.

◆ INVERSE_ZERO

#define INVERSE_ZERO   1

Definition at line 12 of file filehandle.h.

◆ L1_MAXPROD

#define L1_MAXPROD   1000

Definition at line 20 of file filehandle.h.

◆ L1_NFLAGS

#define L1_NFLAGS   32

Definition at line 21 of file filehandle.h.

◆ L1_PRODSTRLEN

#define L1_PRODSTRLEN   2048

Definition at line 19 of file filehandle.h.

◆ NBANDSIR

#define NBANDSIR   8

Definition at line 23 of file filehandle.h.

◆ READ

#define READ   0

Definition at line 16 of file filehandle.h.

◆ WRITE

#define WRITE   1

Definition at line 17 of file filehandle.h.

Function Documentation

◆ calloc_nbandsf()

float* calloc_nbandsf ( int32_t  nbands,
float *  nbarray,
float  init_val 
)

Definition at line 6 of file filehandle_init.c.

◆ calloc_nbandsi()

int* calloc_nbandsi ( int32_t  nbands,
int *  nbarray,
int  init_val 
)

Definition at line 31 of file filehandle_init.c.

◆ calloc_nbandsi32t()

int32_t* calloc_nbandsi32t ( int32_t  nbands,
int32_t *  nbarray,
int32_t  init_val 
)

Definition at line 19 of file filehandle_init.c.

◆ filehandle_init()

void filehandle_init ( filehandle *  file)

Definition at line 43 of file filehandle_init.c.