[Met_help] [rt.rap.ucar.edu #98406] History for MODE Conifig FIle Error

John Halley Gotway via RT met_help at ucar.edu
Fri Jan 29 10:14:24 MST 2021


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

John or Julie, I am running MODE where I am creating objects from wind probablities and comparing to a regridded model file in NetCDF format.  I used MET regrid to do the regridding.   My command line is: /h/MET/bin/mode /h/data/global/ENSEMBLE/data/post/GEPS/global/2021012312/grib2.2021012312.0012.EPOSTOUT /h/data/global/WXQC/data/galwem/2101240000_conus /h/data/global/WXQC/data/met/config/met_config/MODEConfig_geps_ws -outdir /home/qcteam.

When I run, I get the following error:  ERROR : Dictionary::lookup_dictionary() -> lookup failed for name "field"
not a datatype NETCDF: HDF error file: ncFile.cpp line 33.  The syntax seems to match documentation for the obs NETCDF file.

If you give me a non-met_help email, I can send the NetCDF file MODE is trying to read.

Thanks
Bob Craig



----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: MODE Conifig FIle Error
From: John Halley Gotway
Time: Wed Jan 27 17:46:06 2021

Bob,

Ah, OK, I think I see the issue. While Grid-Stat and Point-Stat can
process
an ARRAY of fields, MODE can only process a single field at a time.
For
that reason, the "field" should be defined as a dictionary and not an
array
of dictionaries.

So please try using something like the following... and refer to the
default MODE config file:
https://github.com/dtcenter/MET/blob/main_v9.1/met/data/config/MODEConfig_default

And User's Guide:
https://dtcenter.github.io/MET/v9.1/Users_Guide/mode.html#mode-
configuration-file

fcst = {
   field = { name = "PROB"; level = "Z10";
               prob = { name = "GUST"; thresh_lo = 25.; } GRIB2_pdt=5;
               prob_as_scalar = TRUE;
   }

   prob_as_scalar = TRUE;
   //censor_thresh      = [>.98];
   //censor_val         = [0];
   conv_radius        = 60.0/grid_res; // in grid squares
   conv_thresh        = >=.75;
   vld_thresh         = 0.5;
   filter_attr_name   = ["INTENSITY_50"];
   filter_attr_thresh = [>.01];
   merge_thresh       = >=1.25;
   merge_flag         = THRESH;
}

obs = fcst;
obs = {
   field = { name = "GUST_Z10";
        level = ["(*,*)"];
      }
   conv_radius = 5;
   conv_thresh = >=25;
}

On Wed, Jan 27, 2021 at 10:34 AM George McCabe via RT
<met_help at ucar.edu>
wrote:

>
> Wed Jan 27 10:34:22 2021: Request 98406 was acted upon.
> Transaction: Given to johnhg (John Halley Gotway) by mccabe
>        Queue: met_help
>      Subject: MODE Conifig FIle Error
>        Owner: johnhg
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98406 >
>
>
> This transaction appears to have no content
>

------------------------------------------------
Subject: MODE Conifig FIle Error
From: robert.craig.2 at us.af.mil
Time: Fri Jan 29 06:38:16 2021

John, that solved the problem.

Thanks

________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Wednesday, January 27, 2021 6:46 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXD
<robert.craig.2 at us.af.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #98406] MODE Conifig
FIle Error

Bob,

Ah, OK, I think I see the issue. While Grid-Stat and Point-Stat can
process
an ARRAY of fields, MODE can only process a single field at a time.
For
that reason, the "field" should be defined as a dictionary and not an
array
of dictionaries.

So please try using something like the following... and refer to the
default MODE config file:
https://github.com/dtcenter/MET/blob/main_v9.1/met/data/config/MODEConfig_default

And User's Guide:
https://dtcenter.github.io/MET/v9.1/Users_Guide/mode.html#mode-
configuration-file

fcst = {
   field = { name = "PROB"; level = "Z10";
               prob = { name = "GUST"; thresh_lo = 25.; } GRIB2_pdt=5;
               prob_as_scalar = TRUE;
   }

   prob_as_scalar = TRUE;
   //censor_thresh      = [>.98];
   //censor_val         = [0];
   conv_radius        = 60.0/grid_res; // in grid squares
   conv_thresh        = >=.75;
   vld_thresh         = 0.5;
   filter_attr_name   = ["INTENSITY_50"];
   filter_attr_thresh = [>.01];
   merge_thresh       = >=1.25;
   merge_flag         = THRESH;
}

obs = fcst;
obs = {
   field = { name = "GUST_Z10";
        level = ["(*,*)"];
      }
   conv_radius = 5;
   conv_thresh = >=25;
}

On Wed, Jan 27, 2021 at 10:34 AM George McCabe via RT
<met_help at ucar.edu>
wrote:

>
> Wed Jan 27 10:34:22 2021: Request 98406 was acted upon.
> Transaction: Given to johnhg (John Halley Gotway) by mccabe
>        Queue: met_help
>      Subject: MODE Conifig FIle Error
>        Owner: johnhg
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98406 >
>
>
> This transaction appears to have no content
>


------------------------------------------------


More information about the Met_help mailing list