#include <netcdf.h>
#include "l1_oci.h"
#include "l1.h"
#include <nc4utils.h>
#include "libnav.h"
#include <stdio.h>
#include <math.h>
#include <allocate2d.h>
Go to the source code of this file.
◆ SATURATION_BIT
◆ closel1_oci()
int closel1_oci |
( |
filehandle * |
file | ) |
|
Close L1B file, GEO file, and free memory
- Parameters
-
- Returns
Definition at line 643 of file l1_oci.c.
◆ openl1_oci()
int openl1_oci |
( |
filehandle * |
file | ) |
|
Open the OCI L1B file and perform some one-time tasks (as opposed to tasks that are per scan), including: -Get L1B dimensions num_scans, num_bands, num_pixels (static). Allocate memory for some static arrays based upon these dimensions. -Get L1B group ids e.g. l1bScanLineGrp, observationGrp and it's 8 "band_%d" var ids (static)
Get
- Parameters
-
- Returns
Definition at line 99 of file l1_oci.c.
◆ readl1_oci()
int readl1_oci |
( |
filehandle * |
file, |
|
|
int32_t |
line, |
|
|
l1str * |
l1rec, |
|
|
int |
lonlat |
|
) |
| |
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 | |
lonlat | if 1, reads only the data needed for lon and lat. |
- Returns
Definition at line 434 of file l1_oci.c.