Disable multi-field for now and print warning. Will implement later
@@ -740,8 +740,10 @@ static grib_handle* grib_handle_new_from_file_multi ( grib_context* c, FILE* f,i
}
else if (edition == 3)
{
- *error = GRIB_UNSUPPORTED_EDITION;
- return NULL;
+ /* GRIB3: Multi-field mode not yet supported */
+ printf("WARNING: %s\n", "grib_handle_new_from_file_multi: GRIB3 multi-field mode not yet implemented! Reverting to single-field mode");
+ gm->message_length=0;
+ gm->message=NULL;
}
else
{
