Cosmetics

This commit is contained in:
shahramn 2024-11-12 21:54:49 +00:00
parent ff9265a09f
commit f96369ccb3
2 changed files with 3 additions and 6 deletions

View File

@ -11,11 +11,7 @@
#include "grib_api_internal.h"
#include "grib_accessor_classes_hash.cc"
#include <iostream>
/* grib level */
/* This file is generated by ./make_class.pl */
//#include <iostream>
#include "accessor/grib_accessor.h"
#if GRIB_PTHREADS

View File

@ -108,7 +108,8 @@ int main(int argc, char* argv[])
grib_context_free(c, full_path);
if (read_count == 0) {
fprintf(stderr, "Error: Number of bytes read == 0. Please check the path refers to a file.\n");
fprintf(stderr, "Error: Number of bytes read == 0. Please check the path refers to a regular %s file.\n",
(resource_type == SAMPLE) ? "sample" : "definition");
} else {
printf("Resource exported to file '%s'.\n", out_file);
}