printinfo.h 755 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
#ifndef PRINTINFO_H
#define PRINTINFO_H
3
4
5

#include <stdio.h>

6
7
8
#define DATE_FORMAT "%5.4d-%2.2d-%2.2d"
#define TIME_FORMAT "%2.2d:%2.2d:%2.2d"

Uwe Schulzweida's avatar
Uwe Schulzweida committed
9
void datetime2str(int64_t date, int time, char *datetimestr, int maxlen);
10

Uwe Schulzweida's avatar
Uwe Schulzweida committed
11
void date2str(int64_t date, char *datestr, int maxlen);
12

Uwe Schulzweida's avatar
Uwe Schulzweida committed
13
void time2str(int time, char *timestr, int maxlen);
14

Uwe Schulzweida's avatar
Uwe Schulzweida committed
15
const char *comp_name(int comptype);
16

Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
void printFiletype(int streamID, int vlistID);
18

Uwe Schulzweida's avatar
Uwe Schulzweida committed
19
void printGridInfo(int vlistID);
20

Uwe Schulzweida's avatar
Uwe Schulzweida committed
21
void printZaxisInfo(int vlistID);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
22

Uwe Schulzweida's avatar
Uwe Schulzweida committed
23
void printSubtypeInfo(int vlistID);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
24

Uwe Schulzweida's avatar
Uwe Schulzweida committed
25
void printTimesteps(int streamID, int taxisID, int verbose);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
26

27
#endif
28
29
30
31
32
33
34
35
36
/*
 * Local Variables:
 * c-file-style: "Java"
 * c-basic-offset: 2
 * indent-tabs-mode: nil
 * show-trailing-whitespace: t
 * require-trailing-newline: t
 * End:
 */