From ab4c7314f13494fd693f31b35bd9d314246ed7d9 Mon Sep 17 00:00:00 2001 From: johnhg Date: Wed, 15 Sep 2021 10:54:51 -0600 Subject: [PATCH] Feature 1912 missing (#1915) * Per #1912, update logic of Met2dDataFile::process_data_plane(). Rather than returning bad status for a field of all bad data, print a warning message and continue processing. * Per #1912, fixing typo in error message that I ran into. Doesn't actually apply to this issue. * Per #1912, making an unrelated change here to fix up the MODE-Analysis log output. It was reporting (nul) for the number of lines being read/kept. Simplify the log messages to print the correct numbers. --- met/src/libcode/vx_analysis_util/mode_job.cc | 33 ++++---------------- met/src/libcode/vx_data2d/data_class.cc | 5 ++- met/src/tools/other/ioda2nc/ioda2nc.cc | 2 +- 3 files changed, 9 insertions(+), 31 deletions(-) diff --git a/met/src/libcode/vx_analysis_util/mode_job.cc b/met/src/libcode/vx_analysis_util/mode_job.cc index dea7bee574..077733412a 100644 --- a/met/src/libcode/vx_analysis_util/mode_job.cc +++ b/met/src/libcode/vx_analysis_util/mode_job.cc @@ -535,20 +535,6 @@ for (j=0; jmagic_str() + << "\" contains no valid data!\n\n"; } diff --git a/met/src/tools/other/ioda2nc/ioda2nc.cc b/met/src/tools/other/ioda2nc/ioda2nc.cc index 83b3ae5c81..04c58c0909 100644 --- a/met/src/tools/other/ioda2nc/ioda2nc.cc +++ b/met/src/tools/other/ioda2nc/ioda2nc.cc @@ -913,7 +913,7 @@ void write_netcdf_hdr_data() { // Check for no messages retained if(hdr_cnt <= 0) { mlog << Error << method_name << " -> " - << "No IODA reocrds retained. Nothing to write.\n\n"; + << "No IODA records retained. Nothing to write.\n\n"; // Delete the NetCDF file remove_temp_file(ncfile); exit(1);