dtcenter / MET

Model Evaluation Tools
https://dtcenter.org/community-code/model-evaluation-tools-met
Apache License 2.0
79 stars 24 forks source link

Fix timing issue for Air Force GEPS GRIB2 data. #1003

Open dwfncar opened 6 years ago

dwfncar commented 6 years ago

MET does not interpret the timing info from GRIB2 GEPS data files correctly. Specifically, we get the init time right but don't recognize it as an accumulation interval like wgrib does. For example, for a 6-12 hour accumulation, MET see's it an instantaneous 6-hour forecast.


This was raised by Bob Craig at the Air Force via met-help:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=85223


The AF can't recompile MET until the Fortify issues have been solved, post met-7.1. So this issue must be fixed by then.


I have attached to this ticket a GRIB2 file with 1 record in it to demonstrate the problem:


setenv MET_GRIB_TABLES grib2_geps.txt
/usr/local/met-7.0/bin/plot_data_plane rec252.grib2 rec252.ps 'name="QP010"; level="Z0";' -v 4
...
DEBUG 4: valid time: 20180401_060000
DEBUG 4: lead time: 060000
DEBUG 4: init time: 20180401_000000


The lead time should be 12 and the valid time 20180401_120000 to match the output of wgrib2:


wgrib2 -V rec252.grib2
1:0:vt=2018040112:surface:6-12 hour acc fcst:var discipline=0 master_table=10 parmcat=19 parm=176:ENS=hi-res ctl

[MET-1003] created by johnhg

lisagoodrich commented 5 years ago

Original JIRA attachment location: https://sdg.rap.ucar.edu/jira/browse/MET-1003?filter=12903

Remove the .txt from the file once it is downloaded. github can't save .grib2 extensions rec252.grib2.txt

grib2_geps.txt