OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Functions

int startHDF (char *outfile, int32 *sdfid, int32 *fid, int32 mode)
 
int32 setupGrid (int32 fid, char *grpname)
 
int32 gridToGrid (int32 outergridid, int32 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_t findGeomId (int32_t fid, char *geomname)
 
int32 linkGeom (int32 gridid, int32 geomid)
 
int32_t detachGeom (int32_t geomid)
 
int addAttr (int32_t sdsid, char *dataattr, int32_t datatype, char *dataunit)
 
int setSDSref (int32_t sdsid, int32_t gridid)
 
int deattachHDFgrid (int32_t gridid)
 
int closeHDFstructs (int32_t sdfid, int32_t fid)
 
int32_t wrtsds (int32_t sdfid, int rank, shape, int32_t datatype, char *datalabel, void *data)
 
int32_t rewrtsds (int32_t sdsid, shape, void *data)
 
int rdsds (char *filename, char *vgname, char *sdsname, dimsizes, void *inData)
 
int32_t SDSinFile (char *sdsname, char *longname, char *units, char *datafmt, int32_t datatype, int32_t sdfid, int32_t rank, shape, void *data, int32_t gridid)
 
int wrtattr (int32_t dfile, struct annotation *lannot, int numannarr)
 

Function Documentation

◆ addAttr()

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

Definition at line 222 of file ANCroutines.c.

◆ closeHDFstructs()

int closeHDFstructs ( int32_t  sdfid,
int32_t  fid 
)

Definition at line 281 of file ANCroutines.c.

◆ deattachHDFgrid()

int deattachHDFgrid ( int32_t  gridid)

Definition at line 267 of file ANCroutines.c.

◆ detachGeom()

int32_t detachGeom ( int32_t  geomid)

Definition at line 205 of file ANCroutines.c.

◆ findGeomId()

int32_t findGeomId ( int32_t  fid,
char *  geomname 
)

Definition at line 162 of file ANCroutines.c.

◆ gridToGrid()

int32 gridToGrid ( int32  outergridid,
int32  innergridid 
)

Definition at line 70 of file ANCroutines.c.

◆ linkGeom()

int32 linkGeom ( int32  gridid,
int32  geomid 
)

Definition at line 186 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_t rewrtsds ( int32_t  sdsid,
shape  ,
void *  data 
)

Definition at line 400 of file ANCroutines.c.

◆ SDSinFile()

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

Definition at line 547 of file ANCroutines.c.

◆ setSDSref()

int setSDSref ( int32_t  sdsid,
int32_t  gridid 
)

Definition at line 245 of file ANCroutines.c.

◆ setupGrid()

int32 setupGrid ( int32  fid,
char *  grpname 
)

Definition at line 50 of file ANCroutines.c.

◆ startHDF()

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

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

◆ wrtattr()

int wrtattr ( int32_t  dfile,
struct annotation lannot,
int  numannarr 
)

Definition at line 631 of file ANCroutines.c.

◆ wrtsds()

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

Definition at line 346 of file ANCroutines.c.