printinfo.h 796 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
// This file is used in CDI and CDO !!!

Uwe Schulzweida's avatar
Uwe Schulzweida committed
3
4
#ifndef PRINTINFO_H
#define PRINTINFO_H
5
6
7

#include <stdio.h>

8
9
10
#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
11
void datetime2str(int64_t date, int time, char *datetimestr, int maxlen);
12

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

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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
17
const char *comp_name(int comptype);
18

Uwe Schulzweida's avatar
Uwe Schulzweida committed
19
void printFiletype(int streamID, int vlistID);
20

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

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

Uwe Schulzweida's avatar
Uwe Schulzweida committed
25
void printSubtypeInfo(int vlistID);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
26

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

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:
 */