OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ANCroutines.c File Reference
#include <mfhdf.h>
#include "ancil.h"
#include "l1io.h"
Include dependency graph for ANCroutines.c:

Go to the source code of this file.

Functions

int startHDF (char *outfile, int32_t *sdfid, int32_t *fid, int32_t mode)
 
int32_t setupGrid (int32_t fid, char *grpname)
 
int32_t gridToGrid (int32_t outergridid, int32_t innergridid)
 
int32_t writeGeom (int32_t fid, int32_t gridid, char *geomname, int32_t bin_meth, int32_t registration, float vsize, float hsize, float max_north, float max_south, float max_west, float max_east)
 
int32 findGeomId (int32 fid, char *geomname)
 
int32 linkGeom (int32 gridid, int32 geomid)
 
int32 detachGeom (int32 geomid)
 
int addAttr (int32 sdsid, char *dataattr, int32 datatype, char *dataunit)
 
int setSDSref (int32 sdsid, int32 gridid)
 
int deattachHDFgrid (int32 gridid)
 
int closeHDFstructs (int32 sdfid, int32 fid)
 
int32 wrtsds (int32 sdfid, int rank, shape, int32 datatype, char *datalabel, void *data)
 
int32 rewrtsds (int32 sdsid, shape, void *data)
 
int rdsds (char *filename, char *vgname, char *sdsname, dimsizes, void *inData)
 
int32 SDSinFile (char *sdsname, char *longname, char *units, char *datafmt, int32 datatype, int32 sdfid, int32 rank, shape, void *data, int32 gridid)
 
int wrtattr (int32 dfile, struct annotation *annot, int numannarr)
 

Function Documentation

◆ addAttr()

int addAttr ( int32  sdsid,
char *  dataattr,
int32  datatype,
char *  dataunit 
)

Definition at line 223 of file ANCroutines.c.

◆ closeHDFstructs()

int closeHDFstructs ( int32  sdfid,
int32  fid 
)

Definition at line 282 of file ANCroutines.c.

◆ deattachHDFgrid()

int deattachHDFgrid ( int32  gridid)

Definition at line 268 of file ANCroutines.c.

◆ detachGeom()

int32 detachGeom ( int32  geomid)

Definition at line 206 of file ANCroutines.c.

◆ findGeomId()

int32 findGeomId ( int32  fid,
char *  geomname 
)

Definition at line 163 of file ANCroutines.c.

◆ gridToGrid()

int32_t gridToGrid ( int32_t  outergridid,
int32_t  innergridid 
)

Definition at line 71 of file ANCroutines.c.

◆ linkGeom()

int32 linkGeom ( int32  gridid,
int32  geomid 
)

Definition at line 187 of file ANCroutines.c.

◆ rdsds()

int rdsds ( char *  filename,
char *  vgname,
char *  sdsname,
dimsizes  ,
void *  inData 
)

Definition at line 458 of file ANCroutines.c.

◆ rewrtsds()

int32 rewrtsds ( int32  sdsid,
shape  ,
void *  data 
)

Definition at line 400 of file ANCroutines.c.

◆ SDSinFile()

int32 SDSinFile ( char *  sdsname,
char *  longname,
char *  units,
char *  datafmt,
int32  datatype,
int32  sdfid,
int32  rank,
shape  ,
void *  data,
int32  gridid 
)

Definition at line 547 of file ANCroutines.c.

◆ setSDSref()

int setSDSref ( int32  sdsid,
int32  gridid 
)

Definition at line 246 of file ANCroutines.c.

◆ setupGrid()

int32_t setupGrid ( int32_t  fid,
char *  grpname 
)

Definition at line 51 of file ANCroutines.c.

◆ startHDF()

int startHDF ( char *  outfile,
int32_t *  sdfid,
int32_t *  fid,
int32_t  mode 
)

Definition at line 27 of file ANCroutines.c.

◆ writeGeom()

int32_t writeGeom ( int32_t  fid,
int32_t  gridid,
char *  geomname,
int32_t  bin_meth,
int32_t  registration,
float  vsize,
float  hsize,
float  max_north,
float  max_south,
float  max_west,
float  max_east 
)

Definition at line 93 of file ANCroutines.c.

◆ wrtattr()

int wrtattr ( int32  dfile,
struct annotation annot,
int  numannarr 
)

Definition at line 631 of file ANCroutines.c.

◆ wrtsds()

int32 wrtsds ( int32  sdfid,
int  rank,
shape  ,
int32  datatype,
char *  datalabel,
void *  data 
)

Definition at line 346 of file ANCroutines.c.