Commit 9eb529fb authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

change return value of vlistInqVarEnsemble()

parent 12fee661
...@@ -2920,7 +2920,7 @@ size_t gribapiEncode(int varID, int levelID, int vlistID, int gridID, int zaxisI ...@@ -2920,7 +2920,7 @@ size_t gribapiEncode(int varID, int levelID, int vlistID, int gridID, int zaxisI
if ( ! gc->init ) gribapiDefParam(editionNumber, gh, param, name); if ( ! gc->init ) gribapiDefParam(editionNumber, gh, param, name);
/* /*
if( !vlistInqVarEnsemble( vlistID, varID, &ensID, &ensCount, &forecast_type ) ) if( vlistInqVarEnsemble( vlistID, varID, &ensID, &ensCount, &forecast_type ) )
{ {
GRIB_CHECK(grib_set_long(gh, "typeOfEnsembleForecast", forecast_type ), 0); GRIB_CHECK(grib_set_long(gh, "typeOfEnsembleForecast", forecast_type ), 0);
GRIB_CHECK(grib_set_long(gh, "numberOfForecastsInEnsemble", ensCount ), 0); GRIB_CHECK(grib_set_long(gh, "numberOfForecastsInEnsemble", ensCount ), 0);
......
Supports Markdown
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