Turn off GRIB multi-field support. Not relevant for BUFR

This commit is contained in:
Shahram Najm 2016-08-31 09:58:24 +01:00
parent e6222482c8
commit 98c83ee52c
2 changed files with 6 additions and 0 deletions

View File

@ -374,6 +374,9 @@ int grib_tool_init(grib_runtime_options* options)
}
}
/* Turn off GRIB multi-field support mode. Not relevant for BUFR */
grib_multi_support_off(grib_context_get_default());
return 0;
}

View File

@ -60,6 +60,9 @@ int grib_tool_init(grib_runtime_options* options)
if ( options->outfile && options->outfile->name )
options->action->context->outfilename=options->outfile->name;
/* Turn off GRIB multi-field support mode. Not relevant for BUFR */
grib_multi_support_off(grib_context_get_default());
return 0;
}