OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
avirisbil2ncdf.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 <gsl/gsl_errno.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_sort_double.h>
#include <timeutils.h>
Include dependency graph for avirisbil2ncdf.cpp:

Go to the source code of this file.

Macros

#define FILL   -32767
 
#define BIP   0
 
#define BIL   1
 
#define SENSOR   "aviris"
 
#define CDLFILE   "AVIRIS_Level-1B_Data_Structure.cdl"
 
#define NBANDS   200
 
#define VERSION   "1.00"
 

Functions

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

Macro Definition Documentation

◆ BIL

#define BIL   1

Definition at line 25 of file avirisbil2ncdf.cpp.

◆ BIP

#define BIP   0

Definition at line 24 of file avirisbil2ncdf.cpp.

◆ CDLFILE

#define CDLFILE   "AVIRIS_Level-1B_Data_Structure.cdl"

Definition at line 27 of file avirisbil2ncdf.cpp.

◆ FILL

#define FILL   -32767

Definition at line 23 of file avirisbil2ncdf.cpp.

◆ NBANDS

#define NBANDS   200

Definition at line 28 of file avirisbil2ncdf.cpp.

◆ SENSOR

#define SENSOR   "aviris"

Definition at line 26 of file avirisbil2ncdf.cpp.

◆ VERSION

#define VERSION   "1.00"

Definition at line 34 of file avirisbil2ncdf.cpp.

Function Documentation

◆ interpLt()

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

Definition at line 36 of file avirisbil2ncdf.cpp.

◆ main()

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

Definition at line 99 of file avirisbil2ncdf.cpp.