Skip to content
Snippets Groups Projects
Commit e99b69ce authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamInqGRIBinfo: removed dependency from HAVE_LIBCGRIBEX.

parent 37bc2e82
No related branches found
No related tags found
No related merge requests found
......@@ -369,8 +369,7 @@ void streamInqGRIBinfo(int streamID, int *intnum, float *fltnum, off_t *bignum)
int filetype = streamptr->filetype;
#ifdef HAVE_LIBCGRIBEX
if ( filetype == CDI_FILETYPE_GRB && !CDI_gribapi_grib1 )
if ( filetype == CDI_FILETYPE_GRB )
{
int tsID = streamptr->curTsID;
int vrecID = streamptr->tsteps[tsID].curRecID;
......@@ -386,13 +385,6 @@ void streamInqGRIBinfo(int streamID, int *intnum, float *fltnum, off_t *bignum)
else
grib_info_for_grads(recpos, (long)gribbuffersize, (unsigned char *) gribbuffer, intnum, fltnum, bignum);
}
else if (CDI_gribapi_grib1)
{
Error("CGRIBEX support deactivated!");
}
#else
Error("CGRIBEX support not compiled in!");
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment