Skip to content

Commit

Permalink
Hotfix to the develop branch to fix typos in the names of 3 tools (gr…
Browse files Browse the repository at this point in the history
…id_stat, gribtab_dat_to_flat, and gsidens2orank). Also removed commented out code from main.cc.
  • Loading branch information
JohnHalleyGotway committed Aug 30, 2022
1 parent c7bbab9 commit 71c1939
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
12 changes: 2 additions & 10 deletions src/basic/vx_log/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
// Mod# Date Name Description
// ---- ---- ---- -----------
// 000 07/06/22 Howard Soh New
//
////////////////////////////////////////////////////////////////////////

#include <csignal>
#include <pwd.h>
Expand All @@ -39,9 +41,6 @@
#include "logger.h"


////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////

static std::string met_cmdline = "";
Expand All @@ -58,9 +57,6 @@ extern string get_tool_name();

extern int met_main(int argc, char *argv[]);

//extern void initialize();
//extern void process_command_line(int argc, char **argv);

void do_post_process();
void do_pre_process(int argc, char *argv[]);
void set_handlers();
Expand All @@ -73,9 +69,6 @@ int main(int argc, char *argv[]) {

do_pre_process(argc, argv);

//initialize();
//process_command_line(argc, argv);

int return_code = met_main(argc, argv);

do_post_process();
Expand Down Expand Up @@ -122,7 +115,6 @@ string get_current_time() {
curr_tm = gmtime (&curr_time);

strftime(date_string, MET_BUF_SIZE, "%Y-%m-%d %TZ", curr_tm);
//string time_str(date_string);

return string(date_string);
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/core/grid_stat/grid_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ int met_main(int argc, char *argv[]) {

const string get_tool_name()
{
return "ensemble_stat";
return "grid_stat";
}

////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/tools/dev_utils/gribtab.dat_to_flat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ return ( 0 );


const string get_tool_name() {
return "gribtab_daT-to_flat";
return "gribtab_dat_to_flat";
}


Expand Down
2 changes: 1 addition & 1 deletion src/tools/other/gsi_tools/gsidens2orank.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ int met_main(int argc, char * argv []) {
////////////////////////////////////////////////////////////////////////

const string get_tool_name() {
return "gisdens2orank";
return "gsidens2orank";
}

////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 71c1939

Please sign in to comment.