Commit a8e71d38 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdi.h: cleanup

parent 72bc6e2a
......@@ -278,6 +278,7 @@ void streamDefVlist(int streamID, int vlistID);
/* streamInqVlist: Get the Vlist of a stream */
int streamInqVlist(int streamID);
/* PIO: */
int streamInqVlistIDorig(int streamID);
/* streamInqFiletype: Get the filetype */
......@@ -292,24 +293,24 @@ int streamInqByteorder(int streamID);
/* streamDefCompType: Define compression type */
void streamDefCompType(int streamID, int comptype);
/* streamDefCompLevel: Define compression level */
void streamDefCompLevel(int streamID, int complevel);
/* streamInqCompType: Get compression type */
int streamInqCompType(int streamID);
/* streamDefCompLevel: Define compression level */
void streamDefCompLevel(int streamID, int complevel);
/* streamInqCompLevel: Get compression level */
int streamInqCompLevel(int streamID);
/* streamDefTimestep: Define time step */
int streamDefTimestep(int streamID, int tsID);
/* query currently set timestep id */
int streamInqCurTimestepID(int streamID);
/* streamInqTimestep: Get time step */
int streamInqTimestep(int streamID, int tsID);
/* PIO: query currently set timestep id */
int streamInqCurTimestepID(int streamID);
char *streamFilename(int streamID);
char *streamFilesuffix(int filetype);
int streamNtsteps(int streamID);
......@@ -319,31 +320,31 @@ int streamInqNvars ( int streamID );
/* STREAM var I/O routines */
/* streamReadVar: Read a variable */
void streamReadVar(int streamID, int varID, double *data_vec, int *nmiss);
/* streamWriteVar: Write a variable */
void streamWriteVar(int streamID, int varID, const double *data_vec, int nmiss);
void streamWriteVarF(int streamID, int varID, const float *data_vec, int nmiss);
/* streamReadVarSlice: Read a horizontal slice of a variable */
void streamReadVarSlice(int streamID, int varID, int levelID, double *data_vec, int *nmiss);
/* streamReadVar: Read a variable */
void streamReadVar(int streamID, int varID, double *data_vec, int *nmiss);
/* streamWriteVarSlice: Write a horizontal slice of a variable */
void streamWriteVarSlice(int streamID, int varID, int levelID, const double *data_vec, int nmiss);
void streamWriteVarSliceF(int streamID, int varID, int levelID, const float *data_vec, int nmiss);
/* streamReadVarSlice: Read a horizontal slice of a variable */
void streamReadVarSlice(int streamID, int varID, int levelID, double *data_vec, int *nmiss);
void streamWriteVarChunk(int streamID, int varID, const int rect[][2],
const double *data_vec, int nmiss);
/* STREAM record I/O routines */
void streamInqRecord(int streamID, int *varID, int *levelID);
void streamDefRecord(int streamID, int varID, int levelID);
void streamReadRecord(int streamID, double *data_vec, int *nmiss);
void streamInqRecord(int streamID, int *varID, int *levelID);
void streamWriteRecord(int streamID, const double *data_vec, int nmiss);
void streamWriteRecordF(int streamID, const float *data_vec, int nmiss);
void streamReadRecord(int streamID, double *data_vec, int *nmiss);
void streamCopyRecord(int streamIDdest, int streamIDsrc);
void streamInqGinfo(int streamID, int *intnum, float *fltnum, off_t *bignum);
......@@ -429,8 +430,8 @@ int vlistInqVarZaxis(int vlistID, int varID);
/* used in MPIOM */
int vlistInqVarID(int vlistID, int code);
int vlistInqVarTsteptype(int vlistID, int varID);
void vlistDefVarTsteptype(int vlistID, int varID, int tsteptype);
int vlistInqVarTsteptype(int vlistID, int varID);
void vlistDefVarCompType(int vlistID, int varID, int comptype);
int vlistInqVarCompType(int vlistID, int varID);
......@@ -638,45 +639,45 @@ int gridInqYvals(int gridID, double *yvals_vec);
/* gridDefXname: Define the name of a X-axis */
void gridDefXname(int gridID, const char *xname);
/* gridInqXname: Get the name of a X-axis */
void gridInqXname(int gridID, char *xname);
/* gridDefXlongname: Define the longname of a X-axis */
void gridDefXlongname(int gridID, const char *xlongname);
/* gridInqXlongname: Get the longname of a X-axis */
void gridInqXlongname(int gridID, char *xlongname);
/* gridDefXunits: Define the units of a X-axis */
void gridDefXunits(int gridID, const char *xunits);
/* gridInqXunits: Get the units of a X-axis */
void gridInqXunits(int gridID, char *xunits);
/* gridDefYname: Define the name of a Y-axis */
void gridDefYname(int gridID, const char *yname);
/* gridInqYname: Get the name of a Y-axis */
void gridInqYname(int gridID, char *yname);
/* gridDefYlongname: Define the longname of a Y-axis */
void gridDefYlongname(int gridID, const char *ylongname);
/* gridInqYlongname: Get the longname of a Y-axis */
void gridInqYlongname(int gridID, char *ylongname);
/* gridDefYunits: Define the units of a Y-axis */
void gridDefYunits(int gridID, const char *yunits);
/* gridInqXname: Get the name of a X-axis */
void gridInqXname(int gridID, char *xname);
/* gridInqXlongname: Get the longname of a X-axis */
void gridInqXlongname(int gridID, char *xlongname);
/* gridInqYunits: Get the units of a Y-axis */
void gridInqYunits(int gridID, char *yunits);
/* gridInqXstdname: Get the standard name of a X-axis */
void gridInqXstdname(int gridID, char *xstdname);
/* gridInqXunits: Get the units of a X-axis */
void gridInqXunits(int gridID, char *xunits);
/* gridInqYname: Get the name of a Y-axis */
void gridInqYname(int gridID, char *yname);
/* gridInqYlongname: Get the longname of a Y-axis */
void gridInqYlongname(int gridID, char *ylongname);
/* gridInqYstdname: Get the standard name of a Y-axis */
void gridInqYstdname(int gridID, char *ystdname);
/* gridInqYunits: Get the units of a Y-axis */
void gridInqYunits(int gridID, char *yunits);
/* gridDefPrec: Define the precision of a Grid */
void gridDefPrec(int gridID, int prec);
......@@ -694,23 +695,23 @@ double gridInqYinc(int gridID);
int gridIsCircular(int gridID);
int gridIsRotated(int gridID);
double gridInqXpole(int gridID);
void gridDefXpole(int gridID, double xpole);
double gridInqYpole(int gridID);
double gridInqXpole(int gridID);
void gridDefYpole(int gridID, double ypole);
double gridInqAngle(int gridID);
double gridInqYpole(int gridID);
void gridDefAngle(int gridID, double angle);
void gridDefTrunc(int gridID, int trunc);
double gridInqAngle(int gridID);
int gridInqTrunc(int gridID);
void gridDefTrunc(int gridID, int trunc);
/* Hexagonal GME grid */
int gridInqGMEnd(int gridID);
void gridDefGMEnd(int gridID, int nd);
int gridInqGMEni(int gridID);
int gridInqGMEnd(int gridID);
void gridDefGMEni(int gridID, int ni);
int gridInqGMEni2(int gridID);
int gridInqGMEni(int gridID);
void gridDefGMEni2(int gridID, int ni2);
int gridInqGMEni3(int gridID);
int gridInqGMEni2(int gridID);
void gridDefGMEni3(int gridID, int ni3);
int gridInqGMEni3(int gridID);
/* Reference of an unstructured grid */
......@@ -837,24 +838,24 @@ void zaxisInqUUID(int zaxisID, char *uuid_cbuf);
/* zaxisDefName: Define the name of a Z-axis */
void zaxisDefName(int zaxisID, const char *name);
/* zaxisDefLongname: Define the longname of a Z-axis */
void zaxisDefLongname(int zaxisID, const char *longname);
/* zaxisDefUnits: Define the units of a Z-axis */
void zaxisDefUnits(int zaxisID, const char *units);
/* zaxisInqName: Get the name of a Z-axis */
void zaxisInqName(int zaxisID, char *name);
/* zaxisDefLongname: Define the longname of a Z-axis */
void zaxisDefLongname(int zaxisID, const char *longname);
/* zaxisInqLongname: Get the longname of a Z-axis */
void zaxisInqLongname(int zaxisID, char *longname);
/* zaxisInqStdname: Get the standard name of a Z-axis */
void zaxisInqStdname(int zaxisID, char *stdname);
/* zaxisDefUnits: Define the units of a Z-axis */
void zaxisDefUnits(int zaxisID, const char *units);
/* zaxisInqUnits: Get the units of a Z-axis */
void zaxisInqUnits(int zaxisID, char *units);
/* zaxisInqStdname: Get the standard name of a Z-axis */
void zaxisInqStdname(int zaxisID, char *stdname);
void zaxisDefPrec(int zaxisID, int prec);
int zaxisInqPrec(int zaxisID);
......@@ -869,14 +870,14 @@ void zaxisDefVct(int zaxisID, int size, const double *vct_vec);
void zaxisInqVct(int zaxisID, double *vct_vec);
int zaxisInqVctSize(int zaxisID);
const double *zaxisInqVctPtr(int zaxisID);
void zaxisDefLbounds(int zaxisID, const double *lbounds_vec);
int zaxisInqLbounds(int zaxisID, double *lbounds_vec);
int zaxisInqUbounds(int zaxisID, double *ubounds_vec);
int zaxisInqWeights(int zaxisID, double *weights_vec);
double zaxisInqLbound(int zaxisID, int index);
double zaxisInqUbound(int zaxisID, int index);
void zaxisDefLbounds(int zaxisID, const double *lbounds_vec);
void zaxisDefUbounds(int zaxisID, const double *ubounds_vec);
int zaxisInqUbounds(int zaxisID, double *ubounds_vec);
double zaxisInqUbound(int zaxisID, int index);
void zaxisDefWeights(int zaxisID, const double *weights_vec);
int zaxisInqWeights(int zaxisID, double *weights_vec);
void zaxisChangeType(int zaxisID, int zaxistype);
/* TAXIS routines */
......@@ -899,18 +900,36 @@ void taxisDefVdate(int taxisID, int date);
/* taxisDefVtime: Define the verification time */
void taxisDefVtime(int taxisID, int time);
/* taxisInqVdate: Get the verification date */
int taxisInqVdate(int taxisID);
/* taxisInqVtime: Get the verification time */
int taxisInqVtime(int taxisID);
/* taxisDefRdate: Define the reference date */
void taxisDefRdate(int taxisID, int date);
/* taxisDefRtime: Define the reference time */
void taxisDefRtime(int taxisID, int time);
/* taxisInqRdate: Get the reference date */
int taxisInqRdate(int taxisID);
/* taxisInqRtime: Get the reference time */
int taxisInqRtime(int taxisID);
/* taxisDefFdate: Define the forecast reference date */
void taxisDefFdate(int taxisID, int date);
/* taxisDefFtime: Define the forecast reference time */
void taxisDefFtime(int taxisID, int time);
/* taxisInqFdate: Get the forecast reference date */
int taxisInqFdate(int taxisID);
/* taxisInqFtime: Get the forecast reference time */
int taxisInqFtime(int taxisID);
int taxisHasBounds(int taxisID);
void taxisDeleteBounds(int taxisID);
......@@ -926,35 +945,19 @@ void taxisInqVtimeBounds(int taxisID, int *vtime_lb, int *vtime_ub);
/* taxisDefCalendar: Define the calendar */
void taxisDefCalendar(int taxisID, int calendar);
/* taxisInqCalendar: Get the calendar */
int taxisInqCalendar(int taxisID);
void taxisDefTunit(int taxisID, int tunit);
int taxisInqTunit(int taxisID);
void taxisDefForecastTunit(int taxisID, int tunit);
int taxisInqForecastTunit(int taxisID);
void taxisDefNumavg(int taxisID, int numavg);
int taxisInqType(int taxisID);
/* taxisInqVdate: Get the verification date */
int taxisInqVdate(int taxisID);
/* taxisInqVtime: Get the verification time */
int taxisInqVtime(int taxisID);
/* taxisInqRdate: Get the reference date */
int taxisInqRdate(int taxisID);
/* taxisInqRtime: Get the reference time */
int taxisInqRtime(int taxisID);
/* taxisInqFdate: Get the forecast reference date */
int taxisInqFdate(int taxisID);
/* taxisInqFtime: Get the forecast reference time */
int taxisInqFtime(int taxisID);
/* taxisInqCalendar: Get the calendar */
int taxisInqCalendar(int taxisID);
int taxisInqTunit(int taxisID);
int taxisInqNumavg(int taxisID);
char *tunitNamePtr(int tunitID);
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment