10 #include <sys/types.h>
12 #if defined(__cplusplus)
16 #define CDI_MAX_NAME 256
18 #define CDI_UNDEFID -1
23 #define CDI_BIGENDIAN 0
24 #define CDI_LITTLEENDIAN 1
33 #define CDI_ESYSTEM -10
34 #define CDI_EINVAL -20
35 #define CDI_EUFTYPE -21
36 #define CDI_ELIBNAVAIL -22
37 #define CDI_EUFSTRUCT -23
39 #define CDI_ELIMIT -99
43 #define FILETYPE_GRB 1
44 #define FILETYPE_GRB2 2
46 #define FILETYPE_NC2 4
47 #define FILETYPE_NC4 5
48 #define FILETYPE_NC4C 6
49 #define FILETYPE_SRV 7
50 #define FILETYPE_EXT 8
51 #define FILETYPE_IEG 9
55 #define COMPRESS_NONE 0
56 #define COMPRESS_SZIP 1
57 #define COMPRESS_GZIP 2
58 #define COMPRESS_BZIP2 3
59 #define COMPRESS_ZIP 4
60 #define COMPRESS_JPEG 5
64 #define DATATYPE_PACK 0
65 #define DATATYPE_PACK1 1
66 #define DATATYPE_PACK2 2
67 #define DATATYPE_PACK3 3
68 #define DATATYPE_PACK4 4
69 #define DATATYPE_PACK5 5
70 #define DATATYPE_PACK6 6
71 #define DATATYPE_PACK7 7
72 #define DATATYPE_PACK8 8
73 #define DATATYPE_PACK9 9
74 #define DATATYPE_PACK10 10
75 #define DATATYPE_PACK11 11
76 #define DATATYPE_PACK12 12
77 #define DATATYPE_PACK13 13
78 #define DATATYPE_PACK14 14
79 #define DATATYPE_PACK15 15
80 #define DATATYPE_PACK16 16
81 #define DATATYPE_PACK17 17
82 #define DATATYPE_PACK18 18
83 #define DATATYPE_PACK19 19
84 #define DATATYPE_PACK20 20
85 #define DATATYPE_PACK21 21
86 #define DATATYPE_PACK22 22
87 #define DATATYPE_PACK23 23
88 #define DATATYPE_PACK24 24
89 #define DATATYPE_PACK25 25
90 #define DATATYPE_PACK26 26
91 #define DATATYPE_PACK27 27
92 #define DATATYPE_PACK28 28
93 #define DATATYPE_PACK29 29
94 #define DATATYPE_PACK30 30
95 #define DATATYPE_PACK31 31
96 #define DATATYPE_PACK32 32
97 #define DATATYPE_CPX32 64
98 #define DATATYPE_CPX64 128
99 #define DATATYPE_FLT32 132
100 #define DATATYPE_FLT64 164
101 #define DATATYPE_INT8 208
102 #define DATATYPE_INT16 216
103 #define DATATYPE_INT32 232
104 #define DATATYPE_UINT8 308
105 #define DATATYPE_UINT16 316
106 #define DATATYPE_UINT32 332
109 #define DATATYPE_INT 251
110 #define DATATYPE_FLT 252
111 #define DATATYPE_TXT 253
112 #define DATATYPE_CPX 254
113 #define DATATYPE_UCHAR 255
119 #define CHUNK_LINES 3
123 #define GRID_GENERIC 1
124 #define GRID_GAUSSIAN 2
125 #define GRID_GAUSSIAN_REDUCED 3
126 #define GRID_LONLAT 4
127 #define GRID_SPECTRAL 5
128 #define GRID_FOURIER 6
130 #define GRID_TRAJECTORY 8
131 #define GRID_UNSTRUCTURED 9
132 #define GRID_CURVILINEAR 10
136 #define GRID_SINUSOIDAL 14
137 #define GRID_PROJECTION 15
141 #define ZAXIS_SURFACE 0
142 #define ZAXIS_GENERIC 1
143 #define ZAXIS_HYBRID 2
144 #define ZAXIS_HYBRID_HALF 3
145 #define ZAXIS_PRESSURE 4
146 #define ZAXIS_HEIGHT 5
147 #define ZAXIS_DEPTH_BELOW_SEA 6
148 #define ZAXIS_DEPTH_BELOW_LAND 7
149 #define ZAXIS_ISENTROPIC 8
150 #define ZAXIS_TRAJECTORY 9
151 #define ZAXIS_ALTITUDE 10
152 #define ZAXIS_SIGMA 11
153 #define ZAXIS_MEANSEA 12
155 #define ZAXIS_SEA_BOTTOM 14
156 #define ZAXIS_ATMOSPHERE 15
157 #define ZAXIS_CLOUD_BASE 16
158 #define ZAXIS_CLOUD_TOP 17
159 #define ZAXIS_ISOTHERM_ZERO 18
160 #define ZAXIS_SNOW 19
161 #define ZAXIS_LAKE_BOTTOM 20
162 #define ZAXIS_SEDIMENT_BOTTOM 21
163 #define ZAXIS_SEDIMENT_BOTTOM_TA 22
164 #define ZAXIS_SEDIMENT_BOTTOM_TW 23
165 #define ZAXIS_MIX_LAYER 24
166 #define ZAXIS_REFERENCE 25
170 #define TIME_CONSTANT 0
171 #define TIME_VARIABLE 1
175 #define TSTEP_CONSTANT 0
176 #define TSTEP_INSTANT 1
178 #define TSTEP_ACCUM 3
185 #define TSTEP_RATIO 10
186 #define TSTEP_RANGE 11
187 #define TSTEP_INSTANT2 12
188 #define TSTEP_INSTANT3 13
192 #define TAXIS_ABSOLUTE 1
193 #define TAXIS_RELATIVE 2
194 #define TAXIS_FORECAST 3
198 #define TUNIT_SECOND 1
199 #define TUNIT_MINUTE 2
202 #define TUNIT_MONTH 5
204 #define TUNIT_QUARTER 7
205 #define TUNIT_3HOURS 8
206 #define TUNIT_6HOURS 9
207 #define TUNIT_12HOURS 10
211 #define CALENDAR_STANDARD 0
212 #define CALENDAR_PROLEPTIC 1
213 #define CALENDAR_360DAYS 2
214 #define CALENDAR_365DAYS 3
215 #define CALENDAR_366DAYS 4
216 #define CALENDAR_NONE 5
253 void cdiDecodeDate(
int date,
int *year,
int *month,
int *day);
256 void cdiDecodeTime(
int time,
int *hour,
int *minute,
int *second);
323 void streamReadVar(
int streamID,
int varID,
double *data_vec,
int *nmiss);
326 void streamWriteVar(
int streamID,
int varID,
const double *data_vec,
int nmiss);
327 void streamWriteVarF(
int streamID,
int varID,
const float *data_vec,
int nmiss);
330 void streamReadVarSlice(
int streamID,
int varID,
int levelID,
double *data_vec,
int *nmiss);
333 void streamWriteVarSlice(
int streamID,
int varID,
int levelID,
const double *data_vec,
int nmiss);
334 void streamWriteVarSliceF(
int streamID,
int varID,
int levelID,
const float *data_vec,
int nmiss);
337 const double *data_vec,
int nmiss);
349 void streamInqGinfo(
int streamID,
int *intnum,
float *fltnum, off_t *bignum);
363 void vlistCopy(
int vlistID2,
int vlistID1);
371 void vlistCat(
int vlistID2,
int vlistID1);
420 int vlistDefVar(
int vlistID,
int gridID,
int zaxisID,
int tsteptype);
425 void vlistInqVar(
int vlistID,
int varID,
int *gridID,
int *zaxisID,
int *tsteptype);
524 void vlistDefIndex(
int vlistID,
int varID,
int levID,
int index);
526 void vlistDefFlag(
int vlistID,
int varID,
int levID,
int flag);
534 void vlistDefVarEnsemble(
int vlistID,
int varID,
int ensID,
int ensCount,
int forecast_type);
535 int vlistInqVarEnsemble(
int vlistID,
int varID,
int *ensID,
int *ensCount,
int *forecast_type);
560 int vlistInqAtt(
int vlistID,
int varID,
int attrnum,
char *name,
int *typep,
int *lenp);
561 int vlistDelAtt(
int vlistID,
int varID,
const char *name);
564 int vlistDefAttInt(
int vlistID,
int varID,
const char *name,
int type,
int len,
const int *ip_vec);
566 int vlistDefAttFlt(
int vlistID,
int varID,
const char *name,
int type,
int len,
const double *dp_vec);
568 int vlistDefAttTxt(
int vlistID,
int varID,
const char *name,
int len,
const char *tp_cbuf);
571 int vlistInqAttInt(
int vlistID,
int varID,
const char *name,
int mlen,
int *ip_vec);
573 int vlistInqAttFlt(
int vlistID,
int varID,
const char *name,
int mlen,
double *dp_vec);
575 int vlistInqAttTxt(
int vlistID,
int varID,
const char *name,
int mlen,
char *tp_cbuf);
580 void gridName(
int gridtype,
char *gridname);
736 void gridDefUUID(
int gridID,
const char *uuid_cbuf);
743 void gridDefLCC(
int gridID,
double originLon,
double originLat,
double lonParY,
double lat1,
double lat2,
double xinc,
double yinc,
int projflag,
int scanflag);
744 void gridInqLCC(
int gridID,
double *originLon,
double *originLat,
double *lonParY,
double *lat1,
double *lat2,
double *xinc,
double *yinc,
int *projflag,
int *scanflag);
747 void gridDefLcc2(
int gridID,
double earth_radius,
double lon_0,
double lat_0,
double lat_1,
double lat_2);
748 void gridInqLcc2(
int gridID,
double *earth_radius,
double *lon_0,
double *lat_0,
double *lat_1,
double *lat_2);
751 void gridDefLaea(
int gridID,
double earth_radius,
double lon_0,
double lat_0);
752 void gridInqLaea(
int gridID,
double *earth_radius,
double *lon_0,
double *lat_0);
755 void gridDefArea(
int gridID,
const double *area_vec);
777 void gridDefRowlon(
int gridID,
int nrowlon,
const int *rowlon_vec);
786 void zaxisName(
int zaxistype,
char *zaxisname);
868 void zaxisDefVct(
int zaxisID,
int size,
const double *vct_vec);
965 int institutDef(
int center,
int subcenter,
const char *name,
const char *longname);
966 int institutInq(
int center,
int subcenter,
const char *name,
const char *longname);
975 int modelDef(
int instID,
int modelgribID,
const char *name);
976 int modelInq(
int instID,
int modelgribID,
char *name);
983 void tableWriteC(
const char *filename,
int tableID);
984 void tableWrite(
const char *filename,
int tableID);
986 int tableDef(
int modelID,
int tablenum,
const char *tablename);
989 void tableDefEntry(
int tableID,
int code,
const char *name,
const char *longname,
const char *units);
991 int tableInq(
int modelID,
int tablenum,
const char *tablename);
997 void tableInqPar(
int tableID,
int code,
char *name,
char *longname,
char *units);
1014 #if defined (__cplusplus)
void tableWriteC(const char *filename, int tableID)
char * tableInqParNamePtr(int tableID, int parID)
void gridDefXbounds(int gridID, const double *xbounds_vec)
int vlistInqIndex(int vlistID, int varID, int levID)
int vlistNtsteps(int vlistID)
void zaxisDefNlevRef(int gridID, int nhlev)
void taxisInqVtimeBounds(int taxisID, int *vtime_lb, int *vtime_ub)
void vlistChangeVarZaxis(int vlistID, int varID, int zaxisID)
int modelDef(int instID, int modelgribID, const char *name)
int tableDef(int modelID, int tablenum, const char *tablename)
int gridIsCircular(int gridID)
int gridInqNP(int gridID)
int vlistInqVarGrid(int vlistID, int varID)
int gridInqYsize(int gridID)
int streamNtsteps(int streamID)
int cdiEncodeTime(int hour, int minute, int second)
void vlistDefVarMissval(int vlistID, int varID, double missval)
int gridInqComplexPacking(int gridID)
off_t streamNvals(int streamID)
void vlistDefVarXYZ(int vlistID, int varID, int xyz)
void taxisCopyTimestep(int taxisIDdes, int taxisIDsrc)
double zaxisInqLbound(int zaxisID, int index)
void namespaceSetActive(int namespaceID)
void taxisDeleteBounds(int taxisID)
int institutInqCenter(int instID)
void gridDefPosition(int gridID, int position)
void gridDefGMEni3(int gridID, int ni3)
void taxisDefFtime(int taxisID, int time)
double gridInqXval(int gridID, int index)
void vlistInqVarStdname(int vlistID, int varID, char *stdname)
int taxisInqNumavg(int taxisID)
void vlistDefVarLongname(int vlistID, int varID, const char *longname)
int vlistNzaxis(int vlistID)
int tableInqParLongname(int tableID, int code, char *longname)
int vlistDuplicate(int vlistID)
int tableInqParName(int tableID, int code, char *name)
void vlistInqVarExtra(int vlistID, int varID, char *extra)
void gridDefTrunc(int gridID, int trunc)
void vlistCopy(int vlistID2, int vlistID1)
int vlistNvars(int vlistID)
int vlistInqVarTable(int vlistID, int varID)
void vlistDefVarUnits(int vlistID, int varID, const char *units)
void tableWrite(const char *filename, int tableID)
void gridDefYunits(int gridID, const char *yunits)
void tableDefEntry(int tableID, int code, const char *name, const char *longname, const char *units)
void vlistDefVarModel(int vlistID, int varID, int modelID)
void vlistDefVarExtra(int vlistID, int varID, const char *extra)
int vlistMergedVar(int vlistID, int varID)
void gridDefYlongname(int gridID, const char *ylongname)
void gridDefXpole(int gridID, double xpole)
double gridInqAngle(int gridID)
int vlistInqModel(int vlistID)
void zaxisInqLongname(int zaxisID, char *longname)
void taxisDestroy(int taxisID)
int vlistInqVarCompType(int vlistID, int varID)
void gridInqRowlon(int gridID, int *rowlon_vec)
int zaxisInqNlevRef(int gridID)
int gridInqXbounds(int gridID, double *xbounds_vec)
int tableInqModel(int tableID)
void gridDefArea(int gridID, const double *area_vec)
int taxisHasBounds(int taxisID)
void cdiDecodeParam(int param, int *pnum, int *pcat, int *pdis)
int taxisInqFdate(int taxisID)
void vlistDefVarTsteptype(int vlistID, int varID, int tsteptype)
void streamWriteVar(int streamID, int varID, const double *data_vec, int nmiss)
int vlistInqAttInt(int vlistID, int varID, const char *name, int mlen, int *ip_vec)
void zaxisDefPositive(int zaxisID, int positive)
void vlistClearFlag(int vlistID)
int vlistInqVarNumber(int vlistID, int varID)
void zaxisDefLbounds(int zaxisID, const double *lbounds_vec)
void gridCompress(int gridID)
int streamOpenRead(const char *path)
void gridDefXvals(int gridID, const double *xvals_vec)
int vlistMergedLevel(int vlistID, int varID, int levelID)
void vlistDefVarChunkType(int vlistID, int varID, int chunktype)
void gridDefNP(int gridID, int np)
int vlistInqVarZaxis(int vlistID, int varID)
void vlistDefVarInstitut(int vlistID, int varID, int instID)
void vlistDestroy(int vlistID)
void vlistDefVarCode(int vlistID, int varID, int code)
void zaxisDefWeights(int zaxisID, const double *weights_vec)
int streamInqCompType(int streamID)
void vlistDefVarIntKey(int vlistID, int varID, const char *name, int value)
void gridDefLaea(int gridID, double earth_radius, double lon_0, double lat_0)
int vlistInqVarID(int vlistID, int code)
int institutInqNumber(void)
int tableInqParCode(int tableID, char *name, int *code)
void streamWriteVarSliceF(int streamID, int varID, int levelID, const float *data_vec, int nmiss)
void gridDefLcc2(int gridID, double earth_radius, double lon_0, double lat_0, double lat_1, double lat_2)
int vlistFindVar(int vlistID, int fvarID)
int zaxisInqPositive(int zaxisID)
int gridInqXvals(int gridID, double *xvals_vec)
void cdiDecodeTime(int time, int *hour, int *minute, int *second)
int taxisInqVdate(int taxisID)
void cdiParamToString(int param, char *paramstr, int maxlen)
int vlistInqInstitut(int vlistID)
void vlistInqVar(int vlistID, int varID, int *gridID, int *zaxisID, int *tsteptype)
void gridDefUUID(int gridID, const char *uuid_cbuf)
void vlistDefInstitut(int vlistID, int instID)
void zaxisDefLevels(int zaxisID, const double *levels_vec)
int taxisInqRtime(int taxisID)
void gridDefNumber(int gridID, int number)
int gridInqTrunc(int gridID)
int gridInqReference(int gridID, char *reference)
void streamReadRecord(int streamID, double *data_vec, int *nmiss)
double vlistInqVarScalefactor(int vlistID, int varID)
int streamInqTimestep(int streamID, int tsID)
int vlistInqVarTimave(int vlistID, int varID)
void gridDefXname(int gridID, const char *xname)
int gridInqPrec(int gridID)
void streamInqHistoryString(int streamID, char *history)
int vlistZaxisIndex(int vlistID, int zaxisID)
int streamInqVlistIDorig(int streamID)
void zaxisDefUbounds(int zaxisID, const double *ubounds_vec)
void gridDefLCC(int gridID, double originLon, double originLat, double lonParY, double lat1, double lat2, double xinc, double yinc, int projflag, int scanflag)
int taxisInqRdate(int taxisID)
double zaxisInqUbound(int zaxisID, int index)
void gridDefYpole(int gridID, double ypole)
int streamInqVlist(int streamID)
void vlistDefVarTypeOfGeneratingProcess(int vlistID, int varID, int typeOfGeneratingProcess)
void gridInqLaea(int gridID, double *earth_radius, double *lon_0, double *lat_0)
void gridDefComplexPacking(int gridID, int lpack)
void taxisDefNumavg(int taxisID, int numavg)
void gridInqUUID(int gridID, char *uuid_cbuf)
int gridInqType(int gridID)
int gridInqMask(int gridID, int *mask_vec)
void gridDefPrec(int gridID, int prec)
void cdiDefAdditionalKey(const char *string)
void gridDefRowlon(int gridID, int nrowlon, const int *rowlon_vec)
void vlistDefVarTable(int vlistID, int varID, int tableID)
int gridInqGMEni(int gridID)
int vlistDefAttInt(int vlistID, int varID, const char *name, int type, int len, const int *ip_vec)
int vlistFindLevel(int vlistID, int fvarID, int flevelID)
int tableRead(const char *tablefile)
void gridDefMaskGME(int gridID, const int *mask_vec)
int vlistDefVar(int vlistID, int gridID, int zaxisID, int tsteptype)
void gridDefGMEni(int gridID, int ni)
void gridPrint(int gridID, int opt)
int cdiEncodeParam(int pnum, int pcat, int pdis)
void zaxisInqLevels(int zaxisID, double *levels_vec)
void gridInqLcc2(int gridID, double *earth_radius, double *lon_0, double *lat_0, double *lat_1, double *lat_2)
void zaxisName(int zaxistype, char *zaxisname)
char * gridNamePtr(int gridtype)
void cdiPrintVersion(void)
void vlistInqVarName(int vlistID, int varID, char *name)
int taxisInqFtime(int taxisID)
void gridInqYunits(int gridID, char *yunits)
void gridDestroy(int gridID)
double vlistInqVarAddoffset(int vlistID, int varID)
int gridInqSize(int gridID)
void gridDefYbounds(int gridID, const double *ybounds_vec)
void gridDefMask(int gridID, const int *mask_vec)
void gridInqLCC(int gridID, double *originLon, double *originLat, double *lonParY, double *lat1, double *lat2, double *xinc, double *yinc, int *projflag, int *scanflag)
int streamInqHistorySize(int streamID)
void gridDefXunits(int gridID, const char *xunits)
int gridInqGMEni2(int gridID)
void namespaceDelete(int namespaceID)
void zaxisInqName(int zaxisID, char *name)
void zaxisInqVct(int zaxisID, double *vct_vec)
int modelInq(int instID, int modelgribID, char *name)
void gridInqXunits(int gridID, char *xunits)
void vlistDefVarCompLevel(int vlistID, int varID, int complevel)
int modelInqInstitut(int modelID)
int vlistGrid(int vlistID, int index)
double zaxisInqLevel(int zaxisID, int levelID)
void zaxisPrint(int zaxisID)
void gridDefYname(int gridID, const char *yname)
void gridInqXlongname(int gridID, char *xlongname)
int streamDefTimestep(int streamID, int tsID)
void gridInqYlongname(int gridID, char *ylongname)
const double * zaxisInqLevelsPtr(int zaxisID)
int gridInqMaskGME(int gridID, int *mask_vec)
void vlistChangeVarGrid(int vlistID, int varID, int gridID)
void zaxisInqStdname(int zaxisID, char *stdname)
void zaxisResize(int zaxisID, int size)
void zaxisInqUUID(int zaxisID, char *uuid_cbuf)
int zaxisCreate(int zaxistype, int size)
int zaxisInqLbounds(int zaxisID, double *lbounds_vec)
char * institutInqNamePtr(int instID)
int gridCreate(int gridtype, int size)
int streamOpenAppend(const char *path)
double gridInqXpole(int gridID)
void gridDefNvertex(int gridID, int nvertex)
int vlistInqVarParam(int vlistID, int varID)
char * streamFilename(int streamID)
double vlistInqVarMissval(int vlistID, int varID)
void zaxisDestroy(int zaxisID)
int vlistInqVarTimaccu(int vlistID, int varID)
void gridName(int gridtype, char *gridname)
int taxisInqVtime(int taxisID)
void taxisDefVdateBounds(int taxisID, int vdate_lb, int vdate_ub)
int tableInq(int modelID, int tablenum, const char *tablename)
void gridDefYvals(int gridID, const double *yvals_vec)
int vlistInqVarTypeOfGeneratingProcess(int vlistID, int varID)
void vlistDefVarStdname(int vlistID, int varID, const char *stdname)
int zaxisInqWeights(int zaxisID, double *weights_vec)
int streamInqCompLevel(int streamID)
int vlistInqVarCompLevel(int vlistID, int varID)
void streamWriteVarChunk(int streamID, int varID, const int rect[][2], const double *data_vec, int nmiss)
int vlistGridIndex(int vlistID, int gridID)
double gridInqYpole(int gridID)
int tableInqParUnits(int tableID, int code, char *units)
int vlistInqAtt(int vlistID, int varID, int attrnum, char *name, int *typep, int *lenp)
void zaxisDefUUID(int zaxisID, const char *uuid_cbuf)
void gridInqArea(int gridID, double *area_vec)
int zaxisInqUbounds(int zaxisID, double *ubounds_vec)
void vlistDefNtsteps(int vlistID, int nts)
void taxisDefTunit(int taxisID, int tunit)
void vlistChangeGridIndex(int vlistID, int index, int gridID)
double vlistInqVarDblKey(int vlistID, int varID, const char *name)
double gridInqYinc(int gridID)
char * tunitNamePtr(int tunitID)
void vlistDefVarTimave(int vlistID, int varID, int timave)
void gridInqXstdname(int gridID, char *xstdname)
void taxisDefRdate(int taxisID, int date)
void vlistDefTaxis(int vlistID, int taxisID)
void gridInqYstdname(int gridID, char *ystdname)
int vlistDefAttFlt(int vlistID, int varID, const char *name, int type, int len, const double *dp_vec)
int taxisInqType(int taxisID)
int vlistNrecs(int vlistID)
void zaxisDefPrec(int zaxisID, int prec)
void gridDefXsize(int gridID, int xsize)
char * institutInqLongnamePtr(int instID)
void gridInqYname(int gridID, char *yname)
int cdiEncodeDate(int year, int month, int day)
void taxisDefVtime(int taxisID, int time)
void taxisInqVdateBounds(int taxisID, int *vdate_lb, int *vdate_ub)
void taxisDefFdate(int taxisID, int date)
int vlistInqVarDatatype(int vlistID, int varID)
void vlistMerge(int vlistID2, int vlistID1)
char * cdiLibraryVersion(void)
void gridDefGMEni2(int gridID, int ni2)
void streamSync(int streamID)
void vlistChangeZaxisIndex(int vlistID, int index, int zaxisID)
int institutInqSubcenter(int instID)
int vlistInqTaxis(int vlistID)
char * tableInqNamePtr(int tableID)
void zaxisDefVct(int zaxisID, int size, const double *vct_vec)
void tableInqPar(int tableID, int code, char *name, char *longname, char *units)
int taxisInqTunit(int taxisID)
void vlistInqVarUnits(int vlistID, int varID, char *units)
void vlistDefVarName(int vlistID, int varID, const char *name)
void vlistDefVarDblKey(int vlistID, int varID, const char *name, double value)
int zaxisDuplicate(int zaxisID)
void vlistDefVarEnsemble(int vlistID, int varID, int ensID, int ensCount, int forecast_type)
int vlistGridsizeMax(int vlistID)
int gridInqXsize(int gridID)
int vlistInqVarIntKey(int vlistID, int varID, const char *name)
void gridDefGMEnd(int gridID, int nd)
void vlistDefFlag(int vlistID, int varID, int levID, int flag)
void vlistDefVarAddoffset(int vlistID, int varID, double addoffset)
int streamInqCurTimestepID(int streamID)
void vlistCat(int vlistID2, int vlistID1)
char * tableInqParUnitsPtr(int tableID, int parID)
int vlistInqVarXYZ(int vlistID, int varID)
int zaxisInqVctSize(int zaxisID)
int vlistInqNatts(int vlistID, int varID, int *nattsp)
int streamInqFiletype(int streamID)
double gridInqYval(int gridID, int index)
int vlistNgrids(int vlistID)
char * streamFilesuffix(int filetype)
int vlistDefAttTxt(int vlistID, int varID, const char *name, int len, const char *tp_cbuf)
int vlistNumber(int vlistID)
void cdiClearAdditionalKeys()
void vlistDefModel(int vlistID, int modelID)
int gridInqNvertex(int gridID)
int streamOpenWrite(const char *path, int filetype)
char * cdiStringError(int cdiErrno)
int gridInqGMEni3(int gridID)
int vlistInqVarTsteptype(int vlistID, int varID)
int streamInqByteorder(int streamID)
int gridInqYvals(int gridID, double *yvals_vec)
int gridInqNumber(int gridID)
void streamDefRecord(int streamID, int varID, int levelID)
int cdiHaveFiletype(int filetype)
int vlistInqAttFlt(int vlistID, int varID, const char *name, int mlen, double *dp_vec)
int vlistInqVarInstitut(int vlistID, int varID)
void zaxisChangeType(int zaxisID, int zaxistype)
int gridInqPosition(int gridID)
int institutDef(int center, int subcenter, const char *name, const char *longname)
void streamClose(int streamID)
int zaxisInqSize(int zaxisID)
int gridDuplicate(int gridID)
void cdiDefGlobal(const char *string, int val)
void gridDefYsize(int gridID, int ysize)
char * tableInqParLongnamePtr(int tableID, int parID)
void zaxisDefNumber(int gridID, int number)
void vlistCopyFlag(int vlistID2, int vlistID1)
void vlistDefVarScalefactor(int vlistID, int varID, double scalefactor)
int vlistInqVarCode(int vlistID, int varID)
void streamWriteVarF(int streamID, int varID, const float *data_vec, int nmiss)
void streamWriteRecord(int streamID, const double *data_vec, int nmiss)
double gridInqXinc(int gridID)
void vlistDefVarTimaccu(int vlistID, int varID, int timaccu)
int streamInqNvars(int streamID)
void streamReadVarSlice(int streamID, int varID, int levelID, double *data_vec, int *nmiss)
void gridDefXlongname(int gridID, const char *xlongname)
double cdiInqMissval(void)
void vlistInqVarLongname(int vlistID, int varID, char *longname)
void vlistDefTable(int vlistID, int tableID)
void zaxisDefUnits(int zaxisID, const char *units)
int tableInqNum(int tableID)
void streamDefCompLevel(int streamID, int complevel)
void vlistPrint(int vlistID)
void vlistDefVarDatatype(int vlistID, int varID, int datatype)
void taxisDefVdate(int taxisID, int date)
void streamInqRecord(int streamID, int *varID, int *levelID)
void zaxisDefName(int zaxisID, const char *name)
void gridInqXname(int gridID, char *xname)
void gridDefReference(int gridID, const char *reference)
int modelInqGribID(int modelID)
void taxisDefCalendar(int taxisID, int calendar)
int gridInqYbounds(int gridID, double *ybounds_vec)
void streamDefByteorder(int streamID, int byteorder)
void vlistChangeGrid(int vlistID, int gridID1, int gridID2)
int taxisDuplicate(int taxisID)
void streamDefVlist(int streamID, int vlistID)
void zaxisDefLevel(int zaxisID, int levelID, double levels)
void vlistChangeZaxis(int vlistID, int zaxisID1, int zaxisID2)
int vlistDelAtt(int vlistID, int varID, const char *name)
int zaxisInqLtype(int zaxisID)
void taxisDefType(int taxisID, int type)
void taxisDefRtime(int taxisID, int time)
void gridDefAngle(int gridID, double angle)
int zaxisInqNumber(int gridID)
void vlistDefVarParam(int vlistID, int varID, int param)
int vlistInqVarChunkType(int vlistID, int varID)
int vlistInqVarModel(int vlistID, int varID)
int gridIsRotated(int gridID)
void zaxisDefLongname(int zaxisID, const char *longname)
int gridHasArea(int gridID)
const double * zaxisInqVctPtr(int zaxisID)
int taxisInqCalendar(int taxisID)
void streamCopyRecord(int streamIDdest, int streamIDsrc)
int vlistInqTable(int vlistID)
int vlistInqAttTxt(int vlistID, int varID, const char *name, int mlen, char *tp_cbuf)
void streamDefCompType(int streamID, int comptype)
void gridChangeType(int gridID, int gridtype)
int gridInqGMEnd(int gridID)
int taxisCreate(int timetype)
char * modelInqNamePtr(int modelID)
int zaxisInqType(int zaxisID)
void streamWriteVarSlice(int streamID, int varID, int levelID, const double *data_vec, int nmiss)
int institutInq(int center, int subcenter, const char *name, const char *longname)
void streamWriteRecordF(int streamID, const float *data_vec, int nmiss)
int vlistHasVarKey(int vlistID, int varID, const char *name)
void vlistDefVarCompType(int vlistID, int varID, int comptype)
void streamDefHistory(int streamID, int size, const char *history)
void cdiDefMissval(double missval)
int vlistInqVarEnsemble(int vlistID, int varID, int *ensID, int *ensCount, int *forecast_type)
void taxisDefVtimeBounds(int taxisID, int vtime_lb, int vtime_ub)
void streamReadVar(int streamID, int varID, double *data_vec, int *nmiss)
int zaxisInqPrec(int zaxisID)
void zaxisInqUnits(int zaxisID, char *units)
void cdiDecodeDate(int date, int *year, int *month, int *day)
int vlistInqVarSize(int vlistID, int varID)
void vlistDefIndex(int vlistID, int varID, int levID, int index)
void streamInqGinfo(int streamID, int *intnum, float *fltnum, off_t *bignum)
int vlistInqFlag(int vlistID, int varID, int levID)
int vlistZaxis(int vlistID, int index)
void zaxisDefLtype(int zaxisID, int ltype)