OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
avirisbil2oci.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <unistd.h>
#include <sstream>
#include <iomanip>
#include <stdint.h>
#include <iostream>
#include <fstream>
#include "cdl_utils.h"
#include "netcdf.h"
#include "nc4utils.h"
#include "nc_gridutils.h"
#include "aviris.h"
#include <timeutils.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_sort_double.h>
Include dependency graph for avirisbil2oci.cpp:

Go to the source code of this file.

Macros

#define SENSOR   "ocia"
 
#define CDLFILE   "OCI_Level-1B_Data_Structure.cdl"
 
#define NBANDS   61
 
#define FILL   -32767
 
#define VERSION   "1.00"
 

Functions

void handle_error (int status)
 
size_t interpLt (size_t startJ, size_t npixels, size_t k, size_t nbMax, float ociaWavelength, size_t iwave, aviris4ocia_t *data, gsl_interp_accel *acc, float *Lt)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ CDLFILE

#define CDLFILE   "OCI_Level-1B_Data_Structure.cdl"

Definition at line 24 of file avirisbil2oci.cpp.

◆ FILL

#define FILL   -32767

Definition at line 26 of file avirisbil2oci.cpp.

◆ NBANDS

#define NBANDS   61

Definition at line 25 of file avirisbil2oci.cpp.

◆ SENSOR

#define SENSOR   "ocia"

Definition at line 23 of file avirisbil2oci.cpp.

◆ VERSION

#define VERSION   "1.00"

Definition at line 33 of file avirisbil2oci.cpp.

Function Documentation

◆ handle_error()

void handle_error ( int  status)

Definition at line 219 of file nccmp.c.

◆ interpLt()

size_t interpLt ( size_t  startJ,
size_t  npixels,
size_t  k,
size_t  nbMax,
float  ociaWavelength,
size_t  iwave,
aviris4ocia_t *  data,
gsl_interp_accel *  acc,
float *  Lt 
)

Definition at line 35 of file avirisbil2oci.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 98 of file avirisbil2oci.cpp.