From cabc6994b0529f85a08c28558d7a63e223a50b8a Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 13 Aug 2013 16:47:23 +0100 Subject: [PATCH] GRIB-413: use similar output to cdo --- tools/grib_to_netcdf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/grib_to_netcdf.c b/tools/grib_to_netcdf.c index cfdb09ddd..d8f30d5ed 100644 --- a/tools/grib_to_netcdf.c +++ b/tools/grib_to_netcdf.c @@ -3010,7 +3010,7 @@ static int define_netcdf_dimensions(hypercube *h, fieldset *fs, int ncid, datase time(&now); strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S GMT", gmtime(&now)); - sprintf(history, "%s by grib_to_netcdf-%d.%d.%d (%s)", timestamp, major, minor, revision, argvString); + sprintf(history, "%s by grib_to_netcdf-%d.%d.%d: %s", timestamp, major, minor, revision, argvString); } stat = nc_put_att_text(ncid, NC_GLOBAL, "history", strlen(history), history); check_err(stat, __LINE__, __FILE__); @@ -3601,8 +3601,8 @@ request *user_r = NULL; int main(int argc, char *argv[]) { int i, ret = 0; - /* GRIB-413: Collect all program arguments into a string (except program itself) */ - for (i=1; i