if(sigofrtime==3)//XXX: This looks like a bug to me, because timeRangeIndicator == 3 does not seem to have the same meaning as significanceOfReferenceTime == 3. I would recommend replacing this condition with `if(!gribapiTimeIsFC())`.
if(sigofrtime==3)//XXX: This looks like a bug to me, because timeRangeIndicator == 3 does not seem to have the same meaning as significanceOfReferenceTime == 3. I would recommend replacing this condition with `if(!gribapiTimeIsFC())`.
{
gribapiGetDataDateTime(gh,vdate,vtime);
}
...
...
@@ -167,9 +193,6 @@ int gribapiGetValidityDateTime(grib_handle *gh, int64_t *vdate, int *vtime)