From b37e67e60261269427da7ed6f250dd47d36f6e0c Mon Sep 17 00:00:00 2001 From: EricJames-NOAA Date: Mon, 2 Dec 2024 09:47:27 -0700 Subject: [PATCH] Bug fix for time labeling in GRIB2 template 4.46 (#1091) * Bug fix for time labeling in GRIB2 template 4.46 * Updating control files to output "total aerosol" instead of missing aerosol type for 1-h average PM2.5 and PM10. --- parm/post_avblflds.xml | 2 ++ parm/postxconfig-NT-rrfs.txt | 4 ++-- sorc/ncep_post.fd/grib2_module.f | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/parm/post_avblflds.xml b/parm/post_avblflds.xml index 306b057cf..a9f42c384 100755 --- a/parm/post_avblflds.xml +++ b/parm/post_avblflds.xml @@ -7001,6 +7001,7 @@ MASSDEN AVE spec_hgt_lvl_above_grnd + total_aerosol smaller_than_first_limit 7 25 @@ -7107,6 +7108,7 @@ MASSDEN AVE spec_hgt_lvl_above_grnd + total_aerosol 8. smaller_than_first_limit 7 diff --git a/parm/postxconfig-NT-rrfs.txt b/parm/postxconfig-NT-rrfs.txt index 8e1b47fe7..adea1601a 100644 --- a/parm/postxconfig-NT-rrfs.txt +++ b/parm/postxconfig-NT-rrfs.txt @@ -11377,7 +11377,7 @@ spec_hgt_lvl_above_grnd ? 0 ? -? +total_aerosol ? smaller_than_first_limit 7 @@ -11419,7 +11419,7 @@ spec_hgt_lvl_above_grnd ? 0 ? -? +total_aerosol ? smaller_than_first_limit 7 diff --git a/sorc/ncep_post.fd/grib2_module.f b/sorc/ncep_post.fd/grib2_module.f index 25f80c9c0..21628d795 100644 --- a/sorc/ncep_post.fd/grib2_module.f +++ b/sorc/ncep_post.fd/grib2_module.f @@ -936,7 +936,7 @@ subroutine gengrb2msg(idisc,icatg, iparm,nprm,nlvl,fldlvl1,fldlvl2,ntrange,tinvs pset%param(nprm)%scale_val_2nd_size, & pset%gen_proc_type, & pset%gen_proc,hrs_obs_cutoff,min_obs_cutoff, & - pset%time_range_unit,ifhr, & + pset%time_range_unit,ihr_start, & pset%param(nprm)%fixed_sfc1_type, & scale_fct_fixed_sfc1, & scaled_val_fixed_sfc1, &