OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
goci_slot.c File Reference
#include "hdf5.h"
#include "hdf5_hl.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <proj.h>
#include "goci.h"
Include dependency graph for goci_slot.c:

Go to the source code of this file.

Macros

#define NFIELDS   (hsize_t) 28
 
#define NRECORDS   (hsize_t) 128
 
#define NAV_GRP   "HDFEOS/POINTS/Navigation for GOCI/Data"
 
#define TABLE_NAME   "Navigation for GOCI"
 

Functions

int32_t goci_slot_init (hid_t file_id, hsize_t *dims, float *slot_rel_time, unsigned char *slot_asg, int32_t *slot_nav_avail)
 
int goci_slot_nav (int32_t ipix, int32_t ilin, int32_t bnd, int32_t itile, slot_nav_str *slot_nav, int32_t nbnd, int32_t nslot, unsigned char *bnd_tile_lut, float *lindist)
 
unsigned char goci_slot_time (int32_t ipix, int32_t ilin, goci_l1b_t *goci_l1b, float *rel_sec)
 

Macro Definition Documentation

◆ NAV_GRP

#define NAV_GRP   "HDFEOS/POINTS/Navigation for GOCI/Data"

Definition at line 12 of file goci_slot.c.

◆ NFIELDS

#define NFIELDS   (hsize_t) 28

Definition at line 10 of file goci_slot.c.

◆ NRECORDS

#define NRECORDS   (hsize_t) 128

Definition at line 11 of file goci_slot.c.

◆ TABLE_NAME

#define TABLE_NAME   "Navigation for GOCI"

Definition at line 13 of file goci_slot.c.

Function Documentation

◆ goci_slot_init()

int32_t goci_slot_init ( hid_t  file_id,
hsize_t *  dims,
float *  slot_rel_time,
unsigned char *  slot_asg,
int32_t *  slot_nav_avail 
)

Definition at line 20 of file goci_slot.c.

◆ goci_slot_nav()

int goci_slot_nav ( int32_t  ipix,
int32_t  ilin,
int32_t  bnd,
int32_t  itile,
slot_nav_str *  slot_nav,
int32_t  nbnd,
int32_t  nslot,
unsigned char *  bnd_tile_lut,
float *  lindist 
)

Definition at line 302 of file goci_slot.c.

◆ goci_slot_time()

unsigned char goci_slot_time ( int32_t  ipix,
int32_t  ilin,
goci_l1b_t goci_l1b,
float *  rel_sec 
)

Definition at line 436 of file goci_slot.c.