varscan.h 1.07 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


9
void varAddRecord(int recID, int code, int gridID, int zaxistype, int lbounds,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
10
		  int level1, int level2, int prec, int *pvarID, int *plevelID,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
11
12
		  int numavg, int codetable, int ltype,
		  const char *name, const char *longname, const char *units);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
13
14
15

void varDefVCT(size_t vctsize, double *vctptr);

16
int  varDefGrid(int vlistID, grid_t grid, int mode);
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,
		 char *longname, char *units, int prec, int mode, int ltype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
20

21
22
void varDefZtype(int varID, int ztype);
void varDefZlevel(int varID, int zlevel);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
23
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);

30
int  zaxisCompare(int zaxisID, int zaxistype, int nlevels, int lbounds, double *levels, char *longname, char *units, int ltype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
31
32

#endif