Skip to content

Commit

Permalink
Per issue #2055, in read_grib2_record_list(), added code to set level…
Browse files Browse the repository at this point in the history
…s for table number 10 (like 6). SL
  • Loading branch information
Seth Linden committed Aug 9, 2022
1 parent 4d56099 commit 6c04acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcode/vx_data2d_grib2/data2d_grib2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -757,8 +757,8 @@ void MetGrib2DataFile::read_grib2_record_list() {
rec->IPDTmpl.add((int) gfld->ipdtmpl[j]);
}

// Check template number 6, set value at the percentage-level for now (ipdtmpl[15])
if( gfld->ipdtnum == 6) {
// Check template number 6 or 10, set value at the percentage-level for now (ipdtmpl[15])
if( gfld->ipdtnum == 6 || gfld->ipdtnum == 10) {
rec->LvlVal1 = gfld->ipdtmpl[15];
rec->LvlVal2 = rec->LvlVal1;
// check for template number 46
Expand Down

0 comments on commit 6c04acf

Please sign in to comment.