OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
common.h File Reference
#include <iostream>
#include <stdint.h>
#include <stdlib.h>
#include <cmath>
#include <vector>
#include <netcdf>
#include <sstream>
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  geo_struct
 

Functions

int get_ev (double secpline, int16_t *dtype, int16_t *lines, int16_t *iagg, uint16_t &pcdim, uint16_t &psdim, double &ev_toff, float *clines, float *slines, double *deltc, double *delts, int16_t &iret)
 
int get_oci_vecs (uint32_t nscan, uint16_t pdim, geo_struct &geoLUT, double ev_toff, int32_t spin, float *slines, double *delt, double revpsec, int32_t ppr_off, int32_t *mspin, int32_t *ot_10us, uint8_t *enc_count, float **hamenc, float **rtaenc, float **pview, double *theta, int16_t &iret)
 
int createField (netCDF::NcGroup &ncGrp, const char *sname, const char *lname, const char *standard_name, const char *units, void *fill_value, const char *flag_values, const char *flag_meanings, double low, double high, int nt, std::vector< netCDF::NcDim > &varVec)
 

Function Documentation

◆ createField()

int createField ( netCDF::NcGroup &  ncGrp,
const char *  sname,
const char *  lname,
const char *  standard_name,
const char *  units,
void *  fill_value,
const char *  flag_values,
const char *  flag_meanings,
double  low,
double  high,
int  nt,
std::vector< netCDF::NcDim > &  varVec 
)

◆ get_ev()

int get_ev ( double  secpline,
int16_t *  dtype,
int16_t *  lines,
int16_t *  iagg,
uint16_t &  pcdim,
uint16_t &  psdim,
double &  ev_toff,
float *  clines,
float *  slines,
double *  deltc,
double *  delts,
int16_t &  iret 
)

Definition at line 7 of file common.cpp.

◆ get_oci_vecs()

int get_oci_vecs ( uint32_t  nscan,
uint16_t  pdim,
geo_struct geoLUT,
double  ev_toff,
int32_t  spin,
float *  slines,
double *  delt,
double  revpsec,
int32_t  ppr_off,
int32_t *  mspin,
int32_t *  ot_10us,
uint8_t *  enc_count,
float **  hamenc,
float **  rtaenc,
float **  pview,
double *  theta,
int16_t &  iret 
)

Definition at line 56 of file common.cpp.