OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_cmp.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "l12_proto.h"
#include <netcdf.h>
#include "met_cvt.h"
#include "scene_meta.h"
Include dependency graph for get_cmp.c:

Go to the source code of this file.

Functions

void ch_cld_sci_ (float *, int *, unsigned char *, int *, int32_t *, int *, int *, char *)
 
int get_cmp (l2str *l2rec, int prodnum, float prod[])
 
unsigned char * get_cmp_byt (l2str *l2rec, int prodnum)
 
int compute_cmp (l2str *l2rec)
 
int set_cmp (l2str *l2rec, float **tdat, int32_t *nfloat, int32_t **i32dat, int32_t *nint32, unsigned char **ubdat, int32_t *nubyte)
 
int profile_print (float *prof, unsigned char *ubdat, int32_t *i32dat, int32_t ipx, int32_t iln, int32_t npix, int32_t nlin)
 
int mk_cmp_prof_dum (float *merra_p, float *merra_t, float *merra_q, float *merra_h, float sfcp, float sfct, float sfcrh, float lat, unsigned char *sfc_lvl, unsigned char *trop_lvl, double *cmp_p, double *cmp_t, double *cmp_mixr, double *cmp_h)
 
int mk_cmp_prof (float *merra_p, float *merra_t, float *merra_q, float *merra_h, float sfcp, float sfct, float sfcrh, float lat, unsigned char *sfc_lvl, unsigned char *trop_lvl, double *cmp_p, double *cmp_t, double *cmp_mixr, double *cmp_h)
 
unsigned char get_trop (double *cmp_t, double *cmp_p, unsigned char sfc_lvl)
 
int ncio_grab_ub_ds (int ncid, char *ds_name, unsigned char *data)
 
int ncio_grab_i32_ds (int ncid, char *ds_name, int32_t *data)
 

Variables

struct {
   int   npix
 
   int   nlin
 
   int   nbnd
 
   int   nbnd_albedo
 
   int   nlvl_model
 
   int   scan
 
   int   st_samp
 
   int   g_year
 
   int   g_day
 
dim_ctl_
 

Function Documentation

◆ ch_cld_sci_()

void ch_cld_sci_ ( float *  ,
int *  ,
unsigned char *  ,
int *  ,
int32_t *  ,
int *  ,
int *  ,
char *   
)

◆ compute_cmp()

int compute_cmp ( l2str *  l2rec)

Definition at line 167 of file get_cmp.c.

◆ get_cmp()

int get_cmp ( l2str *  l2rec,
int  prodnum,
float  prod[] 
)

Definition at line 40 of file get_cmp.c.

◆ get_cmp_byt()

unsigned char* get_cmp_byt ( l2str *  l2rec,
int  prodnum 
)

Definition at line 118 of file get_cmp.c.

◆ get_trop()

unsigned char get_trop ( double *  cmp_t,
double *  cmp_p,
unsigned char  sfc_lvl 
)

Definition at line 1213 of file get_cmp.c.

◆ mk_cmp_prof()

int mk_cmp_prof ( float *  merra_p,
float *  merra_t,
float *  merra_q,
float *  merra_h,
float  sfcp,
float  sfct,
float  sfcrh,
float  lat,
unsigned char *  sfc_lvl,
unsigned char *  trop_lvl,
double *  cmp_p,
double *  cmp_t,
double *  cmp_mixr,
double *  cmp_h 
)

Definition at line 1061 of file get_cmp.c.

◆ mk_cmp_prof_dum()

int mk_cmp_prof_dum ( float *  merra_p,
float *  merra_t,
float *  merra_q,
float *  merra_h,
float  sfcp,
float  sfct,
float  sfcrh,
float  lat,
unsigned char *  sfc_lvl,
unsigned char *  trop_lvl,
double *  cmp_p,
double *  cmp_t,
double *  cmp_mixr,
double *  cmp_h 
)

Definition at line 1041 of file get_cmp.c.

◆ ncio_grab_i32_ds()

int ncio_grab_i32_ds ( int  ncid,
char *  ds_name,
int32_t *  data 
)

Definition at line 1292 of file get_cmp.c.

◆ ncio_grab_ub_ds()

int ncio_grab_ub_ds ( int  ncid,
char *  ds_name,
unsigned char *  data 
)

Definition at line 1248 of file get_cmp.c.

◆ profile_print()

int profile_print ( float *  prof,
unsigned char *  ubdat,
int32_t *  i32dat,
int32_t  ipx,
int32_t  iln,
int32_t  npix,
int32_t  nlin 
)

Definition at line 908 of file get_cmp.c.

◆ set_cmp()

int set_cmp ( l2str *  l2rec,
float **  tdat,
int32_t *  nfloat,
int32_t **  i32dat,
int32_t *  nint32,
unsigned char **  ubdat,
int32_t *  nubyte 
)

Definition at line 198 of file get_cmp.c.

Variable Documentation

◆ dim_ctl_

struct { ... } dim_ctl_

◆ g_day

int g_day

Definition at line 35 of file get_cmp.c.

◆ g_year

int g_year

Definition at line 34 of file get_cmp.c.

◆ nbnd

int nbnd

Definition at line 29 of file get_cmp.c.

◆ nbnd_albedo

int nbnd_albedo

Definition at line 30 of file get_cmp.c.

◆ nlin

int nlin

Definition at line 28 of file get_cmp.c.

◆ nlvl_model

int nlvl_model

Definition at line 31 of file get_cmp.c.

◆ npix

int npix

Definition at line 27 of file get_cmp.c.

◆ scan

int scan

Definition at line 32 of file get_cmp.c.

◆ st_samp

int st_samp

Definition at line 33 of file get_cmp.c.