Commit 16dc60bc authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cgribexlib update

parent 4fd7ec43
/* Automatically generated by m214003 at 2009-12-11, do not edit */
/* Automatically generated by m214003 at 2009-12-14, do not edit */
/* CGRIBEXLIB_VERSION="1.4.1" */
......@@ -103,6 +103,22 @@
double intpow2(int x);
/* CDI converter routines */
/* param format: DDDCCCNNN */
void cdiDecodeParam(int param, int *dis, int *cat, int *num);
int cdiEncodeParam(int dis, int cat, int num);
/* date format: YYYYMMDD */
/* time format: hhmmss */
void cdiDecodeDate(int date, int *year, int *month, int *day);
int cdiEncodeDate(int year, int month, int day);
void cdiDecodeTime(int time, int *hour, int *minute, int *second);
int cdiEncodeTime(int hour, int minute, int second);
extern FILE *grprsm;
......@@ -2792,7 +2808,7 @@ void encodeES(GRIBPACK *lGrib, long *gribLen)
if ( z > 16777216 )
{
fprintf(stderr, "Abort: GRIB record to large (max = 16777216)!\n");
fprintf(stderr, "Abort: GRIB record too large (max = 16777216)!\n");
exit(1);
}
......@@ -8889,7 +8905,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return (gribLen);
}
static const char grb_libvers[] = "1.4.1" " of ""Dec 11 2009"" ""15:11:13";
static const char grb_libvers[] = "1.4.1" " of ""Dec 14 2009"" ""17:56:05";
const char *
cgribexLibraryVersion(void)
{
......
......@@ -1771,7 +1771,7 @@ void cgribexDefLevel(int *isec1, int *isec2, double *fsec2, int zaxisID, int lev
ISEC2_NumVCP = 0;
if ( vct_warning )
{
Warning(func, "VCT size of %d is to large (maximum is 255). Set to 0!", vctsize);
Warning(func, "VCT size of %d is too large (maximum is 255). Set to 0!", vctsize);
vct_warning = 0;
}
}
......
......@@ -2108,7 +2108,7 @@ size_t gribapiEncode(int varID, int levelID, int vlistID, int gridID, int zaxisI
//recsize += 512; /* add some space for possible filling */
if ( recsize > gribbuffersize )
Error(func, "Internal problem: GRIB buffer to small (size = %ld, needed = %ld", gribbuffersize, recsize);
Error(func, "Internal problem: GRIB buffer too small (size = %ld, needed = %ld", gribbuffersize, recsize);
/* get a copy of the coded message */
GRIB_CHECK(grib_get_message_copy(gh, gribbuffer, &recsize), 0);
......
......@@ -378,7 +378,7 @@ void iegDefLevel(int *pdb, int *gdb, double *vct, int zaxisID, int levelID)
/* IEG_G_NumVCP(gdb) = 0; */
if ( vct_warning )
{
Warning(func, "VCT size of %d is to large (maximum is 100). Set to 0!", vctsize);
Warning(func, "VCT size of %d is too large (maximum is 100). Set to 0!", vctsize);
vct_warning = 0;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment