Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaciel committed Mar 6, 2024
1 parent 3e62461 commit 0ac64c4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/mir/method/MethodWeighted.cc
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,8 @@ void MethodWeighted::execute(context::Context& ctx, const repres::Representation
if (check_stats) {
// compute some statistics on the result
auto ostats = field.statistics(i);
log << "Input field statistics: " << istats << "\n" << "Output field statistics: " << ostats << std::endl;
log << "Input field statistics: " << istats << "\n"
<< "Output field statistics: " << ostats << std::endl;
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-compare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ struct MIRCompare : MIRTool {
int numberOfPositionalArguments() const override { return 2; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " [options] file1 file2" << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " [options] file1 file2" << std::endl;
}

void execute(const eckit::option::CmdArgs& args) override;
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ struct MIRList : MIRTool {
int minimumPositionalArguments() const override { return 1; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " ..." << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " ..." << std::endl;
}

void execute(const eckit::option::CmdArgs& args) override;
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-load-legendre.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ struct MIRLoadLegendre : MIRTool {
int minimumPositionalArguments() const override { return 1; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " [--load] [--unload] <path>" << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " [--load] [--unload] <path>" << std::endl;
}

void execute(const eckit::option::CmdArgs& /*args*/) override;
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-load-matrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ struct MIRLoadMatrix : MIRTool {
int minimumPositionalArguments() const override { return 1; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " [--load] [--unload] [--dump=path] <path>" << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " [--load] [--unload] [--dump=path] <path>" << std::endl;
}

void execute(const eckit::option::CmdArgs& args) override;
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-make-lsm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ struct MIRMakeLSM : MIRTool {
int minimumPositionalArguments() const override { return 2; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " file.grib file.lsm" << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " file.grib file.lsm" << std::endl;
}

void execute(const eckit::option::CmdArgs& /*unused*/) override;
Expand Down
3 changes: 2 additions & 1 deletion src/tools/mir-plot-lsm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ struct MIRPlotLSM : MIRTool {
int numberOfPositionalArguments() const override { return 1; }

void usage(const std::string& tool) const override {
Log::info() << "\n" << "Usage: " << tool << " --grid=1/1 output.pbm" << std::endl;
Log::info() << "\n"
<< "Usage: " << tool << " --grid=1/1 output.pbm" << std::endl;
}

void execute(const eckit::option::CmdArgs& args) override;
Expand Down

0 comments on commit 0ac64c4

Please sign in to comment.