VAPoR  0.1
Macros | Functions
cdi.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Macros

#define CDI_MAX_NAME   256 /* max length of a name */
 
#define CDI_UNDEFID   -1
 
#define CDI_GLOBAL   -1 /* Global var ID for vlist */
 
#define CDI_BIGENDIAN   0 /* Byte order BIGENDIAN */
 
#define CDI_LITTLEENDIAN   1 /* Byte order LITTLEENDIAN */
 
#define CDI_REAL   1 /* Real numbers */
 
#define CDI_COMP   2 /* Complex numbers */
 
#define CDI_BOTH   3 /* Both numbers */
 
#define CDI_NOERR   0 /* No Error */
 
#define CDI_ESYSTEM   -10 /* Operating system error */
 
#define CDI_EINVAL   -20 /* Invalid argument */
 
#define CDI_EUFTYPE   -21 /* Unsupported file type */
 
#define CDI_ELIBNAVAIL   -22 /* xxx library not available */
 
#define CDI_EUFSTRUCT   -23 /* Unsupported file structure */
 
#define CDI_EUNC4   -24 /* Unsupported netCDF4 structure */
 
#define CDI_ELIMIT   -99 /* Internal limits exceeded */
 
#define FILETYPE_GRB   1 /* File type GRIB */
 
#define FILETYPE_GRB2   2 /* File type GRIB version 2 */
 
#define FILETYPE_NC   3 /* File type netCDF */
 
#define FILETYPE_NC2   4 /* File type netCDF version 2 (64-bit) */
 
#define FILETYPE_NC4   5 /* File type netCDF version 4 */
 
#define FILETYPE_NC4C   6 /* File type netCDF version 4 (classic) */
 
#define FILETYPE_SRV   7 /* File type SERVICE */
 
#define FILETYPE_EXT   8 /* File type EXTRA */
 
#define FILETYPE_IEG   9 /* File type IEG */
 
#define COMPRESS_NONE   0
 
#define COMPRESS_SZIP   1
 
#define COMPRESS_GZIP   2
 
#define COMPRESS_BZIP2   3
 
#define COMPRESS_ZIP   4
 
#define COMPRESS_JPEG   5
 
#define DATATYPE_PACK   0
 
#define DATATYPE_PACK1   1
 
#define DATATYPE_PACK2   2
 
#define DATATYPE_PACK3   3
 
#define DATATYPE_PACK4   4
 
#define DATATYPE_PACK5   5
 
#define DATATYPE_PACK6   6
 
#define DATATYPE_PACK7   7
 
#define DATATYPE_PACK8   8
 
#define DATATYPE_PACK9   9
 
#define DATATYPE_PACK10   10
 
#define DATATYPE_PACK11   11
 
#define DATATYPE_PACK12   12
 
#define DATATYPE_PACK13   13
 
#define DATATYPE_PACK14   14
 
#define DATATYPE_PACK15   15
 
#define DATATYPE_PACK16   16
 
#define DATATYPE_PACK17   17
 
#define DATATYPE_PACK18   18
 
#define DATATYPE_PACK19   19
 
#define DATATYPE_PACK20   20
 
#define DATATYPE_PACK21   21
 
#define DATATYPE_PACK22   22
 
#define DATATYPE_PACK23   23
 
#define DATATYPE_PACK24   24
 
#define DATATYPE_PACK25   25
 
#define DATATYPE_PACK26   26
 
#define DATATYPE_PACK27   27
 
#define DATATYPE_PACK28   28
 
#define DATATYPE_PACK29   29
 
#define DATATYPE_PACK30   30
 
#define DATATYPE_PACK31   31
 
#define DATATYPE_PACK32   32
 
#define DATATYPE_CPX32   64
 
#define DATATYPE_CPX64   128
 
#define DATATYPE_FLT32   132
 
#define DATATYPE_FLT64   164
 
#define DATATYPE_INT8   208
 
#define DATATYPE_INT16   216
 
#define DATATYPE_INT32   232
 
#define DATATYPE_UINT8   308
 
#define DATATYPE_UINT16   316
 
#define DATATYPE_UINT32   332
 
#define DATATYPE_INT   251
 
#define DATATYPE_FLT   252
 
#define DATATYPE_TXT   253
 
#define DATATYPE_CPX   254
 
#define DATATYPE_UCHAR   255
 
#define CHUNK_AUTO   1 /* use default chunk size */
 
#define CHUNK_GRID   2
 
#define CHUNK_LINES   3
 
#define GRID_GENERIC   1 /* Generic grid */
 
#define GRID_GAUSSIAN   2 /* Regular Gaussian lon/lat grid */
 
#define GRID_GAUSSIAN_REDUCED   3 /* Reduced Gaussian lon/lat grid */
 
#define GRID_LONLAT   4 /* Regular longitude/latitude grid */
 
#define GRID_SPECTRAL   5 /* Spherical harmonic coefficients */
 
#define GRID_FOURIER   6 /* Fourier coefficients */
 
#define GRID_GME   7 /* Icosahedral-hexagonal GME grid */
 
#define GRID_TRAJECTORY   8 /* Trajectory */
 
#define GRID_UNSTRUCTURED   9 /* General unstructured grid */
 
#define GRID_CURVILINEAR   10 /* Curvilinear grid */
 
#define GRID_LCC   11 /* Lambert Conformal Conic (GRIB) */
 
#define GRID_LCC2   12 /* Lambert Conformal Conic (PROJ) */
 
#define GRID_LAEA   13 /* Lambert Azimuthal Equal Area */
 
#define GRID_SINUSOIDAL   14 /* Sinusoidal */
 
#define GRID_PROJECTION   15 /* Projected coordiantes */
 
#define ZAXIS_SURFACE   0 /* Surface level */
 
#define ZAXIS_GENERIC   1 /* Generic level */
 
#define ZAXIS_HYBRID   2 /* Hybrid level */
 
#define ZAXIS_HYBRID_HALF   3 /* Hybrid half level */
 
#define ZAXIS_PRESSURE   4 /* Isobaric pressure level in Pascal */
 
#define ZAXIS_HEIGHT   5 /* Height above ground in meters */
 
#define ZAXIS_DEPTH_BELOW_SEA   6 /* Depth below sea level in meters */
 
#define ZAXIS_DEPTH_BELOW_LAND   7 /* Depth below land surface in centimeters */
 
#define ZAXIS_ISENTROPIC   8 /* Isentropic */
 
#define ZAXIS_TRAJECTORY   9 /* Trajectory */
 
#define ZAXIS_ALTITUDE   10 /* Altitude above mean sea level in meters */
 
#define ZAXIS_SIGMA   11 /* Sigma level */
 
#define ZAXIS_MEANSEA   12 /* Mean sea level */
 
#define ZAXIS_TOA   13 /* Norminal top of atmosphere */
 
#define ZAXIS_SEA_BOTTOM   14 /* Sea bottom */
 
#define ZAXIS_ATMOSPHERE   15 /* Entire atmosphere */
 
#define ZAXIS_CLOUD_BASE   16 /* Cloud base level */
 
#define ZAXIS_CLOUD_TOP   17 /* Level of cloud tops */
 
#define ZAXIS_ISOTHERM_ZERO   18 /* Level of 0o C isotherm */
 
#define ZAXIS_SNOW   19 /* Snow level */
 
#define ZAXIS_LAKE_BOTTOM   20 /* Lake or River Bottom */
 
#define ZAXIS_SEDIMENT_BOTTOM   21 /* Bottom Of Sediment Layer */
 
#define ZAXIS_SEDIMENT_BOTTOM_TA   22 /* Bottom Of Thermally Active Sediment Layer */
 
#define ZAXIS_SEDIMENT_BOTTOM_TW   23 /* Bottom Of Sediment Layer Penetrated By Thermal Wave */
 
#define ZAXIS_MIX_LAYER   24 /* Mixing Layer */
 
#define ZAXIS_REFERENCE   25 /* zaxis reference number */
 
#define TIME_CONSTANT   0 /* obsolate, use TSTEP_CONSTANT */
 
#define TIME_VARIABLE   1 /* obsolate, use TSTEP_INSTANT */
 
#define TSTEP_CONSTANT   0 /* Constant */
 
#define TSTEP_INSTANT   1 /* Instant */
 
#define TSTEP_AVG   2 /* Average */
 
#define TSTEP_ACCUM   3 /* Accumulation */
 
#define TSTEP_MAX   4 /* Maximum */
 
#define TSTEP_MIN   5 /* Minimum */
 
#define TSTEP_DIFF   6 /* Difference */
 
#define TSTEP_RMS   7 /* Root mean square */
 
#define TSTEP_SD   8 /* Standard deviation */
 
#define TSTEP_COV   9 /* Covariance */
 
#define TSTEP_RATIO   10 /* Ratio */
 
#define TSTEP_RANGE   11
 
#define TSTEP_INSTANT2   12
 
#define TSTEP_INSTANT3   13
 
#define TAXIS_ABSOLUTE   1
 
#define TAXIS_RELATIVE   2
 
#define TAXIS_FORECAST   3
 
#define TUNIT_SECOND   1
 
#define TUNIT_MINUTE   2
 
#define TUNIT_HOUR   3
 
#define TUNIT_DAY   4
 
#define TUNIT_MONTH   5
 
#define TUNIT_YEAR   6
 
#define TUNIT_QUARTER   7
 
#define TUNIT_3HOURS   8
 
#define TUNIT_6HOURS   9
 
#define TUNIT_12HOURS   10
 
#define CALENDAR_STANDARD   0 /* don't change this value (used also in cgribexlib)! */
 
#define CALENDAR_PROLEPTIC   1
 
#define CALENDAR_360DAYS   2
 
#define CALENDAR_365DAYS   3
 
#define CALENDAR_366DAYS   4
 
#define CALENDAR_NONE   5
 

Functions

void cdiReset (void)
 
char * cdiStringError (int cdiErrno)
 
void cdiDebug (int debug)
 
char * cdiLibraryVersion (void)
 
void cdiPrintVersion (void)
 
int cdiHaveFiletype (int filetype)
 
void cdiDefMissval (double missval)
 
double cdiInqMissval (void)
 
void cdiDefGlobal (const char *string, int val)
 
int namespaceNew ()
 
void namespaceSetActive (int namespaceID)
 
void namespaceDelete (int namespaceID)
 
void cdiParamToString (int param, char *paramstr, int maxlen)
 
void cdiDecodeParam (int param, int *pnum, int *pcat, int *pdis)
 
int cdiEncodeParam (int pnum, int pcat, int pdis)
 
void cdiDecodeDate (int date, int *year, int *month, int *day)
 
int cdiEncodeDate (int year, int month, int day)
 
void cdiDecodeTime (int time, int *hour, int *minute, int *second)
 
int cdiEncodeTime (int hour, int minute, int second)
 
int streamOpenRead (const char *path)
 
int streamOpenWrite (const char *path, int filetype)
 
int streamOpenAppend (const char *path)
 
void streamClose (int streamID)
 
void streamSync (int streamID)
 
void streamDefVlist (int streamID, int vlistID)
 
int streamInqVlist (int streamID)
 
int streamInqVlistIDorig (int streamID)
 
int streamInqFiletype (int streamID)
 
void streamDefByteorder (int streamID, int byteorder)
 
int streamInqByteorder (int streamID)
 
void streamDefCompType (int streamID, int comptype)
 
void streamDefCompLevel (int streamID, int complevel)
 
int streamInqCompType (int streamID)
 
int streamInqCompLevel (int streamID)
 
int streamDefTimestep (int streamID, int tsID)
 
int streamInqCurTimestepID (int streamID)
 
int streamInqTimestep (int streamID, int tsID)
 
char * streamFilename (int streamID)
 
char * streamFilesuffix (int filetype)
 
int streamNtsteps (int streamID)
 
off_t streamNvals (int streamID)
 
int streamInqNvars (int streamID)
 
void streamReadVar (int streamID, int varID, double *data_vec, int *nmiss)
 
void streamWriteVar (int streamID, int varID, const double *data_vec, int nmiss)
 
void streamWriteVarF (int streamID, int varID, const float *data_vec, int nmiss)
 
void streamReadVarSlice (int streamID, int varID, int levelID, double *data_vec, int *nmiss)
 
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)
 
void streamWriteVarChunk (int streamID, int varID, const int rect[][2], const double *data_vec, int nmiss)
 
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 streamWriteRecord (int streamID, const double *data_vec, int nmiss)
 
void streamWriteRecordF (int streamID, const float *data_vec, int nmiss)
 
void streamCopyRecord (int streamIDdest, int streamIDsrc)
 
void streamInqGinfo (int streamID, int *intnum, float *fltnum, off_t *bignum)
 
int vlistCreate (void)
 
void vlistDestroy (int vlistID)
 
int vlistDuplicate (int vlistID)
 
void vlistCopy (int vlistID2, int vlistID1)
 
void vlistCopyFlag (int vlistID2, int vlistID1)
 
void vlistClearFlag (int vlistID)
 
void vlistCat (int vlistID2, int vlistID1)
 
void vlistMerge (int vlistID2, int vlistID1)
 
void vlistPrint (int vlistID)
 
int vlistNumber (int vlistID)
 
int vlistNvars (int vlistID)
 
int vlistNgrids (int vlistID)
 
int vlistNzaxis (int vlistID)
 
void vlistDefNtsteps (int vlistID, int nts)
 
int vlistNtsteps (int vlistID)
 
int vlistGridsizeMax (int vlistID)
 
int vlistGrid (int vlistID, int index)
 
int vlistGridIndex (int vlistID, int gridID)
 
void vlistChangeGridIndex (int vlistID, int index, int gridID)
 
void vlistChangeGrid (int vlistID, int gridID1, int gridID2)
 
int vlistZaxis (int vlistID, int index)
 
int vlistZaxisIndex (int vlistID, int zaxisID)
 
void vlistChangeZaxisIndex (int vlistID, int index, int zaxisID)
 
void vlistChangeZaxis (int vlistID, int zaxisID1, int zaxisID2)
 
int vlistNrecs (int vlistID)
 
void vlistDefTaxis (int vlistID, int taxisID)
 
int vlistInqTaxis (int vlistID)
 
void vlistDefTable (int vlistID, int tableID)
 
int vlistInqTable (int vlistID)
 
void vlistDefInstitut (int vlistID, int instID)
 
int vlistInqInstitut (int vlistID)
 
void vlistDefModel (int vlistID, int modelID)
 
int vlistInqModel (int vlistID)
 
int vlistDefVar (int vlistID, int gridID, int zaxisID, int tsteptype)
 
void vlistChangeVarGrid (int vlistID, int varID, int gridID)
 
void vlistChangeVarZaxis (int vlistID, int varID, int zaxisID)
 
void vlistInqVar (int vlistID, int varID, int *gridID, int *zaxisID, int *tsteptype)
 
int vlistInqVarGrid (int vlistID, int varID)
 
int vlistInqVarZaxis (int vlistID, int varID)
 
int vlistInqVarID (int vlistID, int code)
 
int vlistInqVarTsteptype (int vlistID, int varID)
 
void vlistDefVarTsteptype (int vlistID, int varID, int tsteptype)
 
void vlistDefVarCompType (int vlistID, int varID, int comptype)
 
int vlistInqVarCompType (int vlistID, int varID)
 
void vlistDefVarCompLevel (int vlistID, int varID, int complevel)
 
int vlistInqVarCompLevel (int vlistID, int varID)
 
void vlistDefVarParam (int vlistID, int varID, int param)
 
int vlistInqVarParam (int vlistID, int varID)
 
void vlistDefVarCode (int vlistID, int varID, int code)
 
int vlistInqVarCode (int vlistID, int varID)
 
void vlistDefVarDatatype (int vlistID, int varID, int datatype)
 
int vlistInqVarDatatype (int vlistID, int varID)
 
void vlistDefVarChunkType (int vlistID, int varID, int chunktype)
 
int vlistInqVarChunkType (int vlistID, int varID)
 
void vlistDefVarXYZ (int vlistID, int varID, int xyz)
 
int vlistInqVarXYZ (int vlistID, int varID)
 
int vlistInqVarNumber (int vlistID, int varID)
 
void vlistDefVarInstitut (int vlistID, int varID, int instID)
 
int vlistInqVarInstitut (int vlistID, int varID)
 
void vlistDefVarModel (int vlistID, int varID, int modelID)
 
int vlistInqVarModel (int vlistID, int varID)
 
void vlistDefVarTable (int vlistID, int varID, int tableID)
 
int vlistInqVarTable (int vlistID, int varID)
 
void vlistDefVarName (int vlistID, int varID, const char *name)
 
void vlistInqVarName (int vlistID, int varID, char *name)
 
void vlistDefVarStdname (int vlistID, int varID, const char *stdname)
 
void vlistInqVarStdname (int vlistID, int varID, char *stdname)
 
void vlistDefVarLongname (int vlistID, int varID, const char *longname)
 
void vlistInqVarLongname (int vlistID, int varID, char *longname)
 
void vlistDefVarUnits (int vlistID, int varID, const char *units)
 
void vlistInqVarUnits (int vlistID, int varID, char *units)
 
void vlistDefVarMissval (int vlistID, int varID, double missval)
 
double vlistInqVarMissval (int vlistID, int varID)
 
void vlistDefVarExtra (int vlistID, int varID, const char *extra)
 
void vlistInqVarExtra (int vlistID, int varID, char *extra)
 
void vlistDefVarScalefactor (int vlistID, int varID, double scalefactor)
 
double vlistInqVarScalefactor (int vlistID, int varID)
 
void vlistDefVarAddoffset (int vlistID, int varID, double addoffset)
 
double vlistInqVarAddoffset (int vlistID, int varID)
 
void vlistDefVarTimave (int vlistID, int varID, int timave)
 
int vlistInqVarTimave (int vlistID, int varID)
 
void vlistDefVarTimaccu (int vlistID, int varID, int timaccu)
 
int vlistInqVarTimaccu (int vlistID, int varID)
 
void vlistDefVarTypeOfGeneratingProcess (int vlistID, int varID, int typeOfGeneratingProcess)
 
int vlistInqVarTypeOfGeneratingProcess (int vlistID, int varID)
 
int vlistInqVarSize (int vlistID, int varID)
 
void vlistDefIndex (int vlistID, int varID, int levID, int index)
 
int vlistInqIndex (int vlistID, int varID, int levID)
 
void vlistDefFlag (int vlistID, int varID, int levID, int flag)
 
int vlistInqFlag (int vlistID, int varID, int levID)
 
int vlistFindVar (int vlistID, int fvarID)
 
int vlistFindLevel (int vlistID, int fvarID, int flevelID)
 
int vlistMergedVar (int vlistID, int varID)
 
int vlistMergedLevel (int vlistID, int varID, int levelID)
 
void vlistDefVarEnsemble (int vlistID, int varID, int ensID, int ensCount, int forecast_type)
 
int vlistInqVarEnsemble (int vlistID, int varID, int *ensID, int *ensCount, int *forecast_type)
 
void cdiClearAdditionalKeys ()
 
void cdiDefAdditionalKey (const char *string)
 
void vlistDefVarIntKey (int vlistID, int varID, const char *name, int value)
 
void vlistDefVarDblKey (int vlistID, int varID, const char *name, double value)
 
int vlistHasVarKey (int vlistID, int varID, const char *name)
 
double vlistInqVarDblKey (int vlistID, int varID, const char *name)
 
int vlistInqVarIntKey (int vlistID, int varID, const char *name)
 
int vlistInqNatts (int vlistID, int varID, int *nattsp)
 
int vlistInqAtt (int vlistID, int varID, int attrnum, char *name, int *typep, int *lenp)
 
int vlistDelAtt (int vlistID, int varID, const char *name)
 
int vlistDefAttInt (int vlistID, int varID, const char *name, int type, int len, const int *ip_vec)
 
int vlistDefAttFlt (int vlistID, int varID, const char *name, int type, int len, const double *dp_vec)
 
int vlistDefAttTxt (int vlistID, int varID, const char *name, int len, const char *tp_cbuf)
 
int vlistInqAttInt (int vlistID, int varID, const char *name, int mlen, int *ip_vec)
 
int vlistInqAttFlt (int vlistID, int varID, const char *name, int mlen, double *dp_vec)
 
int vlistInqAttTxt (int vlistID, int varID, const char *name, int mlen, char *tp_cbuf)
 
void gridName (int gridtype, char *gridname)
 
char * gridNamePtr (int gridtype)
 
void gridCompress (int gridID)
 
void gridDefMaskGME (int gridID, const int *mask_vec)
 
int gridInqMaskGME (int gridID, int *mask_vec)
 
void gridDefMask (int gridID, const int *mask_vec)
 
int gridInqMask (int gridID, int *mask_vec)
 
void gridPrint (int gridID, int opt)
 
int gridCreate (int gridtype, int size)
 
void gridDestroy (int gridID)
 
int gridDuplicate (int gridID)
 
int gridInqType (int gridID)
 
int gridInqSize (int gridID)
 
void gridDefXsize (int gridID, int xsize)
 
int gridInqXsize (int gridID)
 
void gridDefYsize (int gridID, int ysize)
 
int gridInqYsize (int gridID)
 
void gridDefNP (int gridID, int np)
 
int gridInqNP (int gridID)
 
void gridDefXvals (int gridID, const double *xvals_vec)
 
int gridInqXvals (int gridID, double *xvals_vec)
 
void gridDefYvals (int gridID, const double *yvals_vec)
 
int gridInqYvals (int gridID, double *yvals_vec)
 
void gridDefXname (int gridID, const char *xname)
 
void gridDefXlongname (int gridID, const char *xlongname)
 
void gridDefXunits (int gridID, const char *xunits)
 
void gridDefYname (int gridID, const char *yname)
 
void gridDefYlongname (int gridID, const char *ylongname)
 
void gridDefYunits (int gridID, const char *yunits)
 
void gridInqXname (int gridID, char *xname)
 
void gridInqXlongname (int gridID, char *xlongname)
 
void gridInqXstdname (int gridID, char *xstdname)
 
void gridInqXunits (int gridID, char *xunits)
 
void gridInqYname (int gridID, char *yname)
 
void gridInqYlongname (int gridID, char *ylongname)
 
void gridInqYstdname (int gridID, char *ystdname)
 
void gridInqYunits (int gridID, char *yunits)
 
void gridDefPrec (int gridID, int prec)
 
int gridInqPrec (int gridID)
 
double gridInqXval (int gridID, int index)
 
double gridInqYval (int gridID, int index)
 
double gridInqXinc (int gridID)
 
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)
 
void gridDefYpole (int gridID, double ypole)
 
double gridInqAngle (int gridID)
 
void gridDefAngle (int gridID, double angle)
 
void gridDefTrunc (int gridID, int trunc)
 
int gridInqTrunc (int gridID)
 
int gridInqGMEnd (int gridID)
 
void gridDefGMEnd (int gridID, int nd)
 
int gridInqGMEni (int gridID)
 
void gridDefGMEni (int gridID, int ni)
 
int gridInqGMEni2 (int gridID)
 
void gridDefGMEni2 (int gridID, int ni2)
 
int gridInqGMEni3 (int gridID)
 
void gridDefGMEni3 (int gridID, int ni3)
 
void gridDefNumber (int gridID, int number)
 
int gridInqNumber (int gridID)
 
void gridDefPosition (int gridID, int position)
 
int gridInqPosition (int gridID)
 
void gridDefReference (int gridID, const char *reference)
 
int gridInqReference (int gridID, char *reference)
 
void gridDefUUID (int gridID, const char *uuid_cbuf)
 
void gridInqUUID (int gridID, char *uuid_cbuf)
 
void gridDefLCC (int gridID, double originLon, double originLat, double lonParY, double lat1, double lat2, double xinc, double yinc, int projflag, int scanflag)
 
void gridInqLCC (int gridID, double *originLon, double *originLat, double *lonParY, double *lat1, double *lat2, double *xinc, double *yinc, int *projflag, int *scanflag)
 
void gridDefLcc2 (int gridID, double earth_radius, double lon_0, double lat_0, double lat_1, double lat_2)
 
void gridInqLcc2 (int gridID, double *earth_radius, double *lon_0, double *lat_0, double *lat_1, double *lat_2)
 
void gridDefLaea (int gridID, double earth_radius, double lon_0, double lat_0)
 
void gridInqLaea (int gridID, double *earth_radius, double *lon_0, double *lat_0)
 
void gridDefArea (int gridID, const double *area_vec)
 
void gridInqArea (int gridID, double *area_vec)
 
int gridHasArea (int gridID)
 
void gridDefNvertex (int gridID, int nvertex)
 
int gridInqNvertex (int gridID)
 
void gridDefXbounds (int gridID, const double *xbounds_vec)
 
int gridInqXbounds (int gridID, double *xbounds_vec)
 
void gridDefYbounds (int gridID, const double *ybounds_vec)
 
int gridInqYbounds (int gridID, double *ybounds_vec)
 
void gridDefRowlon (int gridID, int nrowlon, const int *rowlon_vec)
 
void gridInqRowlon (int gridID, int *rowlon_vec)
 
void gridChangeType (int gridID, int gridtype)
 
void gridDefComplexPacking (int gridID, int lpack)
 
int gridInqComplexPacking (int gridID)
 
void zaxisName (int zaxistype, char *zaxisname)
 
int zaxisCreate (int zaxistype, int size)
 
void zaxisDestroy (int zaxisID)
 
int zaxisInqType (int zaxisID)
 
int zaxisInqSize (int zaxisID)
 
int zaxisDuplicate (int zaxisID)
 
void zaxisResize (int zaxisID, int size)
 
void zaxisPrint (int zaxisID)
 
void zaxisDefLevels (int zaxisID, const double *levels_vec)
 
void zaxisInqLevels (int zaxisID, double *levels_vec)
 
void zaxisDefLevel (int zaxisID, int levelID, double levels)
 
double zaxisInqLevel (int zaxisID, int levelID)
 
void zaxisDefNlevRef (int gridID, int nhlev)
 
int zaxisInqNlevRef (int gridID)
 
void zaxisDefNumber (int gridID, int number)
 
int zaxisInqNumber (int gridID)
 
void zaxisDefUUID (int zaxisID, const char *uuid_cbuf)
 
void zaxisInqUUID (int zaxisID, char *uuid_cbuf)
 
void zaxisDefName (int zaxisID, const char *name)
 
void zaxisDefLongname (int zaxisID, const char *longname)
 
void zaxisDefUnits (int zaxisID, const char *units)
 
void zaxisInqName (int zaxisID, char *name)
 
void zaxisInqLongname (int zaxisID, char *longname)
 
void zaxisInqStdname (int zaxisID, char *stdname)
 
void zaxisInqUnits (int zaxisID, char *units)
 
void zaxisDefPrec (int zaxisID, int prec)
 
int zaxisInqPrec (int zaxisID)
 
void zaxisDefPositive (int zaxisID, int positive)
 
int zaxisInqPositive (int zaxisID)
 
void zaxisDefLtype (int zaxisID, int ltype)
 
int zaxisInqLtype (int zaxisID)
 
const double * zaxisInqLevelsPtr (int zaxisID)
 
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)
 
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)
 
void zaxisDefWeights (int zaxisID, const double *weights_vec)
 
void zaxisChangeType (int zaxisID, int zaxistype)
 
int taxisCreate (int timetype)
 
void taxisDestroy (int taxisID)
 
int taxisDuplicate (int taxisID)
 
void taxisCopyTimestep (int taxisIDdes, int taxisIDsrc)
 
void taxisDefType (int taxisID, int type)
 
void taxisDefVdate (int taxisID, int date)
 
void taxisDefVtime (int taxisID, int time)
 
void taxisDefRdate (int taxisID, int date)
 
void taxisDefRtime (int taxisID, int time)
 
void taxisDefFdate (int taxisID, int date)
 
void taxisDefFtime (int taxisID, int time)
 
int taxisHasBounds (int taxisID)
 
void taxisDeleteBounds (int taxisID)
 
void taxisDefVdateBounds (int taxisID, int vdate_lb, int vdate_ub)
 
void taxisDefVtimeBounds (int taxisID, int vtime_lb, int vtime_ub)
 
void taxisInqVdateBounds (int taxisID, int *vdate_lb, int *vdate_ub)
 
void taxisInqVtimeBounds (int taxisID, int *vtime_lb, int *vtime_ub)
 
void taxisDefCalendar (int taxisID, int calendar)
 
void taxisDefTunit (int taxisID, int tunit)
 
void taxisDefNumavg (int taxisID, int numavg)
 
int taxisInqType (int taxisID)
 
int taxisInqVdate (int taxisID)
 
int taxisInqVtime (int taxisID)
 
int taxisInqRdate (int taxisID)
 
int taxisInqRtime (int taxisID)
 
int taxisInqFdate (int taxisID)
 
int taxisInqFtime (int taxisID)
 
int taxisInqCalendar (int taxisID)
 
int taxisInqTunit (int taxisID)
 
int taxisInqNumavg (int taxisID)
 
char * tunitNamePtr (int tunitID)
 
int institutDef (int center, int subcenter, const char *name, const char *longname)
 
int institutInq (int center, int subcenter, const char *name, const char *longname)
 
int institutInqNumber (void)
 
int institutInqCenter (int instID)
 
int institutInqSubcenter (int instID)
 
char * institutInqNamePtr (int instID)
 
char * institutInqLongnamePtr (int instID)
 
int modelDef (int instID, int modelgribID, const char *name)
 
int modelInq (int instID, int modelgribID, char *name)
 
int modelInqInstitut (int modelID)
 
int modelInqGribID (int modelID)
 
char * modelInqNamePtr (int modelID)
 
void tableWriteC (const char *filename, int tableID)
 
void tableWrite (const char *filename, int tableID)
 
int tableRead (const char *tablefile)
 
int tableDef (int modelID, int tablenum, const char *tablename)
 
char * tableInqNamePtr (int tableID)
 
void tableDefEntry (int tableID, int code, const char *name, const char *longname, const char *units)
 
int tableInq (int modelID, int tablenum, const char *tablename)
 
int tableInqNumber (void)
 
int tableInqNum (int tableID)
 
int tableInqModel (int tableID)
 
void tableInqPar (int tableID, int code, char *name, char *longname, char *units)
 
int tableInqParCode (int tableID, char *name, int *code)
 
int tableInqParName (int tableID, int code, char *name)
 
int tableInqParLongname (int tableID, int code, char *longname)
 
int tableInqParUnits (int tableID, int code, char *units)
 
char * tableInqParNamePtr (int tableID, int parID)
 
char * tableInqParLongnamePtr (int tableID, int parID)
 
char * tableInqParUnitsPtr (int tableID, int parID)
 
void streamDefHistory (int streamID, int size, const char *history)
 
int streamInqHistorySize (int streamID)
 
void streamInqHistoryString (int streamID, char *history)
 

Macro Definition Documentation

#define CALENDAR_360DAYS   2

Definition at line 213 of file cdi.h.

#define CALENDAR_365DAYS   3

Definition at line 214 of file cdi.h.

#define CALENDAR_366DAYS   4

Definition at line 215 of file cdi.h.

#define CALENDAR_NONE   5

Definition at line 216 of file cdi.h.

#define CALENDAR_PROLEPTIC   1

Definition at line 212 of file cdi.h.

#define CALENDAR_STANDARD   0 /* don't change this value (used also in cgribexlib)! */

Definition at line 211 of file cdi.h.

#define CDI_BIGENDIAN   0 /* Byte order BIGENDIAN */

Definition at line 23 of file cdi.h.

#define CDI_BOTH   3 /* Both numbers */

Definition at line 28 of file cdi.h.

#define CDI_COMP   2 /* Complex numbers */

Definition at line 27 of file cdi.h.

#define CDI_EINVAL   -20 /* Invalid argument */

Definition at line 34 of file cdi.h.

#define CDI_ELIBNAVAIL   -22 /* xxx library not available */

Definition at line 36 of file cdi.h.

#define CDI_ELIMIT   -99 /* Internal limits exceeded */

Definition at line 39 of file cdi.h.

#define CDI_ESYSTEM   -10 /* Operating system error */

Definition at line 33 of file cdi.h.

#define CDI_EUFSTRUCT   -23 /* Unsupported file structure */

Definition at line 37 of file cdi.h.

#define CDI_EUFTYPE   -21 /* Unsupported file type */

Definition at line 35 of file cdi.h.

#define CDI_EUNC4   -24 /* Unsupported netCDF4 structure */

Definition at line 38 of file cdi.h.

#define CDI_GLOBAL   -1 /* Global var ID for vlist */

Definition at line 19 of file cdi.h.

#define CDI_LITTLEENDIAN   1 /* Byte order LITTLEENDIAN */

Definition at line 24 of file cdi.h.

#define CDI_MAX_NAME   256 /* max length of a name */

Definition at line 16 of file cdi.h.

#define CDI_NOERR   0 /* No Error */

Definition at line 32 of file cdi.h.

#define CDI_REAL   1 /* Real numbers */

Definition at line 26 of file cdi.h.

#define CDI_UNDEFID   -1

Definition at line 18 of file cdi.h.

#define CHUNK_AUTO   1 /* use default chunk size */

Definition at line 117 of file cdi.h.

#define CHUNK_GRID   2

Definition at line 118 of file cdi.h.

#define CHUNK_LINES   3

Definition at line 119 of file cdi.h.

#define COMPRESS_BZIP2   3

Definition at line 58 of file cdi.h.

#define COMPRESS_GZIP   2

Definition at line 57 of file cdi.h.

#define COMPRESS_JPEG   5

Definition at line 60 of file cdi.h.

#define COMPRESS_NONE   0

Definition at line 55 of file cdi.h.

#define COMPRESS_SZIP   1

Definition at line 56 of file cdi.h.

#define COMPRESS_ZIP   4

Definition at line 59 of file cdi.h.

#define DATATYPE_CPX   254

Definition at line 112 of file cdi.h.

#define DATATYPE_CPX32   64

Definition at line 97 of file cdi.h.

#define DATATYPE_CPX64   128

Definition at line 98 of file cdi.h.

#define DATATYPE_FLT   252

Definition at line 110 of file cdi.h.

#define DATATYPE_FLT32   132

Definition at line 99 of file cdi.h.

#define DATATYPE_FLT64   164

Definition at line 100 of file cdi.h.

#define DATATYPE_INT   251

Definition at line 109 of file cdi.h.

#define DATATYPE_INT16   216

Definition at line 102 of file cdi.h.

#define DATATYPE_INT32   232

Definition at line 103 of file cdi.h.

#define DATATYPE_INT8   208

Definition at line 101 of file cdi.h.

#define DATATYPE_PACK   0

Definition at line 64 of file cdi.h.

#define DATATYPE_PACK1   1

Definition at line 65 of file cdi.h.

#define DATATYPE_PACK10   10

Definition at line 74 of file cdi.h.

#define DATATYPE_PACK11   11

Definition at line 75 of file cdi.h.

#define DATATYPE_PACK12   12

Definition at line 76 of file cdi.h.

#define DATATYPE_PACK13   13

Definition at line 77 of file cdi.h.

#define DATATYPE_PACK14   14

Definition at line 78 of file cdi.h.

#define DATATYPE_PACK15   15

Definition at line 79 of file cdi.h.

#define DATATYPE_PACK16   16

Definition at line 80 of file cdi.h.

#define DATATYPE_PACK17   17

Definition at line 81 of file cdi.h.

#define DATATYPE_PACK18   18

Definition at line 82 of file cdi.h.

#define DATATYPE_PACK19   19

Definition at line 83 of file cdi.h.

#define DATATYPE_PACK2   2

Definition at line 66 of file cdi.h.

#define DATATYPE_PACK20   20

Definition at line 84 of file cdi.h.

#define DATATYPE_PACK21   21

Definition at line 85 of file cdi.h.

#define DATATYPE_PACK22   22

Definition at line 86 of file cdi.h.

#define DATATYPE_PACK23   23

Definition at line 87 of file cdi.h.

#define DATATYPE_PACK24   24

Definition at line 88 of file cdi.h.

#define DATATYPE_PACK25   25

Definition at line 89 of file cdi.h.

#define DATATYPE_PACK26   26

Definition at line 90 of file cdi.h.

#define DATATYPE_PACK27   27

Definition at line 91 of file cdi.h.

#define DATATYPE_PACK28   28

Definition at line 92 of file cdi.h.

#define DATATYPE_PACK29   29

Definition at line 93 of file cdi.h.

#define DATATYPE_PACK3   3

Definition at line 67 of file cdi.h.

#define DATATYPE_PACK30   30

Definition at line 94 of file cdi.h.

#define DATATYPE_PACK31   31

Definition at line 95 of file cdi.h.

#define DATATYPE_PACK32   32

Definition at line 96 of file cdi.h.

#define DATATYPE_PACK4   4

Definition at line 68 of file cdi.h.

#define DATATYPE_PACK5   5

Definition at line 69 of file cdi.h.

#define DATATYPE_PACK6   6

Definition at line 70 of file cdi.h.

#define DATATYPE_PACK7   7

Definition at line 71 of file cdi.h.

#define DATATYPE_PACK8   8

Definition at line 72 of file cdi.h.

#define DATATYPE_PACK9   9

Definition at line 73 of file cdi.h.

#define DATATYPE_TXT   253

Definition at line 111 of file cdi.h.

#define DATATYPE_UCHAR   255

Definition at line 113 of file cdi.h.

#define DATATYPE_UINT16   316

Definition at line 105 of file cdi.h.

#define DATATYPE_UINT32   332

Definition at line 106 of file cdi.h.

#define DATATYPE_UINT8   308

Definition at line 104 of file cdi.h.

#define FILETYPE_EXT   8 /* File type EXTRA */

Definition at line 50 of file cdi.h.

#define FILETYPE_GRB   1 /* File type GRIB */

Definition at line 43 of file cdi.h.

#define FILETYPE_GRB2   2 /* File type GRIB version 2 */

Definition at line 44 of file cdi.h.

#define FILETYPE_IEG   9 /* File type IEG */

Definition at line 51 of file cdi.h.

#define FILETYPE_NC   3 /* File type netCDF */

Definition at line 45 of file cdi.h.

#define FILETYPE_NC2   4 /* File type netCDF version 2 (64-bit) */

Definition at line 46 of file cdi.h.

#define FILETYPE_NC4   5 /* File type netCDF version 4 */

Definition at line 47 of file cdi.h.

#define FILETYPE_NC4C   6 /* File type netCDF version 4 (classic) */

Definition at line 48 of file cdi.h.

#define FILETYPE_SRV   7 /* File type SERVICE */

Definition at line 49 of file cdi.h.

#define GRID_CURVILINEAR   10 /* Curvilinear grid */

Definition at line 132 of file cdi.h.

#define GRID_FOURIER   6 /* Fourier coefficients */

Definition at line 128 of file cdi.h.

#define GRID_GAUSSIAN   2 /* Regular Gaussian lon/lat grid */

Definition at line 124 of file cdi.h.

#define GRID_GAUSSIAN_REDUCED   3 /* Reduced Gaussian lon/lat grid */

Definition at line 125 of file cdi.h.

#define GRID_GENERIC   1 /* Generic grid */

Definition at line 123 of file cdi.h.

#define GRID_GME   7 /* Icosahedral-hexagonal GME grid */

Definition at line 129 of file cdi.h.

#define GRID_LAEA   13 /* Lambert Azimuthal Equal Area */

Definition at line 135 of file cdi.h.

#define GRID_LCC   11 /* Lambert Conformal Conic (GRIB) */

Definition at line 133 of file cdi.h.

#define GRID_LCC2   12 /* Lambert Conformal Conic (PROJ) */

Definition at line 134 of file cdi.h.

#define GRID_LONLAT   4 /* Regular longitude/latitude grid */

Definition at line 126 of file cdi.h.

#define GRID_PROJECTION   15 /* Projected coordiantes */

Definition at line 137 of file cdi.h.

#define GRID_SINUSOIDAL   14 /* Sinusoidal */

Definition at line 136 of file cdi.h.

#define GRID_SPECTRAL   5 /* Spherical harmonic coefficients */

Definition at line 127 of file cdi.h.

#define GRID_TRAJECTORY   8 /* Trajectory */

Definition at line 130 of file cdi.h.

#define GRID_UNSTRUCTURED   9 /* General unstructured grid */

Definition at line 131 of file cdi.h.

#define TAXIS_ABSOLUTE   1

Definition at line 192 of file cdi.h.

#define TAXIS_FORECAST   3

Definition at line 194 of file cdi.h.

#define TAXIS_RELATIVE   2

Definition at line 193 of file cdi.h.

#define TIME_CONSTANT   0 /* obsolate, use TSTEP_CONSTANT */

Definition at line 170 of file cdi.h.

#define TIME_VARIABLE   1 /* obsolate, use TSTEP_INSTANT */

Definition at line 171 of file cdi.h.

#define TSTEP_ACCUM   3 /* Accumulation */

Definition at line 178 of file cdi.h.

#define TSTEP_AVG   2 /* Average */

Definition at line 177 of file cdi.h.

#define TSTEP_CONSTANT   0 /* Constant */

Definition at line 175 of file cdi.h.

#define TSTEP_COV   9 /* Covariance */

Definition at line 184 of file cdi.h.

#define TSTEP_DIFF   6 /* Difference */

Definition at line 181 of file cdi.h.

#define TSTEP_INSTANT   1 /* Instant */

Definition at line 176 of file cdi.h.

#define TSTEP_INSTANT2   12

Definition at line 187 of file cdi.h.

#define TSTEP_INSTANT3   13

Definition at line 188 of file cdi.h.

#define TSTEP_MAX   4 /* Maximum */

Definition at line 179 of file cdi.h.

#define TSTEP_MIN   5 /* Minimum */

Definition at line 180 of file cdi.h.

#define TSTEP_RANGE   11

Definition at line 186 of file cdi.h.

#define TSTEP_RATIO   10 /* Ratio */

Definition at line 185 of file cdi.h.

#define TSTEP_RMS   7 /* Root mean square */

Definition at line 182 of file cdi.h.

#define TSTEP_SD   8 /* Standard deviation */

Definition at line 183 of file cdi.h.

#define TUNIT_12HOURS   10

Definition at line 207 of file cdi.h.

#define TUNIT_3HOURS   8

Definition at line 205 of file cdi.h.

#define TUNIT_6HOURS   9

Definition at line 206 of file cdi.h.

#define TUNIT_DAY   4

Definition at line 201 of file cdi.h.

#define TUNIT_HOUR   3

Definition at line 200 of file cdi.h.

#define TUNIT_MINUTE   2

Definition at line 199 of file cdi.h.

#define TUNIT_MONTH   5

Definition at line 202 of file cdi.h.

#define TUNIT_QUARTER   7

Definition at line 204 of file cdi.h.

#define TUNIT_SECOND   1

Definition at line 198 of file cdi.h.

#define TUNIT_YEAR   6

Definition at line 203 of file cdi.h.

#define ZAXIS_ALTITUDE   10 /* Altitude above mean sea level in meters */

Definition at line 151 of file cdi.h.

#define ZAXIS_ATMOSPHERE   15 /* Entire atmosphere */

Definition at line 156 of file cdi.h.

#define ZAXIS_CLOUD_BASE   16 /* Cloud base level */

Definition at line 157 of file cdi.h.

#define ZAXIS_CLOUD_TOP   17 /* Level of cloud tops */

Definition at line 158 of file cdi.h.

#define ZAXIS_DEPTH_BELOW_LAND   7 /* Depth below land surface in centimeters */

Definition at line 148 of file cdi.h.

#define ZAXIS_DEPTH_BELOW_SEA   6 /* Depth below sea level in meters */

Definition at line 147 of file cdi.h.

#define ZAXIS_GENERIC   1 /* Generic level */

Definition at line 142 of file cdi.h.

#define ZAXIS_HEIGHT   5 /* Height above ground in meters */

Definition at line 146 of file cdi.h.

#define ZAXIS_HYBRID   2 /* Hybrid level */

Definition at line 143 of file cdi.h.

#define ZAXIS_HYBRID_HALF   3 /* Hybrid half level */

Definition at line 144 of file cdi.h.

#define ZAXIS_ISENTROPIC   8 /* Isentropic */

Definition at line 149 of file cdi.h.

#define ZAXIS_ISOTHERM_ZERO   18 /* Level of 0o C isotherm */

Definition at line 159 of file cdi.h.

#define ZAXIS_LAKE_BOTTOM   20 /* Lake or River Bottom */

Definition at line 161 of file cdi.h.

#define ZAXIS_MEANSEA   12 /* Mean sea level */

Definition at line 153 of file cdi.h.

#define ZAXIS_MIX_LAYER   24 /* Mixing Layer */

Definition at line 165 of file cdi.h.

#define ZAXIS_PRESSURE   4 /* Isobaric pressure level in Pascal */

Definition at line 145 of file cdi.h.

#define ZAXIS_REFERENCE   25 /* zaxis reference number */

Definition at line 166 of file cdi.h.

#define ZAXIS_SEA_BOTTOM   14 /* Sea bottom */

Definition at line 155 of file cdi.h.

#define ZAXIS_SEDIMENT_BOTTOM   21 /* Bottom Of Sediment Layer */

Definition at line 162 of file cdi.h.

#define ZAXIS_SEDIMENT_BOTTOM_TA   22 /* Bottom Of Thermally Active Sediment Layer */

Definition at line 163 of file cdi.h.

#define ZAXIS_SEDIMENT_BOTTOM_TW   23 /* Bottom Of Sediment Layer Penetrated By Thermal Wave */

Definition at line 164 of file cdi.h.

#define ZAXIS_SIGMA   11 /* Sigma level */

Definition at line 152 of file cdi.h.

#define ZAXIS_SNOW   19 /* Snow level */

Definition at line 160 of file cdi.h.

#define ZAXIS_SURFACE   0 /* Surface level */

Definition at line 141 of file cdi.h.

#define ZAXIS_TOA   13 /* Norminal top of atmosphere */

Definition at line 154 of file cdi.h.

#define ZAXIS_TRAJECTORY   9 /* Trajectory */

Definition at line 150 of file cdi.h.

Function Documentation

void cdiClearAdditionalKeys ( )
void cdiDebug ( int  debug)
void cdiDecodeDate ( int  date,
int *  year,
int *  month,
int *  day 
)
void cdiDecodeParam ( int  param,
int *  pnum,
int *  pcat,
int *  pdis 
)
void cdiDecodeTime ( int  time,
int *  hour,
int *  minute,
int *  second 
)
void cdiDefAdditionalKey ( const char *  string)
void cdiDefGlobal ( const char *  string,
int  val 
)
void cdiDefMissval ( double  missval)
int cdiEncodeDate ( int  year,
int  month,
int  day 
)
int cdiEncodeParam ( int  pnum,
int  pcat,
int  pdis 
)
int cdiEncodeTime ( int  hour,
int  minute,
int  second 
)
int cdiHaveFiletype ( int  filetype)
double cdiInqMissval ( void  )
char* cdiLibraryVersion ( void  )
void cdiParamToString ( int  param,
char *  paramstr,
int  maxlen 
)
void cdiPrintVersion ( void  )
void cdiReset ( void  )
char* cdiStringError ( int  cdiErrno)
void gridChangeType ( int  gridID,
int  gridtype 
)
void gridCompress ( int  gridID)
int gridCreate ( int  gridtype,
int  size 
)
void gridDefAngle ( int  gridID,
double  angle 
)
void gridDefArea ( int  gridID,
const double *  area_vec 
)
void gridDefComplexPacking ( int  gridID,
int  lpack 
)
void gridDefGMEnd ( int  gridID,
int  nd 
)
void gridDefGMEni ( int  gridID,
int  ni 
)
void gridDefGMEni2 ( int  gridID,
int  ni2 
)
void gridDefGMEni3 ( int  gridID,
int  ni3 
)
void gridDefLaea ( int  gridID,
double  earth_radius,
double  lon_0,
double  lat_0 
)
void gridDefLCC ( int  gridID,
double  originLon,
double  originLat,
double  lonParY,
double  lat1,
double  lat2,
double  xinc,
double  yinc,
int  projflag,
int  scanflag 
)
void gridDefLcc2 ( int  gridID,
double  earth_radius,
double  lon_0,
double  lat_0,
double  lat_1,
double  lat_2 
)
void gridDefMask ( int  gridID,
const int *  mask_vec 
)
void gridDefMaskGME ( int  gridID,
const int *  mask_vec 
)
void gridDefNP ( int  gridID,
int  np 
)
void gridDefNumber ( int  gridID,
int  number 
)
void gridDefNvertex ( int  gridID,
int  nvertex 
)
void gridDefPosition ( int  gridID,
int  position 
)
void gridDefPrec ( int  gridID,
int  prec 
)
void gridDefReference ( int  gridID,
const char *  reference 
)
void gridDefRowlon ( int  gridID,
int  nrowlon,
const int *  rowlon_vec 
)
void gridDefTrunc ( int  gridID,
int  trunc 
)
void gridDefUUID ( int  gridID,
const char *  uuid_cbuf 
)
void gridDefXbounds ( int  gridID,
const double *  xbounds_vec 
)
void gridDefXlongname ( int  gridID,
const char *  xlongname 
)
void gridDefXname ( int  gridID,
const char *  xname 
)
void gridDefXpole ( int  gridID,
double  xpole 
)
void gridDefXsize ( int  gridID,
int  xsize 
)
void gridDefXunits ( int  gridID,
const char *  xunits 
)
void gridDefXvals ( int  gridID,
const double *  xvals_vec 
)
void gridDefYbounds ( int  gridID,
const double *  ybounds_vec 
)
void gridDefYlongname ( int  gridID,
const char *  ylongname 
)
void gridDefYname ( int  gridID,
const char *  yname 
)
void gridDefYpole ( int  gridID,
double  ypole 
)
void gridDefYsize ( int  gridID,
int  ysize 
)
void gridDefYunits ( int  gridID,
const char *  yunits 
)
void gridDefYvals ( int  gridID,
const double *  yvals_vec 
)
void gridDestroy ( int  gridID)
int gridDuplicate ( int  gridID)
int gridHasArea ( int  gridID)
double gridInqAngle ( int  gridID)
void gridInqArea ( int  gridID,
double *  area_vec 
)
int gridInqComplexPacking ( int  gridID)
int gridInqGMEnd ( int  gridID)
int gridInqGMEni ( int  gridID)
int gridInqGMEni2 ( int  gridID)
int gridInqGMEni3 ( int  gridID)
void gridInqLaea ( int  gridID,
double *  earth_radius,
double *  lon_0,
double *  lat_0 
)
void gridInqLCC ( int  gridID,
double *  originLon,
double *  originLat,
double *  lonParY,
double *  lat1,
double *  lat2,
double *  xinc,
double *  yinc,
int *  projflag,
int *  scanflag 
)
void gridInqLcc2 ( int  gridID,
double *  earth_radius,
double *  lon_0,
double *  lat_0,
double *  lat_1,
double *  lat_2 
)
int gridInqMask ( int  gridID,
int *  mask_vec 
)
int gridInqMaskGME ( int  gridID,
int *  mask_vec 
)
int gridInqNP ( int  gridID)
int gridInqNumber ( int  gridID)
int gridInqNvertex ( int  gridID)
int gridInqPosition ( int  gridID)
int gridInqPrec ( int  gridID)
int gridInqReference ( int  gridID,
char *  reference 
)
void gridInqRowlon ( int  gridID,
int *  rowlon_vec 
)
int gridInqSize ( int  gridID)
int gridInqTrunc ( int  gridID)
int gridInqType ( int  gridID)
void gridInqUUID ( int  gridID,
char *  uuid_cbuf 
)
int gridInqXbounds ( int  gridID,
double *  xbounds_vec 
)
double gridInqXinc ( int  gridID)
void gridInqXlongname ( int  gridID,
char *  xlongname 
)
void gridInqXname ( int  gridID,
char *  xname 
)
double gridInqXpole ( int  gridID)
int gridInqXsize ( int  gridID)
void gridInqXstdname ( int  gridID,
char *  xstdname 
)
void gridInqXunits ( int  gridID,
char *  xunits 
)
double gridInqXval ( int  gridID,
int  index 
)
int gridInqXvals ( int  gridID,
double *  xvals_vec 
)
int gridInqYbounds ( int  gridID,
double *  ybounds_vec 
)
double gridInqYinc ( int  gridID)
void gridInqYlongname ( int  gridID,
char *  ylongname 
)
void gridInqYname ( int  gridID,
char *  yname 
)
double gridInqYpole ( int  gridID)
int gridInqYsize ( int  gridID)
void gridInqYstdname ( int  gridID,
char *  ystdname 
)
void gridInqYunits ( int  gridID,
char *  yunits 
)
double gridInqYval ( int  gridID,
int  index 
)
int gridInqYvals ( int  gridID,
double *  yvals_vec 
)
int gridIsCircular ( int  gridID)
int gridIsRotated ( int  gridID)
void gridName ( int  gridtype,
char *  gridname 
)
char* gridNamePtr ( int  gridtype)
void gridPrint ( int  gridID,
int  opt 
)
int institutDef ( int  center,
int  subcenter,
const char *  name,
const char *  longname 
)
int institutInq ( int  center,
int  subcenter,
const char *  name,
const char *  longname 
)
int institutInqCenter ( int  instID)
char* institutInqLongnamePtr ( int  instID)
char* institutInqNamePtr ( int  instID)
int institutInqNumber ( void  )
int institutInqSubcenter ( int  instID)
int modelDef ( int  instID,
int  modelgribID,
const char *  name 
)
int modelInq ( int  instID,
int  modelgribID,
char *  name 
)
int modelInqGribID ( int  modelID)
int modelInqInstitut ( int  modelID)
char* modelInqNamePtr ( int  modelID)
void namespaceDelete ( int  namespaceID)
int namespaceNew ( )
void namespaceSetActive ( int  namespaceID)
void streamClose ( int  streamID)
void streamCopyRecord ( int  streamIDdest,
int  streamIDsrc 
)
void streamDefByteorder ( int  streamID,
int  byteorder 
)
void streamDefCompLevel ( int  streamID,
int  complevel 
)
void streamDefCompType ( int  streamID,
int  comptype 
)
void streamDefHistory ( int  streamID,
int  size,
const char *  history 
)
void streamDefRecord ( int  streamID,
int  varID,
int  levelID 
)
int streamDefTimestep ( int  streamID,
int  tsID 
)
void streamDefVlist ( int  streamID,
int  vlistID 
)
char* streamFilename ( int  streamID)
char* streamFilesuffix ( int  filetype)
int streamInqByteorder ( int  streamID)
int streamInqCompLevel ( int  streamID)
int streamInqCompType ( int  streamID)
int streamInqCurTimestepID ( int  streamID)
int streamInqFiletype ( int  streamID)
void streamInqGinfo ( int  streamID,
int *  intnum,
float *  fltnum,
off_t *  bignum 
)
int streamInqHistorySize ( int  streamID)
void streamInqHistoryString ( int  streamID,
char *  history 
)
int streamInqNvars ( int  streamID)
void streamInqRecord ( int  streamID,
int *  varID,
int *  levelID 
)
int streamInqTimestep ( int  streamID,
int  tsID 
)
int streamInqVlist ( int  streamID)
int streamInqVlistIDorig ( int  streamID)
int streamNtsteps ( int  streamID)
off_t streamNvals ( int  streamID)
int streamOpenAppend ( const char *  path)
int streamOpenRead ( const char *  path)
int streamOpenWrite ( const char *  path,
int  filetype 
)
void streamReadRecord ( int  streamID,
double *  data_vec,
int *  nmiss 
)
void streamReadVar ( int  streamID,
int  varID,
double *  data_vec,
int *  nmiss 
)
void streamReadVarSlice ( int  streamID,
int  varID,
int  levelID,
double *  data_vec,
int *  nmiss 
)
void streamSync ( int  streamID)
void streamWriteRecord ( int  streamID,
const double *  data_vec,
int  nmiss 
)
void streamWriteRecordF ( int  streamID,
const float *  data_vec,
int  nmiss 
)
void streamWriteVar ( int  streamID,
int  varID,
const double *  data_vec,
int  nmiss 
)
void streamWriteVarChunk ( int  streamID,
int  varID,
const int  rect[][2],
const double *  data_vec,
int  nmiss 
)
void streamWriteVarF ( int  streamID,
int  varID,
const float *  data_vec,
int  nmiss 
)
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 
)
int tableDef ( int  modelID,
int  tablenum,
const char *  tablename 
)
void tableDefEntry ( int  tableID,
int  code,
const char *  name,
const char *  longname,
const char *  units 
)
int tableInq ( int  modelID,
int  tablenum,
const char *  tablename 
)
int tableInqModel ( int  tableID)
char* tableInqNamePtr ( int  tableID)
int tableInqNum ( int  tableID)
int tableInqNumber ( void  )
void tableInqPar ( int  tableID,
int  code,
char *  name,
char *  longname,
char *  units 
)
int tableInqParCode ( int  tableID,
char *  name,
int *  code 
)
int tableInqParLongname ( int  tableID,
int  code,
char *  longname 
)
char* tableInqParLongnamePtr ( int  tableID,
int  parID 
)
int tableInqParName ( int  tableID,
int  code,
char *  name 
)
char* tableInqParNamePtr ( int  tableID,
int  parID 
)
int tableInqParUnits ( int  tableID,
int  code,
char *  units 
)
char* tableInqParUnitsPtr ( int  tableID,
int  parID 
)
int tableRead ( const char *  tablefile)
void tableWrite ( const char *  filename,
int  tableID 
)
void tableWriteC ( const char *  filename,
int  tableID 
)
void taxisCopyTimestep ( int  taxisIDdes,
int  taxisIDsrc 
)
int taxisCreate ( int  timetype)
void taxisDefCalendar ( int  taxisID,
int  calendar 
)
void taxisDefFdate ( int  taxisID,
int  date 
)
void taxisDefFtime ( int  taxisID,
int  time 
)
void taxisDefNumavg ( int  taxisID,
int  numavg 
)
void taxisDefRdate ( int  taxisID,
int  date 
)
void taxisDefRtime ( int  taxisID,
int  time 
)
void taxisDefTunit ( int  taxisID,
int  tunit 
)
void taxisDefType ( int  taxisID,
int  type 
)
void taxisDefVdate ( int  taxisID,
int  date 
)
void taxisDefVdateBounds ( int  taxisID,
int  vdate_lb,
int  vdate_ub 
)
void taxisDefVtime ( int  taxisID,
int  time 
)
void taxisDefVtimeBounds ( int  taxisID,
int  vtime_lb,
int  vtime_ub 
)
void taxisDeleteBounds ( int  taxisID)
void taxisDestroy ( int  taxisID)
int taxisDuplicate ( int  taxisID)
int taxisHasBounds ( int  taxisID)
int taxisInqCalendar ( int  taxisID)
int taxisInqFdate ( int  taxisID)
int taxisInqFtime ( int  taxisID)
int taxisInqNumavg ( int  taxisID)
int taxisInqRdate ( int  taxisID)
int taxisInqRtime ( int  taxisID)
int taxisInqTunit ( int  taxisID)
int taxisInqType ( int  taxisID)
int taxisInqVdate ( int  taxisID)
void taxisInqVdateBounds ( int  taxisID,
int *  vdate_lb,
int *  vdate_ub 
)
int taxisInqVtime ( int  taxisID)
void taxisInqVtimeBounds ( int  taxisID,
int *  vtime_lb,
int *  vtime_ub 
)
char* tunitNamePtr ( int  tunitID)
void vlistCat ( int  vlistID2,
int  vlistID1 
)
void vlistChangeGrid ( int  vlistID,
int  gridID1,
int  gridID2 
)
void vlistChangeGridIndex ( int  vlistID,
int  index,
int  gridID 
)
void vlistChangeVarGrid ( int  vlistID,
int  varID,
int  gridID 
)
void vlistChangeVarZaxis ( int  vlistID,
int  varID,
int  zaxisID 
)
void vlistChangeZaxis ( int  vlistID,
int  zaxisID1,
int  zaxisID2 
)
void vlistChangeZaxisIndex ( int  vlistID,
int  index,
int  zaxisID 
)
void vlistClearFlag ( int  vlistID)
void vlistCopy ( int  vlistID2,
int  vlistID1 
)
void vlistCopyFlag ( int  vlistID2,
int  vlistID1 
)
int vlistCreate ( void  )
int vlistDefAttFlt ( int  vlistID,
int  varID,
const char *  name,
int  type,
int  len,
const double *  dp_vec 
)
int vlistDefAttInt ( int  vlistID,
int  varID,
const char *  name,
int  type,
int  len,
const int *  ip_vec 
)
int vlistDefAttTxt ( int  vlistID,
int  varID,
const char *  name,
int  len,
const char *  tp_cbuf 
)
void vlistDefFlag ( int  vlistID,
int  varID,
int  levID,
int  flag 
)
void vlistDefIndex ( int  vlistID,
int  varID,
int  levID,
int  index 
)
void vlistDefInstitut ( int  vlistID,
int  instID 
)
void vlistDefModel ( int  vlistID,
int  modelID 
)
void vlistDefNtsteps ( int  vlistID,
int  nts 
)
void vlistDefTable ( int  vlistID,
int  tableID 
)
void vlistDefTaxis ( int  vlistID,
int  taxisID 
)
int vlistDefVar ( int  vlistID,
int  gridID,
int  zaxisID,
int  tsteptype 
)
void vlistDefVarAddoffset ( int  vlistID,
int  varID,
double  addoffset 
)
void vlistDefVarChunkType ( int  vlistID,
int  varID,
int  chunktype 
)
void vlistDefVarCode ( int  vlistID,
int  varID,
int  code 
)
void vlistDefVarCompLevel ( int  vlistID,
int  varID,
int  complevel 
)
void vlistDefVarCompType ( int  vlistID,
int  varID,
int  comptype 
)
void vlistDefVarDatatype ( int  vlistID,
int  varID,
int  datatype 
)
void vlistDefVarDblKey ( int  vlistID,
int  varID,
const char *  name,
double  value 
)
void vlistDefVarEnsemble ( int  vlistID,
int  varID,
int  ensID,
int  ensCount,
int  forecast_type 
)
void vlistDefVarExtra ( int  vlistID,
int  varID,
const char *  extra 
)
void vlistDefVarInstitut ( int  vlistID,
int  varID,
int  instID 
)
void vlistDefVarIntKey ( int  vlistID,
int  varID,
const char *  name,
int  value 
)
void vlistDefVarLongname ( int  vlistID,
int  varID,
const char *  longname 
)
void vlistDefVarMissval ( int  vlistID,
int  varID,
double  missval 
)
void vlistDefVarModel ( int  vlistID,
int  varID,
int  modelID 
)
void vlistDefVarName ( int  vlistID,
int  varID,
const char *  name 
)
void vlistDefVarParam ( int  vlistID,
int  varID,
int  param 
)
void vlistDefVarScalefactor ( int  vlistID,
int  varID,
double  scalefactor 
)
void vlistDefVarStdname ( int  vlistID,
int  varID,
const char *  stdname 
)
void vlistDefVarTable ( int  vlistID,
int  varID,
int  tableID 
)
void vlistDefVarTimaccu ( int  vlistID,
int  varID,
int  timaccu 
)
void vlistDefVarTimave ( int  vlistID,
int  varID,
int  timave 
)
void vlistDefVarTsteptype ( int  vlistID,
int  varID,
int  tsteptype 
)
void vlistDefVarTypeOfGeneratingProcess ( int  vlistID,
int  varID,
int  typeOfGeneratingProcess 
)
void vlistDefVarUnits ( int  vlistID,
int  varID,
const char *  units 
)
void vlistDefVarXYZ ( int  vlistID,
int  varID,
int  xyz 
)
int vlistDelAtt ( int  vlistID,
int  varID,
const char *  name 
)
void vlistDestroy ( int  vlistID)
int vlistDuplicate ( int  vlistID)
int vlistFindLevel ( int  vlistID,
int  fvarID,
int  flevelID 
)
int vlistFindVar ( int  vlistID,
int  fvarID 
)
int vlistGrid ( int  vlistID,
int  index 
)
int vlistGridIndex ( int  vlistID,
int  gridID 
)
int vlistGridsizeMax ( int  vlistID)
int vlistHasVarKey ( int  vlistID,
int  varID,
const char *  name 
)
int vlistInqAtt ( int  vlistID,
int  varID,
int  attrnum,
char *  name,
int *  typep,
int *  lenp 
)
int vlistInqAttFlt ( int  vlistID,
int  varID,
const char *  name,
int  mlen,
double *  dp_vec 
)
int vlistInqAttInt ( int  vlistID,
int  varID,
const char *  name,
int  mlen,
int *  ip_vec 
)
int vlistInqAttTxt ( int  vlistID,
int  varID,
const char *  name,
int  mlen,
char *  tp_cbuf 
)
int vlistInqFlag ( int  vlistID,
int  varID,
int  levID 
)
int vlistInqIndex ( int  vlistID,
int  varID,
int  levID 
)
int vlistInqInstitut ( int  vlistID)
int vlistInqModel ( int  vlistID)
int vlistInqNatts ( int  vlistID,
int  varID,
int *  nattsp 
)
int vlistInqTable ( int  vlistID)
int vlistInqTaxis ( int  vlistID)
void vlistInqVar ( int  vlistID,
int  varID,
int *  gridID,
int *  zaxisID,
int *  tsteptype 
)
double vlistInqVarAddoffset ( int  vlistID,
int  varID 
)
int vlistInqVarChunkType ( int  vlistID,
int  varID 
)
int vlistInqVarCode ( int  vlistID,
int  varID 
)
int vlistInqVarCompLevel ( int  vlistID,
int  varID 
)
int vlistInqVarCompType ( int  vlistID,
int  varID 
)
int vlistInqVarDatatype ( int  vlistID,
int  varID 
)
double vlistInqVarDblKey ( int  vlistID,
int  varID,
const char *  name 
)
int vlistInqVarEnsemble ( int  vlistID,
int  varID,
int *  ensID,
int *  ensCount,
int *  forecast_type 
)
void vlistInqVarExtra ( int  vlistID,
int  varID,
char *  extra 
)
int vlistInqVarGrid ( int  vlistID,
int  varID 
)
int vlistInqVarID ( int  vlistID,
int  code 
)
int vlistInqVarInstitut ( int  vlistID,
int  varID 
)
int vlistInqVarIntKey ( int  vlistID,
int  varID,
const char *  name 
)
void vlistInqVarLongname ( int  vlistID,
int  varID,
char *  longname 
)
double vlistInqVarMissval ( int  vlistID,
int  varID 
)
int vlistInqVarModel ( int  vlistID,
int  varID 
)
void vlistInqVarName ( int  vlistID,
int  varID,
char *  name 
)
int vlistInqVarNumber ( int  vlistID,
int  varID 
)
int vlistInqVarParam ( int  vlistID,
int  varID 
)
double vlistInqVarScalefactor ( int  vlistID,
int  varID 
)
int vlistInqVarSize ( int  vlistID,
int  varID 
)
void vlistInqVarStdname ( int  vlistID,
int  varID,
char *  stdname 
)
int vlistInqVarTable ( int  vlistID,
int  varID 
)
int vlistInqVarTimaccu ( int  vlistID,
int  varID 
)
int vlistInqVarTimave ( int  vlistID,
int  varID 
)
int vlistInqVarTsteptype ( int  vlistID,
int  varID 
)
int vlistInqVarTypeOfGeneratingProcess ( int  vlistID,
int  varID 
)
void vlistInqVarUnits ( int  vlistID,
int  varID,
char *  units 
)
int vlistInqVarXYZ ( int  vlistID,
int  varID 
)
int vlistInqVarZaxis ( int  vlistID,
int  varID 
)
void vlistMerge ( int  vlistID2,
int  vlistID1 
)
int vlistMergedLevel ( int  vlistID,
int  varID,
int  levelID 
)
int vlistMergedVar ( int  vlistID,
int  varID 
)
int vlistNgrids ( int  vlistID)
int vlistNrecs ( int  vlistID)
int vlistNtsteps ( int  vlistID)
int vlistNumber ( int  vlistID)
int vlistNvars ( int  vlistID)
int vlistNzaxis ( int  vlistID)
void vlistPrint ( int  vlistID)
int vlistZaxis ( int  vlistID,
int  index 
)
int vlistZaxisIndex ( int  vlistID,
int  zaxisID 
)
void zaxisChangeType ( int  zaxisID,
int  zaxistype 
)
int zaxisCreate ( int  zaxistype,
int  size 
)
void zaxisDefLbounds ( int  zaxisID,
const double *  lbounds_vec 
)
void zaxisDefLevel ( int  zaxisID,
int  levelID,
double  levels 
)
void zaxisDefLevels ( int  zaxisID,
const double *  levels_vec 
)
void zaxisDefLongname ( int  zaxisID,
const char *  longname 
)
void zaxisDefLtype ( int  zaxisID,
int  ltype 
)
void zaxisDefName ( int  zaxisID,
const char *  name 
)
void zaxisDefNlevRef ( int  gridID,
int  nhlev 
)
void zaxisDefNumber ( int  gridID,
int  number 
)
void zaxisDefPositive ( int  zaxisID,
int  positive 
)
void zaxisDefPrec ( int  zaxisID,
int  prec 
)
void zaxisDefUbounds ( int  zaxisID,
const double *  ubounds_vec 
)
void zaxisDefUnits ( int  zaxisID,
const char *  units 
)
void zaxisDefUUID ( int  zaxisID,
const char *  uuid_cbuf 
)
void zaxisDefVct ( int  zaxisID,
int  size,
const double *  vct_vec 
)
void zaxisDefWeights ( int  zaxisID,
const double *  weights_vec 
)
void zaxisDestroy ( int  zaxisID)
int zaxisDuplicate ( int  zaxisID)
double zaxisInqLbound ( int  zaxisID,
int  index 
)
int zaxisInqLbounds ( int  zaxisID,
double *  lbounds_vec 
)
double zaxisInqLevel ( int  zaxisID,
int  levelID 
)
void zaxisInqLevels ( int  zaxisID,
double *  levels_vec 
)
const double* zaxisInqLevelsPtr ( int  zaxisID)
void zaxisInqLongname ( int  zaxisID,
char *  longname 
)
int zaxisInqLtype ( int  zaxisID)
void zaxisInqName ( int  zaxisID,
char *  name 
)
int zaxisInqNlevRef ( int  gridID)
int zaxisInqNumber ( int  gridID)
int zaxisInqPositive ( int  zaxisID)
int zaxisInqPrec ( int  zaxisID)
int zaxisInqSize ( int  zaxisID)
void zaxisInqStdname ( int  zaxisID,
char *  stdname 
)
int zaxisInqType ( int  zaxisID)
double zaxisInqUbound ( int  zaxisID,
int  index 
)
int zaxisInqUbounds ( int  zaxisID,
double *  ubounds_vec 
)
void zaxisInqUnits ( int  zaxisID,
char *  units 
)
void zaxisInqUUID ( int  zaxisID,
char *  uuid_cbuf 
)
void zaxisInqVct ( int  zaxisID,
double *  vct_vec 
)
const double* zaxisInqVctPtr ( int  zaxisID)
int zaxisInqVctSize ( int  zaxisID)
int zaxisInqWeights ( int  zaxisID,
double *  weights_vec 
)
void zaxisName ( int  zaxistype,
char *  zaxisname 
)
void zaxisPrint ( int  zaxisID)
void zaxisResize ( int  zaxisID,
int  size 
)