OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
readL2scan.h File Reference
#include <dfutils.h>
Include dependency graph for readL2scan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  l2prod_struct
 
struct  meta_l2Struct
 

Macros

#define byte   unsigned char
 
#define MAXNFILES   10000 /* Increase to 544 09/25/06 JMG - 800 WDR */
 

Enumerations

enum  L2PixelMode_t { L2PixelOff, L2PixelCorner, L2PixelDelta }
 

Functions

void free_rowgroup_cache ()
 
void init_rowgroup_cache ()
 
int32_t get_dtype (int32_t dtype, ds_format_t fileformat)
 
int32_t openL2 (const char *, char *, l2_prod *)
 
int32_t reopenL2 (int32_t, l2_prod *)
 
int32_t readL2 (l2_prod *l2_str, int32_t ifile, int32_t recnum, int32_t iprod, unsigned char *scan_in_rowgroup)
 
int32_t readlonlat (l2_prod *l2_str, int32_t ifile, int32_t *start, int32_t *edges, unsigned char *scan_in_rowgroup)
 
int32_t closeL2 (l2_prod *, int32_t)
 
int32_t freeL2 (l2_prod *)
 
int32_t findprod (l2_prod *, char *)
 
int32_t readL2meta (meta_l2Type *, int32_t)
 
int32_t freeL2meta (meta_l2Type *)
 
int32_t getL3units (l2_prod *, int32_t, char *, char *)
 
void enableL2PixelArea (enum L2PixelMode_t val)
 

Macro Definition Documentation

◆ byte

#define byte   unsigned char

Definition at line 6 of file readL2scan.h.

◆ MAXNFILES

#define MAXNFILES   10000 /* Increase to 544 09/25/06 JMG - 800 WDR */

Definition at line 8 of file readL2scan.h.

Enumeration Type Documentation

◆ L2PixelMode_t

Enumerator
L2PixelOff 
L2PixelCorner 
L2PixelDelta 

Definition at line 154 of file readL2scan.h.

Function Documentation

◆ closeL2()

int32_t closeL2 ( l2_prod *  ,
int32_t   
)

Definition at line 1936 of file readL2scan.c.

◆ enableL2PixelArea()

void enableL2PixelArea ( enum L2PixelMode_t  val)

Turn on the calculation of the lat/lon deltas. Used for area weighting.

Parameters
valL2PixelOff(0)=off, L2PixelCorner(1)=pixel corners, L2PixelDelta(2)=pixel deltas

Definition at line 193 of file readL2scan.c.

◆ findprod()

int32_t findprod ( l2_prod *  ,
char *   
)

Definition at line 2071 of file readL2scan.c.

◆ free_rowgroup_cache()

void free_rowgroup_cache ( )

Definition at line 236 of file readL2scan.c.

◆ freeL2()

int32_t freeL2 ( l2_prod *  )

Definition at line 2026 of file readL2scan.c.

◆ freeL2meta()

int32_t freeL2meta ( meta_l2Type *  )

Definition at line 2255 of file readL2scan.c.

◆ get_dtype()

int32_t get_dtype ( int32_t  dtype,
ds_format_t  fileformat 
)

get_dtype get proper data type for reading This converts to appropriate NCDF type given an HDF type May want a better mouse trap, but for now solves the problem

Definition at line 211 of file readL2scan.c.

◆ getL3units()

int32_t getL3units ( l2_prod *  ,
int32_t  ,
char *  ,
char *   
)

Definition at line 2274 of file readL2scan.c.

◆ init_rowgroup_cache()

void init_rowgroup_cache ( )

Definition at line 265 of file readL2scan.c.

◆ openL2()

int32_t openL2 ( const char *  ,
char *  ,
l2_prod *   
)

Definition at line 296 of file readL2scan.c.

◆ readL2()

int32_t readL2 ( l2_prod *  l2_str,
int32_t  ifile,
int32_t  recnum,
int32_t  iprod,
unsigned char *  scan_in_rowgroup 
)

Definition at line 1250 of file readL2scan.c.

◆ readL2meta()

int32_t readL2meta ( meta_l2Type *  ,
int32_t   
)

Definition at line 2081 of file readL2scan.c.

◆ readlonlat()

int32_t readlonlat ( l2_prod *  l2_str,
int32_t  ifile,
int32_t *  start,
int32_t *  edges,
unsigned char *  scan_in_rowgroup 
)

Definition at line 1745 of file readL2scan.c.

◆ reopenL2()

int32_t reopenL2 ( int32_t  ,
l2_prod *   
)

Definition at line 975 of file readL2scan.c.