This commit is contained in:
Shahram Najm 2022-12-07 19:38:35 +00:00
parent 44b6ed943d
commit 7b55d9d00a
6 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@
* Description: * Description:
* Split an input file (GRIB, BUFR etc) into chunks of roughly the same size. * Split an input file (GRIB, BUFR etc) into chunks of roughly the same size.
* The output files are named input_01, input_02 etc. This is much faster than grib_copy/bufr_copy * The output files are named input_01, input_02 etc. This is much faster than grib_copy/bufr_copy
* *
* 2019-07-26 W.Qu Allow an input file to be split into each individual message (if nchunk=-1) * 2019-07-26 W.Qu Allow an input file to be split into each individual message (if nchunk=-1)
* *
*/ */

View File

@ -684,7 +684,7 @@ static int compare_values(grib_runtime_options* options, grib_handle* h1, grib_h
printInfo(h1); printInfo(h1);
printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n", printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n",
name,grib_get_type_name(type1),grib_get_type_name(type2)); name,grib_get_type_name(type1),grib_get_type_name(type2));
return GRIB_TYPE_MISMATCH; return GRIB_TYPE_MISMATCH;
} }
*/ */

View File

@ -521,7 +521,7 @@ static int compare_values(grib_runtime_options* options, grib_handle* h1, grib_h
printInfo(h1); printInfo(h1);
printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n", printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n",
name,grib_get_type_name(type1),grib_get_type_name(type2)); name,grib_get_type_name(type1),grib_get_type_name(type2));
return GRIB_TYPE_MISMATCH; return GRIB_TYPE_MISMATCH;
} }
*/ */

View File

@ -48,7 +48,7 @@ int main(int argc, char* argv[])
/* /*
This is executed before processing the options with i This is executed before processing the options with i
getopt and therfore it is the right place for hacking getopt and therfore it is the right place for hacking
the arguments if needed the arguments if needed
*/ */
int grib_tool_before_getopt(grib_runtime_options* options) int grib_tool_before_getopt(grib_runtime_options* options)

View File

@ -598,7 +598,7 @@ static int compare_values(grib_runtime_options* options, grib_handle* h1, grib_h
printInfo(h1); printInfo(h1);
printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n", printf("Warning, [%s] has different types: 1st field: [%s], 2nd field: [%s]\n",
name,grib_get_type_name(type1),grib_get_type_name(type2)); name,grib_get_type_name(type1),grib_get_type_name(type2));
return GRIB_TYPE_MISMATCH; return GRIB_TYPE_MISMATCH;
} }
*/ */

View File

@ -63,7 +63,7 @@ int main(int argc, char* argv[])
/* /*
This is executed before processing the options with i This is executed before processing the options with i
getopt and therfore it is the right place for hacking getopt and therfore it is the right place for hacking
the arguments if needed the arguments if needed
*/ */
int grib_tool_before_getopt(grib_runtime_options* options) int grib_tool_before_getopt(grib_runtime_options* options)
@ -72,8 +72,8 @@ int grib_tool_before_getopt(grib_runtime_options* options)
} }
/* /*
The options have been parsed and the structure The options have been parsed and the structure
grib_runtime_options* options has been loaded. grib_runtime_options* options has been loaded.
Initialization and startup can be done here Initialization and startup can be done here
*/ */
int grib_tool_init(grib_runtime_options* options) int grib_tool_init(grib_runtime_options* options)