gribapi.h 1.88 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
#ifndef _GRIBAPI_H
#define _GRIBAPI_H

Uwe Schulzweida's avatar
Uwe Schulzweida committed
4
5
6
7
8
#define  GRIBAPI_MISSVAL  -9.E33

/* Level Types */
#define  GRIBAPI_LTYPE_SURFACE               1
#define  GRIBAPI_LTYPE_ISOBARIC            100
Uwe Schulzweida's avatar
Uwe Schulzweida committed
9
10
11
12
13
14
15
#define  GRIBAPI_LTYPE_MEANSEA             101
#define  GRIBAPI_LTYPE_ALTITUDE            102
#define  GRIBAPI_LTYPE_HEIGHT              103
#define  GRIBAPI_LTYPE_SIGMA               104
#define  GRIBAPI_LTYPE_HYBRID              105
#define  GRIBAPI_LTYPE_LANDDEPTH           106
#define  GRIBAPI_LTYPE_ISENTROPIC          107
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
17
18
19
20
21
#define  GRIBAPI_LTYPE_SEADEPTH            160

/*
 *  Data representation type (Grid Type)
 */
#define  GRIBAPI_GTYPE_LATLON                0  /*  latitude/longitude                       */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
22
23
24
#define  GRIBAPI_GTYPE_LATLON_ROT            1  /*  rotated latitude/longitude               */
#define  GRIBAPI_GTYPE_LATLON_STR            2  /*  stretched latitude/longitude             */
#define  GRIBAPI_GTYPE_LATLON_ROTSTR         3  /*  rotated and stretched latitude/longitude */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
25
#define  GRIBAPI_GTYPE_GAUSSIAN             40  /*  gaussian grid                            */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
26
27
28
29
#define  GRIBAPI_GTYPE_GAUSSIAN_ROT         41  /*  rotated gaussian grid                    */
#define  GRIBAPI_GTYPE_GAUSSIAN_STR         42  /*  stretched gaussian grid                  */
#define  GRIBAPI_GTYPE_GAUSSIAN_ROTSTR      43  /*  rotated and stretched gaussian grid      */
#define  GRIBAPI_GTYPE_LCC                  30  /*  Lambert conformal                        */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
30
#define  GRIBAPI_GTYPE_SPECTRAL             50  /*  spherical harmonics                      */
31
#define  GRIBAPI_GTYPE_GME                 100  /*  hexagonal GME grid                       */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
32
#define  GRIBAPI_GTYPE_NUMBER              101  /*  General Unstructured Grid                */
Uwe Schulzweida's avatar
Uwe Schulzweida committed
33

Uwe Schulzweida's avatar
Uwe Schulzweida committed
34
const char *gribapiLibraryVersion(void);
35
void gribapiDefHandles(int streamID);
36
37
void *gribHandleNew();
void gribHandleDelete(void *gh);
Uwe Schulzweida's avatar
Uwe Schulzweida committed
38
39

#endif  /* _GRIBAPI_H */