OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ancnrt_proto.h File Reference
#include <stdint.h>
Include dependency graph for ancnrt_proto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rdgrid_ ()
 
void gregor_ (int *julday, int *year, int *month, int *day)
 
int readgrib2 (char *file, int npix, int nlin, int rgmode, float *data)
 
int grib2_t (char *grib2_t_str, int *year, int *doy, int *hour, int *npix, int *nlin, int *h_fcst)
 
int readgrib2_3d (char *file, char *grib2_t_str, int npix, int nlin, float *data, int nprfl, int *year, int *month, int *day, int *hour)
 
int count_annot (char *filename)
 
void shift_180 (float *in, int npix, int nlin, float fact, float *out)
 
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_t findGeomId (int32_t fid, char *geomname)
 
int32_t linkGeom (int32_t gridid, int32_t 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, int32_t *shape, int32_t datatype, char *datalabel, void *data)
 
int32_t rewrtsds (int32_t sdsid, int32_t *shape, void *data)
 
int rdsds (char *filename, char *vgname, char *sdsname, int32_t *dimsizes, void *inData)
 
int wrtattr (int32_t dfile, struct annotation *annot, int numannarr)
 
int32_t SDSinFile (char *sdsname, char *longname, char *units, char *datafmt, int32_t datatype, int32_t sdfid, int32_t rank, int32_t *shape, void *data, int32_t gridid)
 
void pexit (char *string)
 
int pwarning (char *string)
 

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.

◆ count_annot()

int count_annot ( char *  filename)

Definition at line 11 of file countann.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.

◆ gregor_()

void gregor_ ( int *  julday,
int *  year,
int *  month,
int *  day 
)

◆ grib2_t()

int grib2_t ( char *  grib2_t_str,
int *  year,
int *  doy,
int *  hour,
int *  npix,
int *  nlin,
int *  h_fcst 
)

Definition at line 158 of file readgrib.c.

◆ gridToGrid()

int32_t gridToGrid ( int32_t  outergridid,
int32_t  innergridid 
)

Definition at line 71 of file ANCroutines.c.

◆ linkGeom()

int32_t linkGeom ( int32_t  gridid,
int32_t  geomid 
)

◆ pexit()

void pexit ( char *  string)

Definition at line 10 of file pexit.c.

◆ pwarning()

int pwarning ( char *  string)

Definition at line 21 of file pexit.c.

◆ rdgrid_()

void rdgrid_ ( )

◆ rdsds()

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

◆ readgrib2()

int readgrib2 ( char *  file,
int  npix,
int  nlin,
int  rgmode,
float *  data 
)

Definition at line 77 of file readgrib.c.

◆ readgrib2_3d()

int readgrib2_3d ( char *  file,
char *  grib2_t_str,
int  npix,
int  nlin,
float *  data,
int  nprfl,
int *  year,
int *  month,
int *  day,
int *  hour 
)

Definition at line 267 of file readgrib.c.

◆ rewrtsds()

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

◆ SDSinFile()

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

◆ setSDSref()

int setSDSref ( int32_t  sdsid,
int32_t  gridid 
)

Definition at line 245 of file ANCroutines.c.

◆ setupGrid()

int32_t setupGrid ( int32_t  fid,
char *  grpname 
)

Definition at line 51 of file ANCroutines.c.

◆ shift_180()

void shift_180 ( float *  in,
int  npix,
int  nlin,
float  fact,
float *  out 
)

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

◆ wrtattr()

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

Definition at line 631 of file ANCroutines.c.

◆ wrtsds()

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