diff --git a/met/src/tools/other/madis2nc/madis2nc.cc b/met/src/tools/other/madis2nc/madis2nc.cc index cf5a988d78..688eded051 100644 --- a/met/src/tools/other/madis2nc/madis2nc.cc +++ b/met/src/tools/other/madis2nc/madis2nc.cc @@ -418,17 +418,26 @@ static bool get_filtered_nc_data(NcVar var, float *data, bool status; float in_fill_value; - - if(!(status = get_nc_data(&var, data, dim, cur))) return status; - - get_nc_att(&var, (string)in_fillValue_str, in_fill_value); - for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a METAR.\n\n"; + for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a RAOB.\n\n"; + for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a profiler.\n\n"; + for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a maritime.\n\n"; + for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a MESONET.\n\n"; + for (int idx=0; idx 0) { + mlog << Error << "\n" << method_name << "Please check if the input is a ACARS Profiles.\n\n"; + for (int idx=0; idx