mirror of https://github.com/ecmwf/eccodes.git
Fix comments
This commit is contained in:
parent
29d6b84d51
commit
bc67a0cadd
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue