OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ncdfbin_utils.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <netcdf.h>
#include <nc4utils.h>
#include <ncdfbin_utils.h>
Include dependency graph for ncdfbin_utils.c:

Go to the source code of this file.

Macros

#define MAX_PRODS   256
 
#define FILE_IS_32   0
 
#define FILE_IS_64   1
 

Functions

int defineBinList_nc (int32_t deflate, int32_t grpid)
 
int defineBinList64_nc (int32_t deflate, int32_t grpid)
 
int writeBinList_nc (int32_t grpid, int32_t nbins_to_write, const void *data)
 
int defineBinData_nc (int32_t deflate, int32_t grpid, int32_t nprods, char **prodnames)
 
int writeBinData_nc (int32_t grpid, int32_t nbins_to_write, int32_t iprod, const void *data)
 
int defineBinIndex_nc (int32_t deflate, int32_t grpid)
 
int defineBinIndex64_nc (int32_t deflate, int32_t grpid)
 
int writeBinIndex_nc (int32_t grpid, int32_t n_write, const void *data)
 
int defineQuality_nc (int32_t deflate, int32_t grpid)
 
int writeQuality_nc (int32_t grpid, int32_t nbins_to_write, const void *data)
 

Macro Definition Documentation

◆ FILE_IS_32

#define FILE_IS_32   0

Definition at line 25 of file ncdfbin_utils.c.

◆ FILE_IS_64

#define FILE_IS_64   1

Definition at line 26 of file ncdfbin_utils.c.

◆ MAX_PRODS

#define MAX_PRODS   256

Definition at line 24 of file ncdfbin_utils.c.

Function Documentation

◆ defineBinData_nc()

int defineBinData_nc ( int32_t  deflate,
int32_t  grpid,
int32_t  nprods,
char **  prodnames 
)

Definition at line 179 of file ncdfbin_utils.c.

◆ defineBinIndex64_nc()

int defineBinIndex64_nc ( int32_t  deflate,
int32_t  grpid 
)

Definition at line 305 of file ncdfbin_utils.c.

◆ defineBinIndex_nc()

int defineBinIndex_nc ( int32_t  deflate,
int32_t  grpid 
)

Definition at line 252 of file ncdfbin_utils.c.

◆ defineBinList64_nc()

int defineBinList64_nc ( int32_t  deflate,
int32_t  grpid 
)

Definition at line 99 of file ncdfbin_utils.c.

◆ defineBinList_nc()

int defineBinList_nc ( int32_t  deflate,
int32_t  grpid 
)

Definition at line 42 of file ncdfbin_utils.c.

◆ defineQuality_nc()

int defineQuality_nc ( int32_t  deflate,
int32_t  grpid 
)

Definition at line 373 of file ncdfbin_utils.c.

◆ writeBinData_nc()

int writeBinData_nc ( int32_t  grpid,
int32_t  nbins_to_write,
int32_t  iprod,
const void *  data 
)

Definition at line 232 of file ncdfbin_utils.c.

◆ writeBinIndex_nc()

int writeBinIndex_nc ( int32_t  grpid,
int32_t  n_write,
const void *  data 
)

Definition at line 359 of file ncdfbin_utils.c.

◆ writeBinList_nc()

int writeBinList_nc ( int32_t  grpid,
int32_t  nbins_to_write,
const void *  data 
)

Definition at line 158 of file ncdfbin_utils.c.

◆ writeQuality_nc()

int writeQuality_nc ( int32_t  grpid,
int32_t  nbins_to_write,
const void *  data 
)

Definition at line 397 of file ncdfbin_utils.c.