stream_gribapi.h 610 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
#ifndef _STREAM_GRIBAPI_H
#define _STREAM_GRIBAPI_H

void gribapiScanTimestep1(int streamID);
int gribapiScanTimestep2(int streamID);
int gribapiScanTimestep(int streamID);

int gribapiDecode(unsigned char *gribbuffer, int gribsize, double *data, int gridsize,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
9
		  int unreduced, int *nmiss, int *zip, double *missval);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
10
11

size_t gribapiEncode(int varID, int levelID, int vlistID, int gridID, int zaxisID, int date, int time, int numavg, 
12
13
		     long datasize, const double *data, int nmiss, unsigned char *gribbuffer, size_t gribbuffersize,
		     int ljpeg, void *gribHandle);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
14
15

#endif  /* _STREAM_GRIBAPI_H */