Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
104cf06d
Commit
104cf06d
authored
Sep 03, 2009
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
42e313da
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/cgribex.h
View file @
104cf06d
#ifndef _GRIB_H
#ifndef _
C
GRIB
EX
_H
#define _GRIB_H
#define _
C
GRIB
EX
_H
#include
<stdio.h>
#include
<stdio.h>
#include
<sys/types.h>
#include
<sys/types.h>
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
#define ISEC1_TimePeriod2 (isec1[16])
/* P2 Time period */
#define ISEC1_TimePeriod2 (isec1[16])
/* P2 Time period */
#define ISEC1_TimeRange (isec1[17])
/* Time range indicator */
#define ISEC1_TimeRange (isec1[17])
/* Time range indicator */
#define ISEC1_AvgNum (isec1[18])
/* Number of products included in an average */
#define ISEC1_AvgNum (isec1[18])
/* Number of products included in an average */
#define ISEC1_AvgMiss (isec1[19])
/* Number of products missing f
o
rm an average */
#define ISEC1_AvgMiss (isec1[19])
/* Number of products missing fr
o
m an average */
#define ISEC1_Century (isec1[20])
/* Century */
#define ISEC1_Century (isec1[20])
/* Century */
#define ISEC1_SubCenterID (isec1[21])
/* Subcenter identifier */
#define ISEC1_SubCenterID (isec1[21])
/* Subcenter identifier */
#define ISEC1_DecScaleFactor (isec1[22])
/* Decimal scale factor */
#define ISEC1_DecScaleFactor (isec1[22])
/* Decimal scale factor */
...
@@ -179,7 +179,7 @@ void gribExDP(int *isec0, int *isec1, int *isec2, double *fsec2, int *isec3,
...
@@ -179,7 +179,7 @@ void gribExDP(int *isec0, int *isec1, int *isec2, double *fsec2, int *isec3,
int
kleng
,
int
*
kword
,
char
*
hoper
,
int
*
kret
);
int
kleng
,
int
*
kword
,
char
*
hoper
,
int
*
kret
);
const
char
*
gribLibraryVersion
(
void
);
const
char
*
c
grib
ex
LibraryVersion
(
void
);
void
gribDebug
(
int
debug
);
void
gribDebug
(
int
debug
);
...
@@ -205,8 +205,11 @@ void gribPrintGDS(int nrec, long recpos, long recsize, unsigned char *gribbuffe
...
@@ -205,8 +205,11 @@ void gribPrintGDS(int nrec, long recpos, long recsize, unsigned char *gribbuffe
void
gribPrintBMS
(
int
nrec
,
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
);
void
gribPrintBMS
(
int
nrec
,
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
);
void
gribPrintBDS
(
int
nrec
,
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
);
void
gribPrintBDS
(
int
nrec
,
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
);
int
gribSections
(
unsigned
char
*
gribbuffer
,
long
recsize
,
unsigned
char
**
pdsp
,
int
grib1Sections
(
unsigned
char
*
gribbuffer
,
long
recsize
,
unsigned
char
**
pdsp
,
unsigned
char
**
gdsp
,
unsigned
char
**
bmsp
,
unsigned
char
**
bdsp
);
unsigned
char
**
gdsp
,
unsigned
char
**
bmsp
,
unsigned
char
**
bdsp
);
int
grib2Sections
(
unsigned
char
*
gribbuffer
,
long
recsize
,
unsigned
char
**
idsp
,
unsigned
char
**
lusp
,
unsigned
char
**
gdsp
,
unsigned
char
**
pdsp
,
unsigned
char
**
drsp
,
unsigned
char
**
bmsp
,
unsigned
char
**
bdsp
);
int
gribGetZip
(
long
recsize
,
unsigned
char
*
gribbuffer
,
long
*
urecsize
);
int
gribGetZip
(
long
recsize
,
unsigned
char
*
gribbuffer
,
long
*
urecsize
);
...
@@ -226,6 +229,7 @@ int gribFileSeek(int fileID, long *offset);
...
@@ -226,6 +229,7 @@ int gribFileSeek(int fileID, long *offset);
int
gribReadSize
(
int
fileID
);
int
gribReadSize
(
int
fileID
);
int
gribVersion
(
unsigned
char
*
buffer
,
size_t
buffersize
);
int
gribVersion
(
unsigned
char
*
buffer
,
size_t
buffersize
);
int
gribGinfo
(
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
,
int
*
intnum
,
float
*
fltnum
);
int
gribGinfo
(
long
recpos
,
long
recsize
,
unsigned
char
*
gribbuffer
,
int
*
intnum
,
float
*
fltnum
);
#endif
/* _CGRIBEX_H */
#endif
/* _GRIB_H */
src/cgribexlib.c
View file @
104cf06d
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment