mirror of https://github.com/ecmwf/eccodes.git
Use debug dump mode to decode all keys in message
This commit is contained in:
parent
68dd0b3b87
commit
e788a28814
|
@ -58,7 +58,8 @@ static int encode_file(char *template_file, char *output_file)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
FILE *devnull = fopen("/dev/null", "w");
|
FILE *devnull = fopen("/dev/null", "w");
|
||||||
grib_dump_content(source_handle,devnull,"wmo",0,NULL);
|
grib_dump_content(source_handle,devnull, "debug", 0, NULL);
|
||||||
|
grib_dump_content(clone_handle, devnull, "debug", 0, NULL);
|
||||||
}
|
}
|
||||||
grib_handle_delete(clone_handle);
|
grib_handle_delete(clone_handle);
|
||||||
grib_handle_delete(source_handle);
|
grib_handle_delete(source_handle);
|
||||||
|
|
|
@ -57,7 +57,7 @@ static int encode_file(char *template_file, char *output_file)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
FILE *devnull = fopen("/dev/null", "w");
|
FILE *devnull = fopen("/dev/null", "w");
|
||||||
grib_dump_content(source_handle,devnull,"wmo",0,NULL);
|
grib_dump_content(source_handle,devnull,"debug",0,NULL);
|
||||||
}
|
}
|
||||||
grib_handle_delete(source_handle);
|
grib_handle_delete(source_handle);
|
||||||
free(values);
|
free(values);
|
||||||
|
|
|
@ -55,7 +55,8 @@ static int decode_file(char *template_file)
|
||||||
|
|
||||||
{
|
{
|
||||||
FILE *devnull = fopen("/dev/null", "w");
|
FILE *devnull = fopen("/dev/null", "w");
|
||||||
grib_dump_content(source_handle,devnull,"wmo",0,NULL);
|
grib_dump_content(source_handle, devnull, "debug", 0, NULL);
|
||||||
|
grib_dump_content(clone_handle, devnull, "debug", 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
grib_handle_delete(clone_handle);
|
grib_handle_delete(clone_handle);
|
||||||
|
|
Loading…
Reference in New Issue