OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Macros

#define SENSOR   "ocip"
 
#define CDLFILE   "OCIP_Level-1B_Data_Structure.cdl"
 
#define NBANDS   285
 
#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, prism4ocia_t *data, gsl_interp_accel *acc, float *Lt)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ CDLFILE

#define CDLFILE   "OCIP_Level-1B_Data_Structure.cdl"

Definition at line 25 of file prismbil2oci.cpp.

◆ NBANDS

#define NBANDS   285

Definition at line 26 of file prismbil2oci.cpp.

◆ SENSOR

#define SENSOR   "ocip"

Definition at line 24 of file prismbil2oci.cpp.

◆ VERSION

#define VERSION   "1.00"

Definition at line 42 of file prismbil2oci.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,
prism4ocia_t *  data,
gsl_interp_accel *  acc,
float *  Lt 
)

Definition at line 44 of file prismbil2oci.cpp.

◆ main()

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

An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.nosp@m..gan.nosp@m.tz@gl.nosp@m.obal.nosp@m.star..nosp@m.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.

Minor modifications to the code were made to eliminate deprecation warnings

Definition at line 98 of file prismbil2oci.cpp.