mirror of https://github.com/ecmwf/eccodes.git
Cleanup
This commit is contained in:
parent
44b6ed943d
commit
7b55d9d00a
|
@ -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)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue