Fix comments

This commit is contained in:
Shahram Najm 2019-07-23 18:23:46 +01:00
parent 29d6b84d51
commit bc67a0cadd
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ static void* process_grib(void* threadID)
CODES_CHECK(codes_set_string(h,"indicatorOfUnitOfTimeRange", "s", &str_len),0);
CODES_CHECK(codes_set_string(h,"stepUnits", "s", &str_len),0);
CODES_CHECK(codes_set_long(h, "endStep", 86400), 0);
//CODES_CHECK(codes_set_long(h,"centre", 80),0);
/* CODES_CHECK(codes_set_long(h,"centre", 80),0); */
CODES_CHECK(codes_get_long(h,"endStep", &step),0);
CODES_CHECK(codes_get_string(h, "indicatorOfUnitOfTimeRange", mystring, &str_len),0);

View File

@ -54,7 +54,7 @@ static int encode_file(char *template_file, char *output_file)
grib_dumper* dumper = NULL;
const char* dumper_name = "bufr_simple";
unsigned long dump_flags = CODES_DUMP_FLAG_ALL_DATA;
//codes_dump_content(source_handle,devnull, "json", 1024, NULL); /* JSON dump with all attributes */
/* codes_dump_content(source_handle,devnull, "json", 1024, NULL); */ /* JSON dump with all attributes */
dumper=grib_dump_content_with_dumper(source_handle, dumper, devnull, dumper_name, dump_flags, NULL);
assert(dumper);
fclose(devnull);