[Met_help] [rt.rap.ucar.edu #88336] History for Bad Type Error in Series Analysis

John Halley Gotway via RT met_help at ucar.edu
Tue Jul 9 12:07:12 MDT 2019


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

I am running series analysis.  The command string is:

 

/h/WXQC/met-6.1/bin/series_analysis -fcst
/h/data/global/WXQC/data/met/tmp/fcst_file -obs
/h/data/global/WXQC/data/met/tmp/obs_file -config
/h/WXQC/met-6.1/data/config/SeriesAnalysisConfig_updated -out
/h/data/global/WXQC/data/met/series_anal/galwem/outfile -log
/home/qcteam/log -v 6

 

I attached the two file lists and the config file.  I had to make them text
files to allow the email to go through.

 

The listing from this is below:

 

 

DEBUG 1: Reading user-defined grib1 MET_GRIB_TABLES file:
/h/data/global/WXQC/data/met/config/grib2/grib1_af_131_57.txt

DEBUG 1: Reading user-defined grib2 MET_GRIB_TABLES file:
/h/data/global/WXQC/data/met/config/grib2/grib2_geps.txt

DEBUG 1: Default Config File:
/h/WXQC/met-6.1/share/met/config/SeriesAnalysisConfig_default

DEBUG 1: User Config File:
/h/WXQC/met-6.1/data/config/SeriesAnalysisConfig_updated

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_None".

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_None".

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_Gb2".

DEBUG 4: Switching the GRIB2 radius of the earth value of 6367.47 km to
6371.2 km for internal consistency.

DEBUG 4: 

DEBUG 4: Latitude/Longitude Grid Data:

DEBUG 4:      lat_ll: -90

DEBUG 4:      lon_ll: -0

DEBUG 4:   delta_lat: 0.25

DEBUG 4:   delta_lon: 0.25

DEBUG 4:        Nlat: 721

DEBUG 4:        Nlon: 1440

DEBUG 4: 

DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
Met2dDataFile object of type "FileType_Gb2".

DEBUG 4: Switching the GRIB2 radius of the earth value of 6367.47 km to
6371.2 km for internal consistency.

DEBUG 4: 

DEBUG 4: Latitude/Longitude Grid Data:

DEBUG 4:      lat_ll: -90

DEBUG 4:      lon_ll: -0

DEBUG 4:   delta_lat: 0.25

DEBUG 4:   delta_lon: 0.25

DEBUG 4:        Nlat: 721

DEBUG 4:        Nlon: 1440

DEBUG 4: 

ERROR  : 

ERROR  : DictionaryEntry::dict_value() -> bad type

ERROR  :

 

I ran this with -v 6 to get a listing of all the dictionary items but didn't
see anything that would cause this error.

 

So, what am I missing?

 

Thanks

Bob Craig



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

Subject: Bad Type Error in Series Analysis
From: John Halley Gotway
Time: Thu Jan 03 13:27:40 2019

Hi Bob,

Happy new year.  Thanks for sending your sample files.  I see you're
getting the following error from Series-Analysis:
   ERROR  : DictionaryEntry::dict_value() -> bad type

That "Dictionary" error indicates to me that there's a problem in the
syntax of your config file.  Searching that, I found a problem in the
"climo_mean.field" entry:



*climo_mean = {   file_name = [ "t925hPa_mean.grib" ];   field     = [
"TMP" ];*

The "field" entry should be formatted exactly how it's done in the
"fcst"
and "obs" sections, to describe the 2D field of data to be extracted.
It
should look like this instead:


*climo_mean = {   file_name = [ "t925hPa_mean.grib" ];*

*   field = [*



*      {        name  = "TMP";        level = [ "Z2" ];      }*
*  ];*

Hopefully that fixes it.

Thanks,
John

On Fri, Dec 28, 2018 at 10:02 AM robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Fri Dec 28 10:02:19 2018: Request 88336 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: Bad Type Error in Series Analysis
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88336 >
>
>
> I am running series analysis.  The command string is:
>
>
>
> /h/WXQC/met-6.1/bin/series_analysis -fcst
> /h/data/global/WXQC/data/met/tmp/fcst_file -obs
> /h/data/global/WXQC/data/met/tmp/obs_file -config
> /h/WXQC/met-6.1/data/config/SeriesAnalysisConfig_updated -out
> /h/data/global/WXQC/data/met/series_anal/galwem/outfile -log
> /home/qcteam/log -v 6
>
>
>
> I attached the two file lists and the config file.  I had to make
them text
> files to allow the email to go through.
>
>
>
> The listing from this is below:
>
>
>
>
>
> DEBUG 1: Reading user-defined grib1 MET_GRIB_TABLES file:
> /h/data/global/WXQC/data/met/config/grib2/grib1_af_131_57.txt
>
> DEBUG 1: Reading user-defined grib2 MET_GRIB_TABLES file:
> /h/data/global/WXQC/data/met/config/grib2/grib2_geps.txt
>
> DEBUG 1: Default Config File:
> /h/WXQC/met-6.1/share/met/config/SeriesAnalysisConfig_default
>
> DEBUG 1: User Config File:
> /h/WXQC/met-6.1/data/config/SeriesAnalysisConfig_updated
>
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
> Met2dDataFile object of type "FileType_None".
>
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
> Met2dDataFile object of type "FileType_None".
>
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
> Met2dDataFile object of type "FileType_Gb2".
>
> DEBUG 4: Switching the GRIB2 radius of the earth value of 6367.47 km
to
> 6371.2 km for internal consistency.
>
> DEBUG 4:
>
> DEBUG 4: Latitude/Longitude Grid Data:
>
> DEBUG 4:      lat_ll: -90
>
> DEBUG 4:      lon_ll: -0
>
> DEBUG 4:   delta_lat: 0.25
>
> DEBUG 4:   delta_lon: 0.25
>
> DEBUG 4:        Nlat: 721
>
> DEBUG 4:        Nlon: 1440
>
> DEBUG 4:
>
> DEBUG 4: Met2dDataFileFactory::new_met_2d_data_file() -> created new
> Met2dDataFile object of type "FileType_Gb2".
>
> DEBUG 4: Switching the GRIB2 radius of the earth value of 6367.47 km
to
> 6371.2 km for internal consistency.
>
> DEBUG 4:
>
> DEBUG 4: Latitude/Longitude Grid Data:
>
> DEBUG 4:      lat_ll: -90
>
> DEBUG 4:      lon_ll: -0
>
> DEBUG 4:   delta_lat: 0.25
>
> DEBUG 4:   delta_lon: 0.25
>
> DEBUG 4:        Nlat: 721
>
> DEBUG 4:        Nlon: 1440
>
> DEBUG 4:
>
> ERROR  :
>
> ERROR  : DictionaryEntry::dict_value() -> bad type
>
> ERROR  :
>
>
>
> I ran this with -v 6 to get a listing of all the dictionary items
but
> didn't
> see anything that would cause this error.
>
>
>
> So, what am I missing?
>
>
>
> Thanks
>
> Bob Craig
>
>
>

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


More information about the Met_help mailing list