stream_cdf.h 1.29 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _STREAM_CDF_H
#define _STREAM_CDF_H

void   cdfDefVars(int streamID);
void   cdfDefTimestep(int streamID, int tsID);
int    cdfInqTimestep(int streamID, int tsID);
int    cdfInqContents(int streamID);
void   cdfDefHistory(int streamID, int size, char *history);
int    cdfInqHistorySize(int streamID);
void   cdfInqHistoryString(int streamID, char *history);

void   cdfEndDef(int streamID);
int    cdfDefRecord(int streamID);
14

Uwe Schulzweida's avatar
Uwe Schulzweida committed
15
int    cdfCopyRecord(int streamIDdest, int streamIDsrc);
16

Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
int    cdfReadRecord(int streamID, double *data, int *nmiss);
18
void   cdf_write_record(int streamID, int memtype, const void *data, int nmiss);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
19
20

void   cdfReadVarDP(int streamID, int varID, double *data, int *nmiss);
21
void   cdf_write_var(int streamID, int varID, int memtype, const void *data, int nmiss);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
22
23

int    cdfReadVarSliceDP(int streamID, int varID, int levelID, double *data, int *nmiss);
24
int    cdf_write_var_slice(int streamID, int varID, int levelID, int memtype, const void *data, int nmiss);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
25

26
27
28
void   cdf_write_var_chunk(int streamID, int varID, int memtype,
                           const int rect[][2], const void *data, int nmiss);

Uwe Schulzweida's avatar
Uwe Schulzweida committed
29
#endif
30
31
32
33
34
35
36
37
38
/*
 * Local Variables:
 * c-file-style: "Java"
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * show-trailing-whitespace: t
 * require-trailing-newline: t
 * End:
 */