functs.h 1.4 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
#ifndef _FUNCTS_H
#define _FUNCTS_H

Uwe Schulzweida's avatar
Uwe Schulzweida committed
4
5
6
7
8
9
#define  func_fld       7
#define  func_all       8
#define  func_hrd       9

#define  func_min      10
#define  func_max      11
Uwe Schulzweida's avatar
Uwe Schulzweida committed
10
11
12
#define  func_range    12
#define  func_sum      13
#define  func_avg      14
Uwe Schulzweida's avatar
Uwe Schulzweida committed
13
#define  func_mean     15
14
15
16
17
18
19
20
21
22
#define  func_std      16
#define  func_std1     17
#define  func_var      18
#define  func_var1     19
#define  func_pctl     20
#define  func_cor      21
#define  func_covar    22
#define  func_avgw     23
#define  func_meanw    24
23
24
25
26
#define  func_stdw     25
#define  func_std1w    26
#define  func_varw     27
#define  func_var1w    28
Uwe Schulzweida's avatar
Uwe Schulzweida committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

#define  func_crps     30
#define  func_brs      31
#define  func_rank     32
#define  func_roc      33

#define  func_add      41
#define  func_sub      42
#define  func_mul      43
#define  func_div      44
#define  func_mod      45

#define  func_atan2    50

#define  func_read     60
#define  func_write    61

#define  func_month    84
#define  func_year     85
#define  func_time     86
#define  func_date     87
#define  func_step     88
49
#define  func_datetime 89
Uwe Schulzweida's avatar
Uwe Schulzweida committed
50

Uwe Schulzweida's avatar
Uwe Schulzweida committed
51
52
#define  func_lon      98
#define  func_lat      99
Uwe Schulzweida's avatar
Uwe Schulzweida committed
53

Uwe Schulzweida's avatar
Uwe Schulzweida committed
54
enum cmp_flag {
Uwe Schulzweida's avatar
Uwe Schulzweida committed
55
56
57
58
  CMP_NAME     = 1,
  CMP_GRID     = 2,
  CMP_NLEVEL   = 4,
  CMP_GRIDSIZE = 8,
59
  CMP_HRD      = CMP_NAME | CMP_GRIDSIZE,
Uwe Schulzweida's avatar
Uwe Schulzweida committed
60
  CMP_DIM      =            CMP_GRIDSIZE | CMP_NLEVEL | CMP_GRID,
61
  CMP_ALL      = CMP_NAME | CMP_GRIDSIZE | CMP_NLEVEL | CMP_GRID
Uwe Schulzweida's avatar
Uwe Schulzweida committed
62
63
};

Uwe Schulzweida's avatar
Uwe Schulzweida committed
64
#endif  /* _FUNCTS_H */