From ab3fe9355b8f57142f2324a50ec516c59cbdd20a Mon Sep 17 00:00:00 2001
From: EricJames-NOAA <eric.james@noaa.gov>
Date: Wed, 13 Nov 2024 13:44:19 -0700
Subject: [PATCH] Changing neighbor interpolation to bilinear interpolation for
 AEMFLX (smoke emissions) to retain all emission points going from NA_3km grid
 to CONUS grid. (#548)

Co-authored-by: MatthewPyle-NOAA <48285220+MatthewPyle-NOAA@users.noreply.github.com>
---
 scripts/exrrfs_prdgen.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/exrrfs_prdgen.sh b/scripts/exrrfs_prdgen.sh
index f7fbca79c..32a273fe6 100755
--- a/scripts/exrrfs_prdgen.sh
+++ b/scripts/exrrfs_prdgen.sh
@@ -429,6 +429,7 @@ else
             wgrib2 ${infile} -set_bitmap 1 -set_grib_type c3 -new_grid_winds grid \
              -new_grid_vectors "UGRD:VGRD:USTM:VSTM:VUCSH:VVCSH" \
              -new_grid_interpolation neighbor \
+	     -if ":(AEMFLX):" -new_grid_interpolation bilinear -fi \
              -new_grid ${grid_specs} ${subdir}/${fhr}/tmp_${grid}.grib2
           fi