OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
HDFroutines.c File Reference
#include "netcdf.h"
#include <mfhdf.h>
#include "anc.h"
#include "ancproto.h"
Include dependency graph for HDFroutines.c:

Go to the source code of this file.

Functions

int openHDF (char *infile, int32_t *sdfid, int32_t *fid)
 
int32_t rdancattr (int32_t sdfid, char *attr_name, void *buf)
 
int rdlatlon (int32_t sdfid, int32_t *dims, float *lat_buf, float *lon_buf)
 
int closeHDF (int32_t sdfid, int32_t fid)
 
int get_clim_data (int32_t fid, int32_t sdfid, int16_t parm_flag, int16_t month, int32_t *dims, float *lat_buf, float *lon_buf, void *parm_buf)
 
int get_NRT_data (int32_t fid, int32_t sdfid, char *anc_cor_file, int16_t parm_flag, int32_t *dims, float *lat_buf, float *lon_buf, void *parm_buf, int8_t *qc_buf)
 
int corr_oz (char *oz_corr_file, int16 *oz_dat, char *qc_dat, int32 *dims, int16 yr, int16 doy, int oz_typ)
 
int get_refs (int32_t fid, int32_t sdfid, int32_t vid, char *parm_label, char *QC_label, int32_t *geom_id, int32_t *parm_sdsid, int32_t *QC_sdsid, int32_t *dims)
 

Function Documentation

◆ closeHDF()

int closeHDF ( int32_t  sdfid,
int32_t  fid 
)

Definition at line 221 of file HDFroutines.c.

◆ corr_oz()

int corr_oz ( char *  oz_corr_file,
int16 *  oz_dat,
char *  qc_dat,
int32 *  dims,
int16  yr,
int16  doy,
int  oz_typ 
)

Definition at line 492 of file HDFroutines.c.

◆ get_clim_data()

int get_clim_data ( int32_t  fid,
int32_t  sdfid,
int16_t  parm_flag,
int16_t  month,
int32_t *  dims,
float *  lat_buf,
float *  lon_buf,
void *  parm_buf 
)

Definition at line 264 of file HDFroutines.c.

◆ get_NRT_data()

int get_NRT_data ( int32_t  fid,
int32_t  sdfid,
char *  anc_cor_file,
int16_t  parm_flag,
int32_t *  dims,
float *  lat_buf,
float *  lon_buf,
void *  parm_buf,
int8_t *  qc_buf 
)

Definition at line 360 of file HDFroutines.c.

◆ get_refs()

int get_refs ( int32_t  fid,
int32_t  sdfid,
int32_t  vid,
char *  parm_label,
char *  QC_label,
int32_t *  geom_id,
int32_t *  parm_sdsid,
int32_t *  QC_sdsid,
int32_t *  dims 
)

Definition at line 726 of file HDFroutines.c.

◆ openHDF()

int openHDF ( char *  infile,
int32_t *  sdfid,
int32_t *  fid 
)

Definition at line 71 of file HDFroutines.c.

◆ rdancattr()

int32_t rdancattr ( int32_t  sdfid,
char *  attr_name,
void *  buf 
)

Definition at line 121 of file HDFroutines.c.

◆ rdlatlon()

int rdlatlon ( int32_t  sdfid,
int32_t *  dims,
float *  lat_buf,
float *  lon_buf 
)

Definition at line 171 of file HDFroutines.c.