OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ANCroutines.c File Reference
#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 221 of file ANCroutines.c.

◆ closeHDFstructs()

int closeHDFstructs ( int32  sdfid,
int32  fid 
)

Definition at line 280 of file ANCroutines.c.

◆ deattachHDFgrid()

int deattachHDFgrid ( int32  gridid)

Definition at line 266 of file ANCroutines.c.

◆ detachGeom()

int32 detachGeom ( int32  geomid)

Definition at line 204 of file ANCroutines.c.

◆ findGeomId()

int32 findGeomId ( int32  fid,
char *  geomname 
)

Definition at line 161 of file ANCroutines.c.

◆ gridToGrid()

int32_t gridToGrid ( int32_t  outergridid,
int32_t  innergridid 
)

Definition at line 69 of file ANCroutines.c.

◆ linkGeom()

int32 linkGeom ( int32  gridid,
int32  geomid 
)

Definition at line 185 of file ANCroutines.c.

◆ rdsds()

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

Definition at line 456 of file ANCroutines.c.

◆ rewrtsds()

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

Definition at line 398 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 545 of file ANCroutines.c.

◆ setSDSref()

int setSDSref ( int32  sdsid,
int32  gridid 
)

Definition at line 244 of file ANCroutines.c.

◆ setupGrid()

int32_t setupGrid ( int32_t  fid,
char *  grpname 
)

Definition at line 49 of file ANCroutines.c.

◆ startHDF()

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

Definition at line 25 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 91 of file ANCroutines.c.

◆ wrtattr()

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

Definition at line 629 of file ANCroutines.c.

◆ wrtsds()

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

Definition at line 344 of file ANCroutines.c.