varscan.h 1.01 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,
11
		  int numavg, int codetable, int ltype);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
12
13
14

void varDefVCT(size_t vctsize, double *vctptr);

15
int  varDefGrid(int vlistID, grid_t grid, int mode);
16
17
18
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
19

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

29
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
30
31

#endif