varscan.h 1.84 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
#ifndef _VARSCAN_H
#define _VARSCAN_H

#ifndef _GRID_H
#  include "grid.h"
#endif


Uwe Schulzweida's avatar
Uwe Schulzweida committed
9
void varAddRecord(int recID, int param, int gridID, int zaxistype, int lbounds,
10
		  int level1, int level2, int level_sf, int level_unit, int prec,
11
		  int *pvarID, int *plevelID, int tsteptype, int numavg, int ltype1, int ltype2,
12
		  const char *name, const char *stdname, const char *longname, const char *units,
13
                  const var_tile_t *tiles, int *tile_index);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
14
15

void varDefVCT(size_t vctsize, double *vctptr);
16
void varDefZAxisReference(int nlev, int nvgrid, unsigned char uuid[CDI_UUID_SIZE]);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
17

18
19
int  varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbounds,
		 double *levels1, double *levels2, int vctsize, double *vct, char *name,
Thomas Jahns's avatar
Thomas Jahns committed
20
		 char *longname, const char *units, int prec, int mode, int ltype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
21

22
void varDefMissval(int varID, double missval);
23
void varDefCompType(int varID, int comptype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
24
25
26
27
28
29
void varDefInst(int varID, int instID);
int  varInqInst(int varID);
void varDefModel(int varID, int modelID);
int  varInqModel(int varID);
void varDefTable(int varID, int tableID);
int  varInqTable(int varID);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
30
void varDefEnsembleInfo(int varID, int ens_idx, int ens_count, int forecast_type);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
31

32
void varDefTypeOfGeneratingProcess(int varID, int typeOfGeneratingProcess);
33
void varDefProductDefinitionTemplate(int varID, int productDefinitionTemplate);
34
35


36
37
void varDefOptGribInt(int varID, int tile_index, long lval, const char *keyword);
void varDefOptGribDbl(int varID, int tile_index, double dval, const char *keyword);
38
39
int varOptGribNentries(int varID);

Thomas Jahns's avatar
Thomas Jahns committed
40
int zaxisCompare(int zaxisID, int zaxistype, int nlevels, int lbounds, const double *levels, char *longname, const char *units, int ltype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
41
42

#endif
43
44
45
46
47
48
49
50
51
/*
 * Local Variables:
 * c-file-style: "Java"
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * show-trailing-whitespace: t
 * require-trailing-newline: t
 * End:
 */