[Met_help] [rt.rap.ucar.edu #97572] History for Problem reading GRIB2 StageIV precip file
John Halley Gotway via RT
met_help at ucar.edu
Wed Feb 10 09:01:59 MST 2021
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hope all is well at your end.
In the process of validating or model's QPF during the summer of 2020, I see that the data format was changed from GRIB to GRIB2. It looks like my MET6.0 processing system is not supporting these StageIV GRIB2 files as per the following error that I have encountered:
DEBUG 1: User Config File: /home/Bill.Stern/MET6.0/Gridstat/config/GridStatConfig_precip
ERROR :
ERROR : MetGrib2DataFile::read_grib2_record_list() -> accum valid time unexpectedly set for record 1 field 1
Does this imply that we need to bring in some additional library file(s) or does it appear to be some missing specification in my scripts. I've attached my gridstat runscript, config file and the StageIV precip file. As always I appreciate your guidance,
Thanks,
Bill
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Problem reading GRIB2 StageIV precip file
From: John Halley Gotway
Time: Fri Nov 20 17:03:05 2020
Hello Bill,
I moved your question about grid_stat over to the met-help ticketing
system. I just so happen to be assigned to met-help today, but will be
out all next week.
Thanks for sending along sample files to illustrate the issue. I see
from your config file that you're running MET version 6.0, from April
2017.
I always run MET's plot_data_plane utility to debug apparent problems
in reading gridded data. Running the latest version of MET, version
9.1.1, on the stageIV file you sent, I don't see any issues:
MET-main_v9.1/met/bin/plot_data_plane st4_conus.2020070106.06h.grb2
st4.ps 'name="APCP";level="A06";'
That runs fine. Unfortunately, I'm not able to find a version of met-
6.0 locally with which to test. Please try out the command above. Does
that run fine? If not, I'd recommend updating to the latest version
(met-9.1.1). If so, then the underlying problem is NOT in reading data
from this StageIV file. FYI, here's the source code where this error
message is being written:
Version 6.0:
https://github.com/dtcenter/MET/blob/795cd087393af818657b908d794083a7d21b7500/met/src/libcode/vx_data2d_grib2/data2d_grib2.cc#L686
Latest version:
https://github.com/dtcenter/MET/blob/17e1c9740224bf84a8bd0e84b5d254ccc5981bb8/met/src/libcode/vx_data2d_grib2/data2d_grib2.cc#L797
Looking through that long shell script you sent for running Grid-Stat,
I'm wondering if running the METplus python wrappers would make your
life easier.
Thanks,
John Halley Gotway
------------------------------------------------
Subject: Problem reading GRIB2 StageIV precip file
From: bill.stern at noaa.gov
Time: Fri Nov 20 18:34:55 2020
Thanks for your quick reply John. Your suggestions should be very
helpful
- which I will follow-up on next week.
I have been building on that MET6.0 shell script, but really should
move to
the latest version of MET.
Best wishes for a happy Thanksgiving.
Bill
On Fri, Nov 20, 2020 at 7:03 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Hello Bill,
>
> I moved your question about grid_stat over to the met-help ticketing
> system. I just so happen to be assigned to met-help today, but will
be out
> all next week.
>
> Thanks for sending along sample files to illustrate the issue. I see
from
> your config file that you're running MET version 6.0, from April
2017.
>
> I always run MET's plot_data_plane utility to debug apparent
problems in
> reading gridded data. Running the latest version of MET, version
9.1.1, on
> the stageIV file you sent, I don't see any issues:
>
> MET-main_v9.1/met/bin/plot_data_plane st4_conus.2020070106.06h.grb2
st4.ps
> 'name="APCP";level="A06";'
>
> That runs fine. Unfortunately, I'm not able to find a version of
met-6.0
> locally with which to test. Please try out the command above. Does
that run
> fine? If not, I'd recommend updating to the latest version (met-
9.1.1). If
> so, then the underlying problem is NOT in reading data from this
StageIV
> file. FYI, here's the source code where this error message is being
written:
>
> Version 6.0:
>
>
https://github.com/dtcenter/MET/blob/795cd087393af818657b908d794083a7d21b7500/met/src/libcode/vx_data2d_grib2/data2d_grib2.cc#L686
>
> Latest version:
>
>
https://github.com/dtcenter/MET/blob/17e1c9740224bf84a8bd0e84b5d254ccc5981bb8/met/src/libcode/vx_data2d_grib2/data2d_grib2.cc#L797
>
> Looking through that long shell script you sent for running Grid-
Stat, I'm
> wondering if running the METplus python wrappers would make your
life
> easier.
>
> Thanks,
> John Halley Gotway
>
--
Bill Stern, Meteorologist
Room 206
NOAA/Geophysical Fluid Dynamics Laboratory
Princeton University Forrestal Campus
201 Forrestal Road Princeton, NJ 08540-6649
Tel: (609)452-6545
Fax: (609)987-5063
------------------------------
------------------------------------
Email Address: bill.stern at noaa.gov
------------------------------------------------------------------
Anonymous ftp Address: ftp.gfdl.noaa.gov
------------------------------------------------------------------
On the World Wide Web: http://www.gfdl.noaa.gov/bill-stern-gfdl-noaa
------------------------------------------------------------------
------------------------------------------------
More information about the Met_help
mailing list