Skip to content

Commit

Permalink
Feature 1957 ascii2nc_python (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Nov 4, 2021
1 parent 5131042 commit 4ff28d1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions met/src/tools/other/ascii2nc/ascii2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static ASCIIFormat ascii_format = ASCIIFormat_None;
////////////////////////////////////////////////////////////////////////

// Variables for command line arguments
static vector< ConcatString > asfile_list;
static vector<ConcatString> asfile_list;
static ConcatString ncfile;

static ConcatString config_filename(replace_path(DEFAULT_CONFIG_FILENAME));
Expand Down Expand Up @@ -234,10 +234,13 @@ int main(int argc, char *argv[]) {
file_handler->setMessageTypeMap(config_info.getMessageTypeMap());

//
// Process the files. If a configuration file was specified, do any
// extra processing specified.
// Read the input files
//
file_handler->readAsciiFiles(asfile_list);
if(!file_handler->readAsciiFiles(asfile_list)) {
mlog << Error << "\n" << program_name << "-> "
<< "encountered an error while reading input files!\n\n";
exit(1);
}

//
// Summarize the observations, if directed. We need to use a different
Expand Down

0 comments on commit 4ff28d1

Please sign in to comment.