OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1_safe.cpp File Reference
#include <netcdf.h>
#include "l1_safe.h"
#include "smile.h"
#include "math.h"
#include <string>
#include <vector>
#include <gsl/gsl_spline2d.h>
Include dependency graph for l1_safe.cpp:

Go to the source code of this file.

Macros

#define NEW_CACHE_SIZE   10000000
 
#define NEW_CACHE_NELEMS   23
 
#define NEW_CACHE_PREEMPTION   1.0
 
#define BANDINFO_FILENAME_MERIS   "band_info_meris.txt"
 
#define BANDINFO_FILENAME_OLCI   "band_info_olci.txt"
 
#define ANGLE_FILL_VALUE   (-999)
 

Functions

int openl1_safe (filehandle *l1file)
 
int readl1_safe (filehandle *file, int32_t scan, l1str *l1rec)
 
int closel1_safe (filehandle *file)
 

Macro Definition Documentation

◆ ANGLE_FILL_VALUE

#define ANGLE_FILL_VALUE   (-999)

Definition at line 27 of file l1_safe.cpp.

◆ BANDINFO_FILENAME_MERIS

#define BANDINFO_FILENAME_MERIS   "band_info_meris.txt"

Definition at line 24 of file l1_safe.cpp.

◆ BANDINFO_FILENAME_OLCI

#define BANDINFO_FILENAME_OLCI   "band_info_olci.txt"

Definition at line 25 of file l1_safe.cpp.

◆ NEW_CACHE_NELEMS

#define NEW_CACHE_NELEMS   23

Definition at line 21 of file l1_safe.cpp.

◆ NEW_CACHE_PREEMPTION

#define NEW_CACHE_PREEMPTION   1.0

Definition at line 22 of file l1_safe.cpp.

◆ NEW_CACHE_SIZE

#define NEW_CACHE_SIZE   10000000

Definition at line 20 of file l1_safe.cpp.

Function Documentation

◆ closel1_safe()

int closel1_safe ( filehandle *  file)

Definition at line 659 of file l1_safe.cpp.

◆ openl1_safe()

int openl1_safe ( filehandle *  l1file)

Definition at line 40 of file l1_safe.cpp.

◆ readl1_safe()

int readl1_safe ( filehandle *  file,
int32_t  scan,
l1str *  l1rec 
)

Definition at line 196 of file l1_safe.cpp.