[Met_help] [rt.rap.ucar.edu #80310] History for WRF GRIB1 Issue

John Halley Gotway via RT met_help at ucar.edu
Wed May 3 11:47:38 MDT 2017


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

John, I thought I sent this last week but not sure now so apologize if you already have it.

I have been having problems getting MET to degrib WRF data.   I get the following message with I use the attached config file:

DEBUG 5: Parsed forecast field number 1:
VarInfoGrib::dump():
  PTV     = 131
  Code    = -9999
  LvlType = -9999
  PCode   = -9999
  Center   = 57
  Subcenter   = 2
DEBUG 5: Parsed observation field number 1:
VarInfoGrib::dump():
  PTV     = 131
  Code    = 135
  LvlType = -9999
  PCode   = -9999
  Center   = 57
  Subcenter   = 2
DEBUG 5: Parsed threshold settings for field number 1...
DEBUG 5: Forecast categorical thresholds: <=1609,<=3218,<=4828,<=8046
DEBUG 5: Observed categorical thresholds: <=1609,<=3218,<=4828,<=8046
DEBUG 5: Forecast continuous thresholds: NA
DEBUG 5: Observed continuous thresholds: NA
DEBUG 5: Continuous threshold logic: UNION
DEBUG 5: Forecast wind speed thresholds: NA
DEBUG 5: Observed wind speed thresholds: NA
DEBUG 5: Wind speed threshold logic: UNION
GSL_RNG_TYPE=mt19937
GSL_RNG_SEED=18446744073680783193
DEBUG 1: Forecast File: /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
DEBUG 1: Observation File: /h/data/global/WXQC/data/met/nc_obs/dust/2017042700.nc
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for VIS/Z2.
DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB records matching VarInfo "VIS/Z2" in GRIB file "/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400".
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2 found in file: /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Searching 8168 observations from 8168 messages.
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 1: Output file: /h/data/global/WXQC/data/met/ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
DEBUG 1: Output file: /h/data/global/WXQC/data/met/ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
DEBUG 1: Output file: /h/data/global/WXQC/data/met/ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
DEBUG 1: Output file: /h/data/global/WXQC/data/met/ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
DEBUG 1: Output file: /h/data/global/WXQC/data/met/ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt

A degrib of the WRF file,  is below:

125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2 m above gnd:24hr fcst:NAve=0
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2 m above gnd:24hr fcst:NAve=0
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=24:P2=0:TimeU=1:700 mb:24hr fcst:NAve=0
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=24:P2=0:TimeU=1:500 mb:24hr fcst:NAve=0
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=24:P2=0:TimeU=1:400 mb:24hr fcst:NAve=0
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=24:P2=0:TimeU=1:300 mb:24hr fcst:NAve=0
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=24:P2=0:TimeU=1:250 mb:24hr fcst:NAve=0
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=24:P2=0:TimeU=1:200 mb:24hr fcst:NAve=0
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=24:P2=0:TimeU=1:150 mb:24hr fcst:NAve=0
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=24:P2=0:TimeU=1:100 mb:24hr fcst:NAve=0
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=24:P2=0:TimeU=1:700 mb:24hr fcst:NAve=0
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=24:P2=0:TimeU=1:500 mb:24hr fcst:NAve=0
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=24:P2=0:TimeU=1:400 mb:24hr fcst:NAve=0
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=24:P2=0:TimeU=1:300 mb:24hr fcst:NAve=0
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=24:P2=0:TimeU=1:250 mb:24hr fcst:NAve=0
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=24:P2=0:TimeU=1:200 mb:24hr fcst:NAve=0
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=24:P2=0:TimeU=1:150 mb:24hr fcst:NAve=0
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=24:P2=0:TimeU=1:100 mb:24hr fcst:NAve=0
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2 m above gnd:24hr fcst:NAve=0
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24:P2=0:TimeU=1:0-10 cm down:24hr fcst:NAve=0
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:P2=0:TimeU=1:0-10 cm down:24hr fcst:NAve=0
155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0
161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0

I get the same errors if I use plot_data_plane for TMP or any field:

/h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'

Attached is the GRIB1 file my environmental variable points to.

Not sure why this simple process is not working.

Thanks
Bob





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

Subject: WRF GRIB1 Issue
From: John Halley Gotway
Time: Mon May 01 13:22:12 2017

Bob,

My apologies for the delay.  Last week was very, very busy teaching a
tutorial at NCEP.  I'm finally back in the office today.

I went to take a look at your most recent email.  I received two
attachments (listed below) but neither is actually the GRIB file.
 - grib1_af_131_57.txt  PointStatConfig_dust_updated

I checked the ftp site and found your GRIB file but it's zero length:
   -rw-r--r-- 1 120 120     0 Apr 27 21:31
qc_170426_us057g1011t77a000002400

My guess is that it got aged off before I grabbed it.

You could either repost it to or you could try stripping out the
single
GRIB record of interest and sending that to me via email.  For the
latter,
here's how you can run wgrib to extract a single record:

   wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
qc_170426_us057g1011t77a000002400

Thanks,
John




On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Mon May 01 09:14:53 2017: Request 80310 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: WRF GRIB1 Issue
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
>
> John, I thought I sent this last week but not sure now so apologize
if you
> already have it.
>
> I have been having problems getting MET to degrib WRF data.   I get
the
> following message with I use the attached config file:
>
> DEBUG 5: Parsed forecast field number 1:
> VarInfoGrib::dump():
>   PTV     = 131
>   Code    = -9999
>   LvlType = -9999
>   PCode   = -9999
>   Center   = 57
>   Subcenter   = 2
> DEBUG 5: Parsed observation field number 1:
> VarInfoGrib::dump():
>   PTV     = 131
>   Code    = 135
>   LvlType = -9999
>   PCode   = -9999
>   Center   = 57
>   Subcenter   = 2
> DEBUG 5: Parsed threshold settings for field number 1...
> DEBUG 5: Forecast categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> DEBUG 5: Observed categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> DEBUG 5: Forecast continuous thresholds: NA
> DEBUG 5: Observed continuous thresholds: NA
> DEBUG 5: Continuous threshold logic: UNION
> DEBUG 5: Forecast wind speed thresholds: NA
> DEBUG 5: Observed wind speed thresholds: NA
> DEBUG 5: Wind speed threshold logic: UNION
> GSL_RNG_TYPE=mt19937
> GSL_RNG_SEED=18446744073680783193
> DEBUG 1: Forecast File: /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
> DEBUG 1: Observation File: /h/data/global/WXQC/data/met/nc_obs/dust/
> 2017042700.nc
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 2: Reading data for VIS/Z2.
> DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
records
> matching VarInfo "VIS/Z2" in GRIB file
"/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
found in
> file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> WARNING:
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 2: Searching 8168 observations from 8168 messages.
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
>
> A degrib of the WRF file,  is below:
>
>
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=24:P2=0:TimeU=1:700
> mb:24hr fcst:NAve=0
>
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=24:P2=0:TimeU=1:500
> mb:24hr fcst:NAve=0
>
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=24:P2=0:TimeU=1:400
> mb:24hr fcst:NAve=0
>
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=24:P2=0:TimeU=1:300
> mb:24hr fcst:NAve=0
>
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=24:P2=0:TimeU=1:250
> mb:24hr fcst:NAve=0
>
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=24:P2=0:TimeU=1:200
> mb:24hr fcst:NAve=0
>
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=24:P2=0:TimeU=1:150
> mb:24hr fcst:NAve=0
>
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=24:P2=0:TimeU=1:100
> mb:24hr fcst:NAve=0
>
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=24:P2=0:TimeU=1:700
> mb:24hr fcst:NAve=0
>
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=24:P2=0:TimeU=1:500
> mb:24hr fcst:NAve=0
>
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=24:P2=0:TimeU=1:400
> mb:24hr fcst:NAve=0
>
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=24:P2=0:TimeU=1:300
> mb:24hr fcst:NAve=0
>
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=24:P2=0:TimeU=1:250
> mb:24hr fcst:NAve=0
>
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=24:P2=0:TimeU=1:200
> mb:24hr fcst:NAve=0
>
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=24:P2=0:TimeU=1:150
> mb:24hr fcst:NAve=0
>
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=24:P2=0:TimeU=1:100
> mb:24hr fcst:NAve=0
>
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P2=0:TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24:P2=0:TimeU=1:0-
10
> cm down:24hr fcst:NAve=0
>
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=24:P2=0:TimeU=1:10-
40
> cm down:24hr fcst:NAve=0
> 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:P2=0:TimeU=1:0-
10
> cm down:24hr fcst:NAve=0
> 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
> 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr
> fcst:NAve=0
> 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
> 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0
> 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
> kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
>
> I get the same errors if I use plot_data_plane for TMP or any field:
>
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
> 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
>
> Attached is the GRIB1 file my environmental variable points to.
>
> Not sure why this simple process is not working.
>
> Thanks
> Bob
>
>
>
>
>

------------------------------------------------
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Mon May 01 14:06:44 2017

No problem - the file is out there now.

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, May 01, 2017 2:22 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue

Bob,

My apologies for the delay.  Last week was very, very busy teaching a
tutorial at NCEP.  I'm finally back in the office today.

I went to take a look at your most recent email.  I received two
attachments (listed below) but neither is actually the GRIB file.
 - grib1_af_131_57.txt  PointStatConfig_dust_updated

I checked the ftp site and found your GRIB file but it's zero length:
   -rw-r--r-- 1 120 120     0 Apr 27 21:31
qc_170426_us057g1011t77a000002400

My guess is that it got aged off before I grabbed it.

You could either repost it to or you could try stripping out the
single GRIB record of interest and sending that to me via email.  For
the latter, here's how you can run wgrib to extract a single record:

   wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
qc_170426_us057g1011t77a000002400

Thanks,
John




On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> Mon May 01 09:14:53 2017: Request 80310 was acted upon.
> Transaction: Ticket created by robert.craig.2 at us.af.mil
>        Queue: met_help
>      Subject: WRF GRIB1 Issue
>        Owner: Nobody
>   Requestors: robert.craig.2 at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
> >
>
>
> John, I thought I sent this last week but not sure now so apologize
if
> you already have it.
>
> I have been having problems getting MET to degrib WRF data.   I get
the
> following message with I use the attached config file:
>
> DEBUG 5: Parsed forecast field number 1:
> VarInfoGrib::dump():
>   PTV     = 131
>   Code    = -9999
>   LvlType = -9999
>   PCode   = -9999
>   Center   = 57
>   Subcenter   = 2
> DEBUG 5: Parsed observation field number 1:
> VarInfoGrib::dump():
>   PTV     = 131
>   Code    = 135
>   LvlType = -9999
>   PCode   = -9999
>   Center   = 57
>   Subcenter   = 2
> DEBUG 5: Parsed threshold settings for field number 1...
> DEBUG 5: Forecast categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> DEBUG 5: Observed categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> DEBUG 5: Forecast continuous thresholds: NA DEBUG 5: Observed
> continuous thresholds: NA DEBUG 5: Continuous threshold logic: UNION
> DEBUG 5: Forecast wind speed thresholds: NA DEBUG 5: Observed wind
> speed thresholds: NA DEBUG 5: Wind speed threshold logic: UNION
> GSL_RNG_TYPE=mt19937
> GSL_RNG_SEED=18446744073680783193
> DEBUG 1: Forecast File: /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
> DEBUG 1: Observation File: /h/data/global/WXQC/data/met/nc_obs/dust/
> 2017042700.nc
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 2: Reading data for VIS/Z2.
> DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
records
> matching VarInfo "VIS/Z2" in GRIB file
"/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
found
> in
> file:
> /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> WARNING:
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 2: Searching 8168 observations from 8168 messages.
> DEBUG 2:
> DEBUG 2:
------------------------------------------------------------
> --------------------
> DEBUG 2:
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
> DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
>
> A degrib of the WRF file,  is below:
>
>
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2=0
> :TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2=0
> :TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=24
> :P2=0:TimeU=1:700
> mb:24hr fcst:NAve=0
>
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=24
> :P2=0:TimeU=1:500
> mb:24hr fcst:NAve=0
>
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=24
> :P2=0:TimeU=1:400
> mb:24hr fcst:NAve=0
>
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=24
> :P2=0:TimeU=1:300
> mb:24hr fcst:NAve=0
>
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=24
> :P2=0:TimeU=1:250
> mb:24hr fcst:NAve=0
>
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=24
> :P2=0:TimeU=1:200
> mb:24hr fcst:NAve=0
>
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=24
> :P2=0:TimeU=1:150
> mb:24hr fcst:NAve=0
>
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=24
> :P2=0:TimeU=1:100
> mb:24hr fcst:NAve=0
>
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=24
> :P2=0:TimeU=1:700
> mb:24hr fcst:NAve=0
>
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=24
> :P2=0:TimeU=1:500
> mb:24hr fcst:NAve=0
>
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=24
> :P2=0:TimeU=1:400
> mb:24hr fcst:NAve=0
>
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=24
> :P2=0:TimeU=1:300
> mb:24hr fcst:NAve=0
>
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=24
> :P2=0:TimeU=1:250
> mb:24hr fcst:NAve=0
>
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=24
> :P2=0:TimeU=1:200
> mb:24hr fcst:NAve=0
>
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=24
> :P2=0:TimeU=1:150
> mb:24hr fcst:NAve=0
>
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=24
> :P2=0:TimeU=1:100
> mb:24hr fcst:NAve=0
>
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
> TimeU=1:sfc:24hr
> fcst:NAve=0
>
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> :TimeU=1:sfc:24hr
> fcst:NAve=0
>
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> 0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> 0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> 0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P2=
> 0:TimeU=1:2
> m above gnd:24hr fcst:NAve=0
>
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> 0:TimeU=1:sfc:24hr
> fcst:NAve=0
>
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24:P
> 2=0:TimeU=1:0-10
> cm down:24hr fcst:NAve=0
>
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=24
> :P2=0:TimeU=1:10-40
> cm down:24hr fcst:NAve=0
> 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
> P2=0:TimeU=1:0-10
> cm down:24hr fcst:NAve=0
> 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
> 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> :TimeU=1:sfc:24hr
> fcst:NAve=0
>
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> :TimeU=1:sfc:24hr
> fcst:NAve=0
> 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
> 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0
> 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
> kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
>
> I get the same errors if I use plot_data_plane for TMP or any field:
>
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
> 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
>
> Attached is the GRIB1 file my environmental variable points to.
>
> Not sure why this simple process is not working.
>
> Thanks
> Bob
>
>
>
>
>



------------------------------------------------
Subject: WRF GRIB1 Issue
From: John Halley Gotway
Time: Mon May 01 14:16:57 2017

Bob,

Good news.  I was able run plot_data_plane on that file and produce
output
without any problems.  See the attached plot.  We just need to get you
up
and running:

met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
'name="VIS"; level="Z2";'

Running met-5.2 works as well on my machine, but version 5.1 does not.

Could you please try running this command and let me know how it goes:
   /h/WXQC/met-5.2/bin/plot_data_plane \
   /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps \
   'name="VIS"; level="Z2";'

Does that work?

Thanks,
John


On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> No problem - the file is out there now.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Monday, May 01, 2017 2:22 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
> Bob,
>
> My apologies for the delay.  Last week was very, very busy teaching
a
> tutorial at NCEP.  I'm finally back in the office today.
>
> I went to take a look at your most recent email.  I received two
> attachments (listed below) but neither is actually the GRIB file.
>  - grib1_af_131_57.txt  PointStatConfig_dust_updated
>
> I checked the ftp site and found your GRIB file but it's zero
length:
>    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
> us057g1011t77a000002400
>
> My guess is that it got aged off before I grabbed it.
>
> You could either repost it to or you could try stripping out the
single
> GRIB record of interest and sending that to me via email.  For the
latter,
> here's how you can run wgrib to extract a single record:
>
>    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
> qc_170426_us057g1011t77a000002400
>
> Thanks,
> John
>
>
>
>
> On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: WRF GRIB1 Issue
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
> > >
> >
> >
> > John, I thought I sent this last week but not sure now so
apologize if
> > you already have it.
> >
> > I have been having problems getting MET to degrib WRF data.   I
get the
> > following message with I use the attached config file:
> >
> > DEBUG 5: Parsed forecast field number 1:
> > VarInfoGrib::dump():
> >   PTV     = 131
> >   Code    = -9999
> >   LvlType = -9999
> >   PCode   = -9999
> >   Center   = 57
> >   Subcenter   = 2
> > DEBUG 5: Parsed observation field number 1:
> > VarInfoGrib::dump():
> >   PTV     = 131
> >   Code    = 135
> >   LvlType = -9999
> >   PCode   = -9999
> >   Center   = 57
> >   Subcenter   = 2
> > DEBUG 5: Parsed threshold settings for field number 1...
> > DEBUG 5: Forecast categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> > DEBUG 5: Observed categorical thresholds:
<=1609,<=3218,<=4828,<=8046
> > DEBUG 5: Forecast continuous thresholds: NA DEBUG 5: Observed
> > continuous thresholds: NA DEBUG 5: Continuous threshold logic:
UNION
> > DEBUG 5: Forecast wind speed thresholds: NA DEBUG 5: Observed wind
> > speed thresholds: NA DEBUG 5: Wind speed threshold logic: UNION
> > GSL_RNG_TYPE=mt19937
> > GSL_RNG_SEED=18446744073680783193
> > DEBUG 1: Forecast File:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> > us057g1011t77a000002400
> > DEBUG 1: Observation File:
/h/data/global/WXQC/data/met/nc_obs/dust/
> > 2017042700.nc
> > DEBUG 2:
> > DEBUG 2:
------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for VIS/Z2.
> > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
records
> > matching VarInfo "VIS/Z2" in GRIB file
"/h/data/global/WXQC/data/wrf/
> > t77/qc_170426_us057g1011t77a000002400".
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
found
> > in
> > file:
> > /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 2: Searching 8168 observations from 8168 messages.
> > DEBUG 2:
> > DEBUG 2:
------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
> >
> > A degrib of the WRF file,  is below:
> >
> >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2=0
> > :TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2=0
> > :TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=24
> > :P2=0:TimeU=1:700
> > mb:24hr fcst:NAve=0
> >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=24
> > :P2=0:TimeU=1:500
> > mb:24hr fcst:NAve=0
> >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=24
> > :P2=0:TimeU=1:400
> > mb:24hr fcst:NAve=0
> >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=24
> > :P2=0:TimeU=1:300
> > mb:24hr fcst:NAve=0
> >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=24
> > :P2=0:TimeU=1:250
> > mb:24hr fcst:NAve=0
> >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=24
> > :P2=0:TimeU=1:200
> > mb:24hr fcst:NAve=0
> >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=24
> > :P2=0:TimeU=1:150
> > mb:24hr fcst:NAve=0
> >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=24
> > :P2=0:TimeU=1:100
> > mb:24hr fcst:NAve=0
> >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=24
> > :P2=0:TimeU=1:700
> > mb:24hr fcst:NAve=0
> >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=24
> > :P2=0:TimeU=1:500
> > mb:24hr fcst:NAve=0
> >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=24
> > :P2=0:TimeU=1:400
> > mb:24hr fcst:NAve=0
> >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=24
> > :P2=0:TimeU=1:300
> > mb:24hr fcst:NAve=0
> >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=24
> > :P2=0:TimeU=1:250
> > mb:24hr fcst:NAve=0
> >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=24
> > :P2=0:TimeU=1:200
> > mb:24hr fcst:NAve=0
> >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=24
> > :P2=0:TimeU=1:150
> > mb:24hr fcst:NAve=0
> >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=24
> > :P2=0:TimeU=1:100
> > mb:24hr fcst:NAve=0
> >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
> > TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P2=
> > 0:TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24:P
> > 2=0:TimeU=1:0-10
> > cm down:24hr fcst:NAve=0
> >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=24
> > :P2=0:TimeU=1:10-40
> > cm down:24hr fcst:NAve=0
> > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
> > P2=0:TimeU=1:0-10
> > cm down:24hr fcst:NAve=0
> > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
> > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2=0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
> > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0
> > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
> > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
> >
> > I get the same errors if I use plot_data_plane for TMP or any
field:
> >
> > /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
> > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
> >
> > Attached is the GRIB1 file my environmental variable points to.
> >
> > Not sure why this simple process is not working.
> >
> > Thanks
> > Bob
> >
> >
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Mon May 01 15:10:33 2017

When I run it, I get the following:

[1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin] /h/WXQC/met-
5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps 'name="VIS"; level="Z2";'
DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
ERROR  :
ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS' for table version 133
ERROR  :

If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'

DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
WARNING:
WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
VarInfo "(null)/Z2" in GRIB file
"/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400".
WARNING:
ERROR  :
ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
GRIB1_ptv=131; level="Z2";" from file
"/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400"
ERROR  :

So, why do we get different results?  Could any problem in this area
be related to the installation of MET 6.0.   I can't test it in 6.0
since Matt still doesn't have it working.   Is there any problem with
my grib1 list file I attached?

Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, May 01, 2017 3:17 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue

Bob,

Good news.  I was able run plot_data_plane on that file and produce
output without any problems.  See the attached plot.  We just need to
get you up and running:

met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
'name="VIS"; level="Z2";'

Running met-5.2 works as well on my machine, but version 5.1 does not.

Could you please try running this command and let me know how it goes:
   /h/WXQC/met-5.2/bin/plot_data_plane \
   /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps \
   'name="VIS"; level="Z2";'

Does that work?

Thanks,
John


On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> No problem - the file is out there now.
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Monday, May 01, 2017 2:22 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> <robert.craig.2 at us.af.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
> Bob,
>
> My apologies for the delay.  Last week was very, very busy teaching
a
> tutorial at NCEP.  I'm finally back in the office today.
>
> I went to take a look at your most recent email.  I received two
> attachments (listed below) but neither is actually the GRIB file.
>  - grib1_af_131_57.txt  PointStatConfig_dust_updated
>
> I checked the ftp site and found your GRIB file but it's zero
length:
>    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
> us057g1011t77a000002400
>
> My guess is that it got aged off before I grabbed it.
>
> You could either repost it to or you could try stripping out the
> single GRIB record of interest and sending that to me via email.
For
> the latter, here's how you can run wgrib to extract a single record:
>
>    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
> qc_170426_us057g1011t77a000002400
>
> Thanks,
> John
>
>
>
>
> On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
> > Transaction: Ticket created by robert.craig.2 at us.af.mil
> >        Queue: met_help
> >      Subject: WRF GRIB1 Issue
> >        Owner: Nobody
> >   Requestors: robert.craig.2 at us.af.mil
> >       Status: new
> >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
> > >
> >
> >
> > John, I thought I sent this last week but not sure now so
apologize
> > if you already have it.
> >
> > I have been having problems getting MET to degrib WRF data.   I
get the
> > following message with I use the attached config file:
> >
> > DEBUG 5: Parsed forecast field number 1:
> > VarInfoGrib::dump():
> >   PTV     = 131
> >   Code    = -9999
> >   LvlType = -9999
> >   PCode   = -9999
> >   Center   = 57
> >   Subcenter   = 2
> > DEBUG 5: Parsed observation field number 1:
> > VarInfoGrib::dump():
> >   PTV     = 131
> >   Code    = 135
> >   LvlType = -9999
> >   PCode   = -9999
> >   Center   = 57
> >   Subcenter   = 2
> > DEBUG 5: Parsed threshold settings for field number 1...
> > DEBUG 5: Forecast categorical thresholds:
> > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical
> > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
continuous
> > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:
> > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed
> > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:
> > Wind speed threshold logic: UNION
> > GSL_RNG_TYPE=mt19937
> > GSL_RNG_SEED=18446744073680783193
> > DEBUG 1: Forecast File:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> > us057g1011t77a000002400
> > DEBUG 1: Observation File:
/h/data/global/WXQC/data/met/nc_obs/dust/
> > 2017042700.nc
> > DEBUG 2:
> > DEBUG 2:
> > ------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for VIS/Z2.
> > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
> > records matching VarInfo "VIS/Z2" in GRIB file
> > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
> > found in
> > file:
> > /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> > ------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 2: Searching 8168 observations from 8168 messages.
> > DEBUG 2:
> > DEBUG 2:
> > ------------------------------------------------------------
> > --------------------
> > DEBUG 2:
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
> >
> > A degrib of the WRF file,  is below:
> >
> >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2
> > =0
> > :TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2
> > =0
> > :TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:700
> > mb:24hr fcst:NAve=0
> >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:500
> > mb:24hr fcst:NAve=0
> >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:400
> > mb:24hr fcst:NAve=0
> >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:300
> > mb:24hr fcst:NAve=0
> >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:250
> > mb:24hr fcst:NAve=0
> >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:200
> > mb:24hr fcst:NAve=0
> >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:150
> > mb:24hr fcst:NAve=0
> >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:100
> > mb:24hr fcst:NAve=0
> >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:700
> > mb:24hr fcst:NAve=0
> >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:500
> > mb:24hr fcst:NAve=0
> >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:400
> > mb:24hr fcst:NAve=0
> >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:300
> > mb:24hr fcst:NAve=0
> >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:250
> > mb:24hr fcst:NAve=0
> >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:200
> > mb:24hr fcst:NAve=0
> >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:150
> > mb:24hr fcst:NAve=0
> >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:100
> > mb:24hr fcst:NAve=0
> >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
> > TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > =0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P
> > 2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P
> > 2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P
> > 2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P
> > 2=
> > 0:TimeU=1:2
> > m above gnd:24hr fcst:NAve=0
> >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P
> > 2=
> > 0:TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24
> > :P
> > 2=0:TimeU=1:0-10
> > cm down:24hr fcst:NAve=0
> >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=
> > 24
> > :P2=0:TimeU=1:10-40
> > cm down:24hr fcst:NAve=0
> > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
> > P2=0:TimeU=1:0-10
> > cm down:24hr fcst:NAve=0
> > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
> > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > =0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > =0
> > :TimeU=1:sfc:24hr
> > fcst:NAve=0
> > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
> > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0
> > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
> > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
> >
> > I get the same errors if I use plot_data_plane for TMP or any
field:
> >
> > /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
> > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
> >
> > Attached is the GRIB1 file my environmental variable points to.
> >
> > Not sure why this simple process is not working.
> >
> > Thanks
> > Bob
> >
> >
> >
> >
> >
>
>
>
>



------------------------------------------------
Subject: WRF GRIB1 Issue
From: John Halley Gotway
Time: Mon May 01 15:25:13 2017

Bob,

Hmmm, let's see if you have any influential environment variables set
which
would impact the behavior of the MET tools.  Please run:

printenv | egrep -i "MET_|GRIB_TABLES"

If you have "MET_BASE", "MET_GRIB_TABLES" or "USER_GRIB_TABLES",
please try
unsetting them and running again.

One possibility is that you have MET_BASE set and pointing to data
from MET
version 5.1 or earlier.  That would be telling the MET tools to use
old
GRIB table definitions which don't include the Air Force ones... and
that
would explain the behavior you're seeing.

I'll keep my fingers crossed.

Thanks,
John


On Mon, May 1, 2017 at 3:10 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> When I run it, I get the following:
>
> [1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin]
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps
'name="VIS";
> level="Z2";'
> DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
> ERROR  :
> ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS'
> for table version 133
> ERROR  :
>
> If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
> /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> /home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'
>
> DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
> WARNING:
> WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
> VarInfo "(null)/Z2" in GRIB file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
> WARNING:
> ERROR  :
> ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
> GRIB1_ptv=131; level="Z2";" from file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400"
> ERROR  :
>
> So, why do we get different results?  Could any problem in this area
be
> related to the installation of MET 6.0.   I can't test it in 6.0
since Matt
> still doesn't have it working.   Is there any problem with my grib1
list
> file I attached?
>
> Bob
>
> -----Original Message-----
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> Sent: Monday, May 01, 2017 3:17 PM
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
> Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
> Bob,
>
> Good news.  I was able run plot_data_plane on that file and produce
output
> without any problems.  See the attached plot.  We just need to get
you up
> and running:
>
> met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
> 'name="VIS"; level="Z2";'
>
> Running met-5.2 works as well on my machine, but version 5.1 does
not.
>
> Could you please try running this command and let me know how it
goes:
>    /h/WXQC/met-5.2/bin/plot_data_plane \
>
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> /home/qcteam/vis.ps \
>    'name="VIS"; level="Z2";'
>
> Does that work?
>
> Thanks,
> John
>
>
> On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
> >
> > No problem - the file is out there now.
> >
> > -----Original Message-----
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
> > Sent: Monday, May 01, 2017 2:22 PM
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> > <robert.craig.2 at us.af.mil>
> > Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
> >
> > Bob,
> >
> > My apologies for the delay.  Last week was very, very busy
teaching a
> > tutorial at NCEP.  I'm finally back in the office today.
> >
> > I went to take a look at your most recent email.  I received two
> > attachments (listed below) but neither is actually the GRIB file.
> >  - grib1_af_131_57.txt  PointStatConfig_dust_updated
> >
> > I checked the ftp site and found your GRIB file but it's zero
length:
> >    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
> > us057g1011t77a000002400
> >
> > My guess is that it got aged off before I grabbed it.
> >
> > You could either repost it to or you could try stripping out the
> > single GRIB record of interest and sending that to me via email.
For
> > the latter, here's how you can run wgrib to extract a single
record:
> >
> >    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
> > qc_170426_us057g1011t77a000002400
> >
> > Thanks,
> > John
> >
> >
> >
> >
> > On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
> > >        Queue: met_help
> > >      Subject: WRF GRIB1 Issue
> > >        Owner: Nobody
> > >   Requestors: robert.craig.2 at us.af.mil
> > >       Status: new
> > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
> > > >
> > >
> > >
> > > John, I thought I sent this last week but not sure now so
apologize
> > > if you already have it.
> > >
> > > I have been having problems getting MET to degrib WRF data.   I
get the
> > > following message with I use the attached config file:
> > >
> > > DEBUG 5: Parsed forecast field number 1:
> > > VarInfoGrib::dump():
> > >   PTV     = 131
> > >   Code    = -9999
> > >   LvlType = -9999
> > >   PCode   = -9999
> > >   Center   = 57
> > >   Subcenter   = 2
> > > DEBUG 5: Parsed observation field number 1:
> > > VarInfoGrib::dump():
> > >   PTV     = 131
> > >   Code    = 135
> > >   LvlType = -9999
> > >   PCode   = -9999
> > >   Center   = 57
> > >   Subcenter   = 2
> > > DEBUG 5: Parsed threshold settings for field number 1...
> > > DEBUG 5: Forecast categorical thresholds:
> > > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical
> > > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
continuous
> > > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:
> > > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed
> > > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:
> > > Wind speed threshold logic: UNION
> > > GSL_RNG_TYPE=mt19937
> > > GSL_RNG_SEED=18446744073680783193
> > > DEBUG 1: Forecast File:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> > > us057g1011t77a000002400
> > > DEBUG 1: Observation File:
/h/data/global/WXQC/data/met/nc_obs/dust/
> > > 2017042700.nc
> > > DEBUG 2:
> > > DEBUG 2:
> > > ------------------------------------------------------------
> > > --------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for VIS/Z2.
> > > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
> > > records matching VarInfo "VIS/Z2" in GRIB file
> > > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
> > > found in
> > > file:
> > >
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > > ------------------------------------------------------------
> > > --------------------
> > > DEBUG 2:
> > > DEBUG 2: Searching 8168 observations from 8168 messages.
> > > DEBUG 2:
> > > DEBUG 2:
> > > ------------------------------------------------------------
> > > --------------------
> > > DEBUG 2:
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
> > >
> > > A degrib of the WRF file,  is below:
> > >
> > >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2
> > > =0
> > > :TimeU=1:2
> > > m above gnd:24hr fcst:NAve=0
> > >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2
> > > =0
> > > :TimeU=1:2
> > > m above gnd:24hr fcst:NAve=0
> > >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:700
> > > mb:24hr fcst:NAve=0
> > >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:500
> > > mb:24hr fcst:NAve=0
> > >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:400
> > > mb:24hr fcst:NAve=0
> > >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:300
> > > mb:24hr fcst:NAve=0
> > >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:250
> > > mb:24hr fcst:NAve=0
> > >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:200
> > > mb:24hr fcst:NAve=0
> > >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:150
> > > mb:24hr fcst:NAve=0
> > >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:100
> > > mb:24hr fcst:NAve=0
> > >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:700
> > > mb:24hr fcst:NAve=0
> > >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:500
> > > mb:24hr fcst:NAve=0
> > >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:400
> > > mb:24hr fcst:NAve=0
> > >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:300
> > > mb:24hr fcst:NAve=0
> > >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:250
> > > mb:24hr fcst:NAve=0
> > >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:200
> > > mb:24hr fcst:NAve=0
> > >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:150
> > > mb:24hr fcst:NAve=0
> > >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:100
> > > mb:24hr fcst:NAve=0
> > >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
> > > TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > > =0
> > > :TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P
> > > 2=
> > > 0:TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P
> > > 2=
> > > 0:TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P
> > > 2=
> > > 0:TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P
> > > 2=
> > > 0:TimeU=1:2
> > > m above gnd:24hr fcst:NAve=0
> > >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P
> > > 2=
> > > 0:TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24
> > > :P
> > > 2=0:TimeU=1:0-10
> > > cm down:24hr fcst:NAve=0
> > >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=
> > > 24
> > > :P2=0:TimeU=1:10-40
> > > cm down:24hr fcst:NAve=0
> > > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> > >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
> > > P2=0:TimeU=1:0-10
> > > cm down:24hr fcst:NAve=0
> > > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
> > > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
> > > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
> > >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > > =0
> > > :TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2
> > > =0
> > > :TimeU=1:sfc:24hr
> > > fcst:NAve=0
> > > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
> > > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr
fcst:NAve=0
> > > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
> > > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
> > >
> > > I get the same errors if I use plot_data_plane for TMP or any
field:
> > >
> > > /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/
> > > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
> > > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
> > >
> > > Attached is the GRIB1 file my environmental variable points to.
> > >
> > > Not sure why this simple process is not working.
> > >
> > > Thanks
> > > Bob
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

------------------------------------------------
Subject: WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Mon May 01 15:27:20 2017

For your information, I set my environmental variable (5.2 version) to
the directory containing my grib tables:

SHLVL=1

TBBROOT=/gpfs/shared/intel/parallel_studio_xe_2016_u2/compilers_and_libraries_2016.2.181/linux/tbb

TERM=xterm-256color

USER=qcteam

USER_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2



In that directory I have the my grib1 and grib2 table listed:



[1398 qcteam hpc9-lsn-01d /h/data/global/WXQC/data/met/config/grib2]
ls

grib1_af_131_57.txt  grib2_geps.txt



It is my understanding that MET will look in these tables first to
find a match for the variable name and grib codes (kpds 5,6,7).  If it
doesn't find a match here, then it will look in the share directory on
met-5.2.  Am I missing anything in this understanding?



Thanks

Bob



-----Original Message-----
From: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
Sent: Monday, May 01, 2017 4:09 PM
To: 'met_help at ucar.edu' <met_help at ucar.edu>
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue



When I run it, I get the following:



[1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin] /h/WXQC/met-
5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps 'name="VIS"; level="Z2";'

DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400

ERROR  :

ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS' for table version 133 ERROR  :



If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'



DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400

WARNING:

WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
VarInfo "(null)/Z2" in GRIB file
"/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400".

WARNING:

ERROR  :

ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
GRIB1_ptv=131; level="Z2";" from file
"/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400"

ERROR  :



So, why do we get different results?  Could any problem in this area
be related to the installation of MET 6.0.   I can't test it in 6.0
since Matt still doesn't have it working.   Is there any problem with
my grib1 list file I attached?



Bob



-----Original Message-----

From: John Halley Gotway via RT [mailto:met_help at ucar.edu]

Sent: Monday, May 01, 2017 3:17 PM

To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>

Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue



Bob,



Good news.  I was able run plot_data_plane on that file and produce
output without any problems.  See the attached plot.  We just need to
get you up and running:



met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
'name="VIS"; level="Z2";'



Running met-5.2 works as well on my machine, but version 5.1 does not.



Could you please try running this command and let me know how it goes:

   /h/WXQC/met-5.2/bin/plot_data_plane \

   /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400

/home/qcteam/vis.ps \

   'name="VIS"; level="Z2";'



Does that work?



Thanks,

John





On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:



>

> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >

>

> No problem - the file is out there now.

>

> -----Original Message-----

> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]

> Sent: Monday, May 01, 2017 2:22 PM

> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN

> <robert.craig.2 at us.af.mil>

> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue

>

> Bob,

>

> My apologies for the delay.  Last week was very, very busy teaching
a

> tutorial at NCEP.  I'm finally back in the office today.

>

> I went to take a look at your most recent email.  I received two

> attachments (listed below) but neither is actually the GRIB file.

>  - grib1_af_131_57.txt  PointStatConfig_dust_updated

>

> I checked the ftp site and found your GRIB file but it's zero
length:

>    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_

> us057g1011t77a000002400

>

> My guess is that it got aged off before I grabbed it.

>

> You could either repost it to or you could try stripping out the

> single GRIB record of interest and sending that to me via email.
For

> the latter, here's how you can run wgrib to extract a single record:

>

>    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb

> qc_170426_us057g1011t77a000002400

>

> Thanks,

> John

>

>

>

>

> On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <

> met_help at ucar.edu> wrote:

>

> >

> > Mon May 01 09:14:53 2017: Request 80310 was acted upon.

> > Transaction: Ticket created by robert.craig.2 at us.af.mil

> >        Queue: met_help

> >      Subject: WRF GRIB1 Issue

> >        Owner: Nobody

> >   Requestors: robert.craig.2 at us.af.mil

> >       Status: new

> >  Ticket <URL:

> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310

> > >

> >

> >

> > John, I thought I sent this last week but not sure now so
apologize

> > if you already have it.

> >

> > I have been having problems getting MET to degrib WRF data.   I
get the

> > following message with I use the attached config file:

> >

> > DEBUG 5: Parsed forecast field number 1:

> > VarInfoGrib::dump():

> >   PTV     = 131

> >   Code    = -9999

> >   LvlType = -9999

> >   PCode   = -9999

> >   Center   = 57

> >   Subcenter   = 2

> > DEBUG 5: Parsed observation field number 1:

> > VarInfoGrib::dump():

> >   PTV     = 131

> >   Code    = 135

> >   LvlType = -9999

> >   PCode   = -9999

> >   Center   = 57

> >   Subcenter   = 2

> > DEBUG 5: Parsed threshold settings for field number 1...

> > DEBUG 5: Forecast categorical thresholds:

> > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical

> > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
continuous

> > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:

> > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed

> > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:

> > Wind speed threshold logic: UNION

> > GSL_RNG_TYPE=mt19937

> > GSL_RNG_SEED=18446744073680783193

> > DEBUG 1: Forecast File:
/h/data/global/WXQC/data/wrf/t77/qc_170426_

> > us057g1011t77a000002400

> > DEBUG 1: Observation File:
/h/data/global/WXQC/data/met/nc_obs/dust/

> > 2017042700.nc

> > DEBUG 2:

> > DEBUG 2:

> > ------------------------------------------------------------

> > --------------------

> > DEBUG 2:

> > DEBUG 2: Reading data for VIS/Z2.

> > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB

> > records matching VarInfo "VIS/Z2" in GRIB file

> > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".

> > WARNING:

> > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2

> > found in

> > file:

> > /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400

> > WARNING:

> > DEBUG 2:

> > DEBUG 2:

> > ------------------------------------------------------------

> > --------------------

> > DEBUG 2:

> > DEBUG 2: Searching 8168 observations from 8168 messages.

> > DEBUG 2:

> > DEBUG 2:

> > ------------------------------------------------------------

> > --------------------

> > DEBUG 2:

> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/

> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat

> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/

> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt

> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/

> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt

> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/

> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt

> > DEBUG 1: Output file: /h/data/global/WXQC/data/met/

> > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt

> >

> > A degrib of the WRF file,  is below:

> >

> >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2

> > =0

> > :TimeU=1:2

> > m above gnd:24hr fcst:NAve=0

> >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2

> > =0

> > :TimeU=1:2

> > m above gnd:24hr fcst:NAve=0

> >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:700

> > mb:24hr fcst:NAve=0

> >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:500

> > mb:24hr fcst:NAve=0

> >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:400

> > mb:24hr fcst:NAve=0

> >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:300

> > mb:24hr fcst:NAve=0

> >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:250

> > mb:24hr fcst:NAve=0

> >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:200

> > mb:24hr fcst:NAve=0

> >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:150

> > mb:24hr fcst:NAve=0

> >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:100

> > mb:24hr fcst:NAve=0

> >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:700

> > mb:24hr fcst:NAve=0

> >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:500

> > mb:24hr fcst:NAve=0

> >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:400

> > mb:24hr fcst:NAve=0

> >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:300

> > mb:24hr fcst:NAve=0

> >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:250

> > mb:24hr fcst:NAve=0

> >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:200

> > mb:24hr fcst:NAve=0

> >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:150

> > mb:24hr fcst:NAve=0

> >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:100

> > mb:24hr fcst:NAve=0

> >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:

> > TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2

> > =0

> > :TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P

> > 2=

> > 0:TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P

> > 2=

> > 0:TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P

> > 2=

> > 0:TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P

> > 2=

> > 0:TimeU=1:2

> > m above gnd:24hr fcst:NAve=0

> >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P

> > 2=

> > 0:TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24

> > :P

> > 2=0:TimeU=1:0-10

> > cm down:24hr fcst:NAve=0

> >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=

> > 24

> > :P2=0:TimeU=1:10-40

> > cm down:24hr fcst:NAve=0

> > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=

> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0

> > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=

> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0

> >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:

> > P2=0:TimeU=1:0-10

> > cm down:24hr fcst:NAve=0

> > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=

> > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0

> > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=

> > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0

> > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=

> > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0

> >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2

> > =0

> > :TimeU=1:sfc:24hr

> > fcst:NAve=0

> >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2

> > =0

> > :TimeU=1:sfc:24hr

> > fcst:NAve=0

> > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=

> > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr fcst:NAve=0

> > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:

> > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0

> >

> > I get the same errors if I use plot_data_plane for TMP or any
field:

> >

> > /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/

> > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage

> > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'

> >

> > Attached is the GRIB1 file my environmental variable points to.

> >

> > Not sure why this simple process is not working.

> >

> > Thanks

> > Bob

> >

> >

> >

> >

> >

>

>

>

>



------------------------------------------------
Subject: WRF GRIB1 Issue
From: John Halley Gotway
Time: Mon May 01 15:39:01 2017

Yes, that's how the logic is supposed to work.  But perhaps something
isn't
working as we intend.  Please try running the following commands:

unsetenv MET_BASE
unsetenv USER_GRIB_TABLES
/h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps 'name="VIS";
level="Z2";'

Do you get any different results?

Thanks,
John


On Mon, May 1, 2017 at 3:27 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> For your information, I set my environmental variable (5.2 version)
to the
> directory containing my grib tables:
>
> SHLVL=1
>
> TBBROOT=/gpfs/shared/intel/parallel_studio_xe_2016_u2/
> compilers_and_libraries_2016.2.181/linux/tbb
>
> TERM=xterm-256color
>
> USER=qcteam
>
> USER_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
>
>
>
> In that directory I have the my grib1 and grib2 table listed:
>
>
>
> [1398 qcteam hpc9-lsn-01d /h/data/global/WXQC/data/met/config/grib2]
ls
>
> grib1_af_131_57.txt  grib2_geps.txt
>
>
>
> It is my understanding that MET will look in these tables first to
find a
> match for the variable name and grib codes (kpds 5,6,7).  If it
doesn't
> find a match here, then it will look in the share directory on met-
5.2.  Am
> I missing anything in this understanding?
>
>
>
> Thanks
>
> Bob
>
>
>
> -----Original Message-----
> From: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Sent: Monday, May 01, 2017 4:09 PM
> To: 'met_help at ucar.edu' <met_help at ucar.edu>
> Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
>
>
> When I run it, I get the following:
>
>
>
> [1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin]
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps
'name="VIS";
> level="Z2";'
>
> DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> ERROR  :
>
> ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS'
> for table version 133 ERROR  :
>
>
>
> If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
> /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> /home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'
>
>
>
> DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> WARNING:
>
> WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
> VarInfo "(null)/Z2" in GRIB file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
>
> WARNING:
>
> ERROR  :
>
> ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
> GRIB1_ptv=131; level="Z2";" from file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400"
>
> ERROR  :
>
>
>
> So, why do we get different results?  Could any problem in this area
be
> related to the installation of MET 6.0.   I can't test it in 6.0
since Matt
> still doesn't have it working.   Is there any problem with my grib1
list
> file I attached?
>
>
>
> Bob
>
>
>
> -----Original Message-----
>
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> Sent: Monday, May 01, 2017 3:17 PM
>
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
>
> Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
>
>
> Bob,
>
>
>
> Good news.  I was able run plot_data_plane on that file and produce
output
> without any problems.  See the attached plot.  We just need to get
you up
> and running:
>
>
>
> met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
> 'name="VIS"; level="Z2";'
>
>
>
> Running met-5.2 works as well on my machine, but version 5.1 does
not.
>
>
>
> Could you please try running this command and let me know how it
goes:
>
>    /h/WXQC/met-5.2/bin/plot_data_plane \
>
>
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> /home/qcteam/vis.ps \
>
>    'name="VIS"; level="Z2";'
>
>
>
> Does that work?
>
>
>
> Thanks,
>
> John
>
>
>
>
>
> On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
>
>
> >
>
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> >
>
> > No problem - the file is out there now.
>
> >
>
> > -----Original Message-----
>
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> > Sent: Monday, May 01, 2017 2:22 PM
>
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
>
> > <robert.craig.2 at us.af.mil>
>
> > Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
Issue
>
> >
>
> > Bob,
>
> >
>
> > My apologies for the delay.  Last week was very, very busy
teaching a
>
> > tutorial at NCEP.  I'm finally back in the office today.
>
> >
>
> > I went to take a look at your most recent email.  I received two
>
> > attachments (listed below) but neither is actually the GRIB file.
>
> >  - grib1_af_131_57.txt  PointStatConfig_dust_updated
>
> >
>
> > I checked the ftp site and found your GRIB file but it's zero
length:
>
> >    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
>
> > us057g1011t77a000002400
>
> >
>
> > My guess is that it got aged off before I grabbed it.
>
> >
>
> > You could either repost it to or you could try stripping out the
>
> > single GRIB record of interest and sending that to me via email.
For
>
> > the latter, here's how you can run wgrib to extract a single
record:
>
> >
>
> >    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
>
> > qc_170426_us057g1011t77a000002400
>
> >
>
> > Thanks,
>
> > John
>
> >
>
> >
>
> >
>
> >
>
> > On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
>
> > met_help at ucar.edu> wrote:
>
> >
>
> > >
>
> > > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
>
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
>
> > >        Queue: met_help
>
> > >      Subject: WRF GRIB1 Issue
>
> > >        Owner: Nobody
>
> > >   Requestors: robert.craig.2 at us.af.mil
>
> > >       Status: new
>
> > >  Ticket <URL:
>
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
>
> > > >
>
> > >
>
> > >
>
> > > John, I thought I sent this last week but not sure now so
apologize
>
> > > if you already have it.
>
> > >
>
> > > I have been having problems getting MET to degrib WRF data.   I
get the
>
> > > following message with I use the attached config file:
>
> > >
>
> > > DEBUG 5: Parsed forecast field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = -9999
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed observation field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = 135
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed threshold settings for field number 1...
>
> > > DEBUG 5: Forecast categorical thresholds:
>
> > > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical
>
> > > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
continuous
>
> > > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:
>
> > > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed
>
> > > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:
>
> > > Wind speed threshold logic: UNION
>
> > > GSL_RNG_TYPE=mt19937
>
> > > GSL_RNG_SEED=18446744073680783193
>
> > > DEBUG 1: Forecast File:
/h/data/global/WXQC/data/wrf/t77/qc_170426_
>
> > > us057g1011t77a000002400
>
> > > DEBUG 1: Observation File:
/h/data/global/WXQC/data/met/nc_obs/dust/
>
> > > 2017042700.nc
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Reading data for VIS/Z2.
>
> > > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
>
> > > records matching VarInfo "VIS/Z2" in GRIB file
>
> > > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".
>
> > > WARNING:
>
> > > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
>
> > > found in
>
> > > file:
>
> > >
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> > > WARNING:
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Searching 8168 observations from 8168 messages.
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
>
> > >
>
> > > A degrib of the WRF file,  is below:
>
> > >
>
> > >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
>
> > > TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24:P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24:P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24:P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24:P
>
> > > 2=
>
> > > 0:TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24:P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=24
>
> > > :P
>
> > > 2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P1=
>
> > > 24
>
> > > :P2=0:TimeU=1:10-40
>
> > > cm down:24hr fcst:NAve=0
>
> > > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
>
> > > P2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
>
> > > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
>
> > > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr
fcst:NAve=0
>
> > > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
>
> > > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
>
> > >
>
> > > I get the same errors if I use plot_data_plane for TMP or any
field:
>
> > >
>
> > > /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/
>
> > > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
>
> > > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
>
> > >
>
> > > Attached is the GRIB1 file my environmental variable points to.
>
> > >
>
> > > Not sure why this simple process is not working.
>
> > >
>
> > > Thanks
>
> > > Bob
>
> > >
>
> > >
>
> > >
>
> > >
>
> > >
>
> >
>
> >
>
> >
>
> >
>
>
>
>

------------------------------------------------
Subject: RE: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Mon May 01 16:25:16 2017

Okay, I did that and got the following:

[1438 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin] /h/WXQC/met-
5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
/home/qcteam/vis.ps 'name="VIS"; level="Z>
DEBUG 1: Opening data file:
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
ERROR  :
ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS' for table version 133
ERROR  :



Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, May 01, 2017 4:39 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Subject: Re: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF
GRIB1 Issue

Yes, that's how the logic is supposed to work.  But perhaps something
isn't working as we intend.  Please try running the following
commands:

unsetenv MET_BASE
unsetenv USER_GRIB_TABLES
/h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps 'name="VIS";
level="Z2";'

Do you get any different results?

Thanks,
John


On Mon, May 1, 2017 at 3:27 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> For your information, I set my environmental variable (5.2 version)
to
> the directory containing my grib tables:
>
> SHLVL=1
>
> TBBROOT=/gpfs/shared/intel/parallel_studio_xe_2016_u2/
> compilers_and_libraries_2016.2.181/linux/tbb
>
> TERM=xterm-256color
>
> USER=qcteam
>
> USER_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
>
>
>
> In that directory I have the my grib1 and grib2 table listed:
>
>
>
> [1398 qcteam hpc9-lsn-01d /h/data/global/WXQC/data/met/config/grib2]
> ls
>
> grib1_af_131_57.txt  grib2_geps.txt
>
>
>
> It is my understanding that MET will look in these tables first to
> find a match for the variable name and grib codes (kpds 5,6,7).  If
it
> doesn't find a match here, then it will look in the share directory
on
> met-5.2.  Am I missing anything in this understanding?
>
>
>
> Thanks
>
> Bob
>
>
>
> -----Original Message-----
> From: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Sent: Monday, May 01, 2017 4:09 PM
> To: 'met_help at ucar.edu' <met_help at ucar.edu>
> Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> Issue
>
>
>
> When I run it, I get the following:
>
>
>
> [1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin]
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps
'name="VIS";
> level="Z2";'
>
> DEBUG 1: Opening data file:
> /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> ERROR  :
>
> ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS'
> for table version 133 ERROR  :
>
>
>
> If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
> /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> /home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'
>
>
>
> DEBUG 1: Opening data file:
> /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> WARNING:
>
> WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
> VarInfo "(null)/Z2" in GRIB file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
>
> WARNING:
>
> ERROR  :
>
> ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
> GRIB1_ptv=131; level="Z2";" from file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400"
>
> ERROR  :
>
>
>
> So, why do we get different results?  Could any problem in this area
be
> related to the installation of MET 6.0.   I can't test it in 6.0
since Matt
> still doesn't have it working.   Is there any problem with my grib1
list
> file I attached?
>
>
>
> Bob
>
>
>
> -----Original Message-----
>
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> Sent: Monday, May 01, 2017 3:17 PM
>
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> <robert.craig.2 at us.af.mil>
>
> Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> Issue
>
>
>
> Bob,
>
>
>
> Good news.  I was able run plot_data_plane on that file and produce
> output without any problems.  See the attached plot.  We just need
to
> get you up and running:
>
>
>
> met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
> 'name="VIS"; level="Z2";'
>
>
>
> Running met-5.2 works as well on my machine, but version 5.1 does
not.
>
>
>
> Could you please try running this command and let me know how it
goes:
>
>    /h/WXQC/met-5.2/bin/plot_data_plane \
>
>
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> /home/qcteam/vis.ps \
>
>    'name="VIS"; level="Z2";'
>
>
>
> Does that work?
>
>
>
> Thanks,
>
> John
>
>
>
>
>
> On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
>
>
> >
>
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> >
>
> > No problem - the file is out there now.
>
> >
>
> > -----Original Message-----
>
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> > Sent: Monday, May 01, 2017 2:22 PM
>
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
>
> > <robert.craig.2 at us.af.mil>
>
> > Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> > Issue
>
> >
>
> > Bob,
>
> >
>
> > My apologies for the delay.  Last week was very, very busy
teaching
> > a
>
> > tutorial at NCEP.  I'm finally back in the office today.
>
> >
>
> > I went to take a look at your most recent email.  I received two
>
> > attachments (listed below) but neither is actually the GRIB file.
>
> >  - grib1_af_131_57.txt  PointStatConfig_dust_updated
>
> >
>
> > I checked the ftp site and found your GRIB file but it's zero
length:
>
> >    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
>
> > us057g1011t77a000002400
>
> >
>
> > My guess is that it got aged off before I grabbed it.
>
> >
>
> > You could either repost it to or you could try stripping out the
>
> > single GRIB record of interest and sending that to me via email.
> > For
>
> > the latter, here's how you can run wgrib to extract a single
record:
>
> >
>
> >    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
>
> > qc_170426_us057g1011t77a000002400
>
> >
>
> > Thanks,
>
> > John
>
> >
>
> >
>
> >
>
> >
>
> > On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
>
> > met_help at ucar.edu> wrote:
>
> >
>
> > >
>
> > > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
>
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
>
> > >        Queue: met_help
>
> > >      Subject: WRF GRIB1 Issue
>
> > >        Owner: Nobody
>
> > >   Requestors: robert.craig.2 at us.af.mil
>
> > >       Status: new
>
> > >  Ticket <URL:
>
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
>
> > > >
>
> > >
>
> > >
>
> > > John, I thought I sent this last week but not sure now so
> > > apologize
>
> > > if you already have it.
>
> > >
>
> > > I have been having problems getting MET to degrib WRF data.   I
get the
>
> > > following message with I use the attached config file:
>
> > >
>
> > > DEBUG 5: Parsed forecast field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = -9999
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed observation field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = 135
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed threshold settings for field number 1...
>
> > > DEBUG 5: Forecast categorical thresholds:
>
> > > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical
>
> > > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
> > > continuous
>
> > > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:
>
> > > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed
>
> > > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:
>
> > > Wind speed threshold logic: UNION
>
> > > GSL_RNG_TYPE=mt19937
>
> > > GSL_RNG_SEED=18446744073680783193
>
> > > DEBUG 1: Forecast File:
> > > /h/data/global/WXQC/data/wrf/t77/qc_170426_
>
> > > us057g1011t77a000002400
>
> > > DEBUG 1: Observation File:
> > > /h/data/global/WXQC/data/met/nc_obs/dust/
>
> > > 2017042700.nc
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Reading data for VIS/Z2.
>
> > > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
>
> > > records matching VarInfo "VIS/Z2" in GRIB file
>
> > > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".
>
> > > WARNING:
>
> > > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
>
> > > found in
>
> > > file:
>
> > >
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> > > WARNING:
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Searching 8168 observations from 8168 messages.
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
>
> > >
>
> > > A degrib of the WRF file,  is below:
>
> > >
>
> > >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
>
> > > TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=
> > > 24
>
> > > :P
>
> > > 2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:10-40
>
> > > cm down:24hr fcst:NAve=0
>
> > > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
>
> > > P2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
>
> > > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
>
> > > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr
fcst:NAve=0
>
> > > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
>
> > > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
>
> > >
>
> > > I get the same errors if I use plot_data_plane for TMP or any
field:
>
> > >
>
> > > /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/
>
> > > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
>
> > > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
>
> > >
>
> > > Attached is the GRIB1 file my environmental variable points to.
>
> > >
>
> > > Not sure why this simple process is not working.
>
> > >
>
> > > Thanks
>
> > > Bob
>
> > >
>
> > >
>
> > >
>
> > >
>
> > >
>
> >
>
> >
>
> >
>
> >
>
>
>
>



------------------------------------------------
Subject: RE: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Mon May 01 16:26:17 2017

John, I have to run but will be back tomorrow to work the issue.

Thanks
Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, May 01, 2017 4:39 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Subject: Re: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF
GRIB1 Issue

Yes, that's how the logic is supposed to work.  But perhaps something
isn't working as we intend.  Please try running the following
commands:

unsetenv MET_BASE
unsetenv USER_GRIB_TABLES
/h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps 'name="VIS";
level="Z2";'

Do you get any different results?

Thanks,
John


On Mon, May 1, 2017 at 3:27 PM, robert.craig.2 at us.af.mil via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> For your information, I set my environmental variable (5.2 version)
to
> the directory containing my grib tables:
>
> SHLVL=1
>
> TBBROOT=/gpfs/shared/intel/parallel_studio_xe_2016_u2/
> compilers_and_libraries_2016.2.181/linux/tbb
>
> TERM=xterm-256color
>
> USER=qcteam
>
> USER_GRIB_TABLES=/h/data/global/WXQC/data/met/config/grib2
>
>
>
> In that directory I have the my grib1 and grib2 table listed:
>
>
>
> [1398 qcteam hpc9-lsn-01d /h/data/global/WXQC/data/met/config/grib2]
> ls
>
> grib1_af_131_57.txt  grib2_geps.txt
>
>
>
> It is my understanding that MET will look in these tables first to
> find a match for the variable name and grib codes (kpds 5,6,7).  If
it
> doesn't find a match here, then it will look in the share directory
on
> met-5.2.  Am I missing anything in this understanding?
>
>
>
> Thanks
>
> Bob
>
>
>
> -----Original Message-----
> From: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> Sent: Monday, May 01, 2017 4:09 PM
> To: 'met_help at ucar.edu' <met_help at ucar.edu>
> Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> Issue
>
>
>
> When I run it, I get the following:
>
>
>
> [1366 qcteam hpc9-lsn-01d /h/WXQC/testenv/bin]
> /h/WXQC/met-5.2/bin/plot_data_plane /h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400 /home/qcteam/vis.ps
'name="VIS";
> level="Z2";'
>
> DEBUG 1: Opening data file:
> /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> ERROR  :
>
> ERROR  : is_prelim_match() - unrecognized GRIB1 field abbreviation
'VIS'
> for table version 133 ERROR  :
>
>
>
> If I try,  /h/WXQC/met-5.2/bin/plot_data_plane
> /h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
> /home/qcteam/vis.ps 'GRIB1_code=20; GRIB1_ptv=131; level="Z2";'
>
>
>
> DEBUG 1: Opening data file:
> /h/data/global/WXQC/data/wrf/t77/qc_170426_
> us057g1011t77a000002400
>
> WARNING:
>
> WARNING: MetGrib1DataFile::data_plane() -> No exact match found for
> VarInfo "(null)/Z2" in GRIB file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400".
>
> WARNING:
>
> ERROR  :
>
> ERROR  : plot_data_plane -> trouble getting field "GRIB1_code=20;
> GRIB1_ptv=131; level="Z2";" from file "/h/data/global/WXQC/data/wrf/
> t77/qc_170426_us057g1011t77a000002400"
>
> ERROR  :
>
>
>
> So, why do we get different results?  Could any problem in this area
be
> related to the installation of MET 6.0.   I can't test it in 6.0
since Matt
> still doesn't have it working.   Is there any problem with my grib1
list
> file I attached?
>
>
>
> Bob
>
>
>
> -----Original Message-----
>
> From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> Sent: Monday, May 01, 2017 3:17 PM
>
> To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
> <robert.craig.2 at us.af.mil>
>
> Subject: Re: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> Issue
>
>
>
> Bob,
>
>
>
> Good news.  I was able run plot_data_plane on that file and produce
> output without any problems.  See the attached plot.  We just need
to
> get you up and running:
>
>
>
> met-6.0/bin/plot_data_plane qc_170426_us057g1011t77a000002400 vis.ps
> 'name="VIS"; level="Z2";'
>
>
>
> Running met-5.2 works as well on my machine, but version 5.1 does
not.
>
>
>
> Could you please try running this command and let me know how it
goes:
>
>    /h/WXQC/met-5.2/bin/plot_data_plane \
>
>
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> /home/qcteam/vis.ps \
>
>    'name="VIS"; level="Z2";'
>
>
>
> Does that work?
>
>
>
> Thanks,
>
> John
>
>
>
>
>
> On Mon, May 1, 2017 at 2:06 PM, robert.craig.2 at us.af.mil via RT <
> met_help at ucar.edu> wrote:
>
>
>
> >
>
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310 >
>
> >
>
> > No problem - the file is out there now.
>
> >
>
> > -----Original Message-----
>
> > From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
>
> > Sent: Monday, May 01, 2017 2:22 PM
>
> > To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
>
> > <robert.craig.2 at us.af.mil>
>
> > Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1
> > Issue
>
> >
>
> > Bob,
>
> >
>
> > My apologies for the delay.  Last week was very, very busy
teaching
> > a
>
> > tutorial at NCEP.  I'm finally back in the office today.
>
> >
>
> > I went to take a look at your most recent email.  I received two
>
> > attachments (listed below) but neither is actually the GRIB file.
>
> >  - grib1_af_131_57.txt  PointStatConfig_dust_updated
>
> >
>
> > I checked the ftp site and found your GRIB file but it's zero
length:
>
> >    -rw-r--r-- 1 120 120     0 Apr 27 21:31 qc_170426_
>
> > us057g1011t77a000002400
>
> >
>
> > My guess is that it got aged off before I grabbed it.
>
> >
>
> > You could either repost it to or you could try stripping out the
>
> > single GRIB record of interest and sending that to me via email.
> > For
>
> > the latter, here's how you can run wgrib to extract a single
record:
>
> >
>
> >    wgrib -d 127 -grib -o qc_170426_us057g1011t77a000002400_VIS.grb
>
> > qc_170426_us057g1011t77a000002400
>
> >
>
> > Thanks,
>
> > John
>
> >
>
> >
>
> >
>
> >
>
> > On Mon, May 1, 2017 at 9:14 AM, robert.craig.2 at us.af.mil via RT <
>
> > met_help at ucar.edu> wrote:
>
> >
>
> > >
>
> > > Mon May 01 09:14:53 2017: Request 80310 was acted upon.
>
> > > Transaction: Ticket created by robert.craig.2 at us.af.mil
>
> > >        Queue: met_help
>
> > >      Subject: WRF GRIB1 Issue
>
> > >        Owner: Nobody
>
> > >   Requestors: robert.craig.2 at us.af.mil
>
> > >       Status: new
>
> > >  Ticket <URL:
>
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80310
>
> > > >
>
> > >
>
> > >
>
> > > John, I thought I sent this last week but not sure now so
> > > apologize
>
> > > if you already have it.
>
> > >
>
> > > I have been having problems getting MET to degrib WRF data.   I
get the
>
> > > following message with I use the attached config file:
>
> > >
>
> > > DEBUG 5: Parsed forecast field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = -9999
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed observation field number 1:
>
> > > VarInfoGrib::dump():
>
> > >   PTV     = 131
>
> > >   Code    = 135
>
> > >   LvlType = -9999
>
> > >   PCode   = -9999
>
> > >   Center   = 57
>
> > >   Subcenter   = 2
>
> > > DEBUG 5: Parsed threshold settings for field number 1...
>
> > > DEBUG 5: Forecast categorical thresholds:
>
> > > <=1609,<=3218,<=4828,<=8046 DEBUG 5: Observed categorical
>
> > > thresholds: <=1609,<=3218,<=4828,<=8046 DEBUG 5: Forecast
> > > continuous
>
> > > thresholds: NA DEBUG 5: Observed continuous thresholds: NA DEBUG
5:
>
> > > Continuous threshold logic: UNION DEBUG 5: Forecast wind speed
>
> > > thresholds: NA DEBUG 5: Observed wind speed thresholds: NA DEBUG
5:
>
> > > Wind speed threshold logic: UNION
>
> > > GSL_RNG_TYPE=mt19937
>
> > > GSL_RNG_SEED=18446744073680783193
>
> > > DEBUG 1: Forecast File:
> > > /h/data/global/WXQC/data/wrf/t77/qc_170426_
>
> > > us057g1011t77a000002400
>
> > > DEBUG 1: Observation File:
> > > /h/data/global/WXQC/data/met/nc_obs/dust/
>
> > > 2017042700.nc
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Reading data for VIS/Z2.
>
> > > DEBUG 3: MetGrib1DataFile::data_plane_array() -> Found 0 GRIB
>
> > > records matching VarInfo "VIS/Z2" in GRIB file
>
> > > "/h/data/global/WXQC/data/wrf/
t77/qc_170426_us057g1011t77a000002400".
>
> > > WARNING:
>
> > > WARNING: process_fcst_climo_files() -> no fields matching VIS/Z2
>
> > > found in
>
> > > file:
>
> > >
/h/data/global/WXQC/data/wrf/t77/qc_170426_us057g1011t77a000002400
>
> > > WARNING:
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 2: Searching 8168 observations from 8168 messages.
>
> > > DEBUG 2:
>
> > > DEBUG 2:
>
> > > ------------------------------------------------------------
>
> > > --------------------
>
> > > DEBUG 2:
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V.stat
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_ctc.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cts.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_cnt.txt
>
> > > DEBUG 1: Output file: /h/data/global/WXQC/data/met/
>
> > > ptstat/mdlob_pairs/point_stat_gcwrf_NAL_19700101_000000V_mpr.txt
>
> > >
>
> > > A degrib of the WRF file,  is below:
>
> > >
>
> > >
125:79871784:d=17042600:VIS:kpds5=20:kpds6=105:kpds7=2:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
126:80961180:d=17042600:DPT:kpds5=17:kpds6=105:kpds7=2:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
127:81642092:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=700:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
128:81778360:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=500:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
129:81914628:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=400:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
130:82050896:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=300:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
131:82119084:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=250:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
132:82187272:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=200:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
133:82255460:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=150:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
134:82323648:d=17042600:SHAMR:kpds5=245:kpds6=100:kpds7=100:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
135:82391836:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=700:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:700
>
> > > mb:24hr fcst:NAve=0
>
> > >
136:82528104:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=500:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:500
>
> > > mb:24hr fcst:NAve=0
>
> > >
137:82664372:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=400:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:400
>
> > > mb:24hr fcst:NAve=0
>
> > >
138:82800640:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=300:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:300
>
> > > mb:24hr fcst:NAve=0
>
> > >
139:82936908:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=250:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:250
>
> > > mb:24hr fcst:NAve=0
>
> > >
140:83073176:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=200:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:200
>
> > > mb:24hr fcst:NAve=0
>
> > >
141:83209444:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=150:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:150
>
> > > mb:24hr fcst:NAve=0
>
> > >
142:83345712:d=17042600:BMIXL:kpds5=226:kpds6=100:kpds7=100:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:100
>
> > > mb:24hr fcst:NAve=0
>
> > >
143:83481980:d=17042600:LMH:kpds5=173:kpds6=1:kpds7=0:TR=0:P1=24:P2=0:
>
> > > TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
144:83958652:d=17042600:RWMR:kpds5=170:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
145:84435324:d=17042600:NBDSF:kpds5=168:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
146:84911996:d=17042600:SHTFL:kpds5=122:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
147:86546036:d=17042600:LHTFL:kpds5=121:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
148:87499270:d=17042600:MIXR:kpds5=53:kpds6=105:kpds7=2:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:2
>
> > > m above gnd:24hr fcst:NAve=0
>
> > >
149:88520586:d=17042600:ULWRF:kpds5=212:kpds6=1:kpds7=0:TR=0:P1=24
> > > :P
>
> > > 2=
>
> > > 0:TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
150:89201498:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=10:TR=0:P1=
> > > 24
>
> > > :P
>
> > > 2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > >
151:90086652:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=2600:TR=0:P
> > > 1=
>
> > > 24
>
> > > :P2=0:TimeU=1:10-40
>
> > > cm down:24hr fcst:NAve=0
>
> > > 152:90971806:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 153:91856960:d=17042600:TSOIL:kpds5=85:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
154:92742114:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=10:TR=0:P1=24:
>
> > > P2=0:TimeU=1:0-10
>
> > > cm down:24hr fcst:NAve=0
>
> > > 155:93218786:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 2600:TR=0:P1=24:P2=0:TimeU=1:10-40 cm down:24hr fcst:NAve=0
>
> > > 156:93695458:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 10340:TR=0:P1=24:P2=0:TimeU=1:40-100 cm down:24hr fcst:NAve=0
>
> > > 157:94172130:d=17042600:CSUSF:kpds5=160:kpds6=112:kpds7=
>
> > > 25800:TR=0:P1=24:P2=0:TimeU=1:100-200 cm down:24hr fcst:NAve=0
>
> > >
158:94648802:d=17042600:NCPCP:kpds5=62:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > >
159:95670118:d=17042600:ACPCP:kpds5=63:kpds6=1:kpds7=0:TR=0:P1=24:
> > > P2
>
> > > =0
>
> > > :TimeU=1:sfc:24hr
>
> > > fcst:NAve=0
>
> > > 160:96691434:d=17042600:VDFVA:kpds5=248:kpds6=116:kpds7=
>
> > > 25600:TR=0:P1=24:P2=0:TimeU=1:100-0 mb above gnd:24hr
fcst:NAve=0
>
> > > 161:97236186:d=17042600:VAFTAD:kpds5=203:kpds6=1:
>
> > > kpds7=0:TR=0:P1=24:P2=0:TimeU=1:sfc:24hr fcst:NAve=0
>
> > >
>
> > > I get the same errors if I use plot_data_plane for TMP or any
field:
>
> > >
>
> > > /h/WXQC/met-5.2/bin/plot_data_plane
/h/data/global/WXQC/data/wrf/
>
> > > t77/qc_170426_us057g1011t77a000002400 /home/qcteam/outimage
>
> > > 'GRIB1_code=11; GRIB1_ptv=131; level="Z2";'
>
> > >
>
> > > Attached is the GRIB1 file my environmental variable points to.
>
> > >
>
> > > Not sure why this simple process is not working.
>
> > >
>
> > > Thanks
>
> > > Bob
>
> > >
>
> > >
>
> > >
>
> > >
>
> > >
>
> >
>
> >
>
> >
>
> >
>
>
>
>



------------------------------------------------
Subject: WRF GRIB1 Issue
From: John Halley Gotway
Time: Mon May 01 17:17:36 2017

Bob,

Looking closely at the GRIB files you sent I see that it uses GRIB
table
number 133 (not 131, like we were thinking):

wgrib -V -d 25 qc_170426_us057g1011t77a000002400

Undefined parameter table (center 57-1 table 133), using NCEP-opn
rec 25:15661098:date 2017042600 <%28201%29%20704-2600> UGRD kpds5=33
kpds6=100 kpds7=50 levels=(0,50) grid=255 50 mb 24hr fcst:

Note that wgrib warns us that that parameter table is undefined, so it
defaults to NCEP's operational usage.  When you run met-5.2, it should
be
reading GRIB tables from this directory:

   ls /h/WXQC/met-5.2/share/met/table_files

Looking carefully, there are only 2 for parameter table number 133:
   grib1_ecmwf_133_98.txt, grib1_ncep_133_7.txt

But neither of those are for the Air Force (i.e. center number 57).  I
ran
this through the debugger to see what's happening.  In the MET library
code, the function "is_prelim_match()" does a GRIB table lookup.  But
it
doesn't find a match for PTV = 133 and Center = 57, so it then does
another
lookup using the default values, PTV = 2 and Center = 7.  That's why
mine
is working.

I wonder if you still have all the GRIB table files that were
distributed
with met-5.2.  When MET was installed, they should have been copied
into
this directory:
  /h/WXQC/met-5.2/share/met/table_files

It should contain 50 files that start with "grib" and end with ".txt":
   ls /h/WXQC/met-5.2/share/met/table_files/grib*.txt | wc -w

If it doesn't, then you should either rerun "make install" for met-5.2
to
re-copy them over.  Or figure out where they are and set the MET_BASE
environment variable to tell MET where to find them.

Please let me know what you figure out.

Thanks,
John

------------------------------------------------
Subject: RE: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF GRIB1 Issue
From: robert.craig.2 at us.af.mil
Time: Tue May 02 07:15:24 2017

John, we have 47 grib.txt files in that directory.  I was my
understanding however that when I set USER_GRIB_TABLES to a directory,
MET will look in this directory first for the GRIB values.  I have the
AF table which uses GRIB table number 131 in that directory so I
thought that was all I had to do.  We did get 6.0 running and the
problem goes away with that version (I set the MET_GRIB_TABLES
variable and it is being used) - maybe we have a configuration problem
with 5.2.   We are going through the process of getting 5.2 approved
on our new system.  Once that is done, it should much quicker to get
6.0 approved.  We shall see.  This problem should be resolved and to
the next one.

Thanks
Bob

-----Original Message-----
From: John Halley Gotway via RT [mailto:met_help at ucar.edu]
Sent: Monday, May 01, 2017 6:18 PM
To: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXN
<robert.craig.2 at us.af.mil>
Subject: Re: FW: [Non-DoD Source] Re: [rt.rap.ucar.edu #80310] WRF
GRIB1 Issue

Bob,

Looking closely at the GRIB files you sent I see that it uses GRIB
table number 133 (not 131, like we were thinking):

wgrib -V -d 25 qc_170426_us057g1011t77a000002400

Undefined parameter table (center 57-1 table 133), using NCEP-opn rec
25:15661098:date 2017042600 <%28201%29%20704-2600> UGRD kpds5=33
kpds6=100 kpds7=50 levels=(0,50) grid=255 50 mb 24hr fcst:

Note that wgrib warns us that that parameter table is undefined, so it
defaults to NCEP's operational usage.  When you run met-5.2, it should
be reading GRIB tables from this directory:

   ls /h/WXQC/met-5.2/share/met/table_files

Looking carefully, there are only 2 for parameter table number 133:
   grib1_ecmwf_133_98.txt, grib1_ncep_133_7.txt

But neither of those are for the Air Force (i.e. center number 57).  I
ran this through the debugger to see what's happening.  In the MET
library code, the function "is_prelim_match()" does a GRIB table
lookup.  But it doesn't find a match for PTV = 133 and Center = 57, so
it then does another lookup using the default values, PTV = 2 and
Center = 7.  That's why mine is working.

I wonder if you still have all the GRIB table files that were
distributed with met-5.2.  When MET was installed, they should have
been copied into this directory:
  /h/WXQC/met-5.2/share/met/table_files

It should contain 50 files that start with "grib" and end with ".txt":
   ls /h/WXQC/met-5.2/share/met/table_files/grib*.txt | wc -w

If it doesn't, then you should either rerun "make install" for met-5.2
to re-copy them over.  Or figure out where they are and set the
MET_BASE environment variable to tell MET where to find them.

Please let me know what you figure out.

Thanks,
John



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


More information about the Met_help mailing list