stream_gribapi.h 930 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
#ifndef _STREAM_GRIBAPI_H
#define _STREAM_GRIBAPI_H

4
5
#include "gribapi.h"

6
7
8
int gribapiScanTimestep1(stream_t * streamptr);
int gribapiScanTimestep2(stream_t * streamptr);
int gribapiScanTimestep(stream_t * streamptr);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
9

10
int gribapiDecode(void *gribbuffer, int gribsize, double *data, long datasize,
11
		  int unreduced, int *nmiss, double missval, int vlistID, int varID);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
12

13
size_t gribapiEncode(int varID, int levelID, int vlistID, int gridID, int zaxisID,
14
15
		     int vdate, int vtime, int tsteptype, int numavg,
		     long datasize, const double *data, int nmiss, void **gribbuffer, size_t *gribbuffersize,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
		     int ljpeg, void *gribContainer);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
17

18
void gribapiChangeParameterIdentification(void *gh, int code, int ltype, int lev);
19

Uwe Schulzweida's avatar
Uwe Schulzweida committed
20
#endif  /* _STREAM_GRIBAPI_H */
21
22
23
24
25
26
27
28
29
/*
 * Local Variables:
 * c-file-style: "Java"
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * show-trailing-whitespace: t
 * require-trailing-newline: t
 * End:
 */