From ef18eb2a46faa9e5505ec21da47047dbfcffaec1 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Tue, 15 Feb 2022 11:07:31 -0700 Subject: [PATCH] Per #2048, cleanup the MetNcFile::dump() function in met_file.cc by removing old log messages and variables related to printing out the initialization time. Since InitTime has moved from MetNcFile to NcVarInfo, it is no longer included in the dump function. --- met/src/libcode/vx_data2d_nc_met/met_file.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/met/src/libcode/vx_data2d_nc_met/met_file.cc b/met/src/libcode/vx_data2d_nc_met/met_file.cc index dd8f599c48..14a41b64d1 100644 --- a/met/src/libcode/vx_data2d_nc_met/met_file.cc +++ b/met/src/libcode/vx_data2d_nc_met/met_file.cc @@ -330,8 +330,6 @@ void MetNcFile::dump(ostream & out, int depth) const { int j, k; -int month, day, year, hour, minute, second; -char junk[256]; Indent prefix(depth); Indent p2(depth + 1); Indent p3(depth + 2); @@ -362,12 +360,6 @@ out << prefix << "Ydim = " << (Ydim ? GET_NC_NAME_P(Ydim) : "(nul)") << "\n"; out << prefix << "\n"; -snprintf(junk, sizeof(junk), "%s %d, %d %2d:%02d:%02d", short_month_name[month], day, year, hour, minute, second); - -out << junk << "\n"; - -out << prefix << "\n"; - out << prefix << "Nvars = " << Nvars << "\n"; for (j=0; j