NASA Logo
Ocean Color Science Software

ocssw V2022
l1_l1c_anc.c File Reference
#include <netcdf.h>
#include "l1_l1c_anc.h"
#include <nc4utils.h>
#include "libnav.h"
#include <stdio.h>
#include <math.h>
Include dependency graph for l1_l1c_anc.c:

Go to the source code of this file.

Functions

int openl1_l1c_anc (filehandle *file)
 
int readl1_l1c_anc (filehandle *file, int32_t line, l1str *l1rec)
 
int closel1_l1c_anc (filehandle *file)
 

Function Documentation

◆ closel1_l1c_anc()

int closel1_l1c_anc ( filehandle *  file)

Close L1B file, GEO file, and free memory

Parameters
file
Returns

Definition at line 187 of file l1_l1c_anc.c.

◆ openl1_l1c_anc()

int openl1_l1c_anc ( filehandle *  file)

Open the OCI L1C Ancillary file and perform some one-time tasks (as opposed to tasks that are per scan)

Get

Parameters
file
Returns

Definition at line 36 of file l1_l1c_anc.c.

◆ readl1_l1c_anc()

int readl1_l1c_anc ( filehandle *  file,
int32_t  line,
l1str *  l1rec 
)

Read the specified scan line from the specified L1B file. For each scan, get scan_delta_time_ms. Store Lt in l1rec->Lt. Read GEO file.

Parameters
file
line
l1rec
Returns

Definition at line 132 of file l1_l1c_anc.c.