Skip to content

Commit

Permalink
Per #2048, cleanup the MetNcFile::dump() function in met_file.cc by r…
Browse files Browse the repository at this point in the history
…emoving 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.
  • Loading branch information
JohnHalleyGotway committed Feb 15, 2022
1 parent 39a50c1 commit ef18eb2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions met/src/libcode/vx_data2d_nc_met/met_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<Nvars; ++j) {
Expand Down

0 comments on commit ef18eb2

Please sign in to comment.