Debug info

This commit is contained in:
shahramn 2024-11-20 14:01:48 +00:00
parent c4efc1d5f0
commit 8df839fee1
3 changed files with 5 additions and 4 deletions

View File

@ -547,6 +547,7 @@ grib_context* grib_context_get_default()
#endif #endif
if (default_grib_context.debug) { if (default_grib_context.debug) {
fprintf(stderr, "ECCODES DEBUG ecCodes Version: %s\n", ECCODES_VERSION_STR);
fprintf(stderr, "ECCODES DEBUG Definitions path: %s\n", default_grib_context.grib_definition_files_path); fprintf(stderr, "ECCODES DEBUG Definitions path: %s\n", default_grib_context.grib_definition_files_path);
fprintf(stderr, "ECCODES DEBUG Samples path: %s\n", default_grib_context.grib_samples_path); fprintf(stderr, "ECCODES DEBUG Samples path: %s\n", default_grib_context.grib_samples_path);
} }