diff --git a/dev/scripts/exgfs_atmos_awips_20km_1p0deg.sh b/dev/scripts/exgfs_atmos_awips_20km_1p0deg.sh index 267a062379..fd2e5c5190 100755 --- a/dev/scripts/exgfs_atmos_awips_20km_1p0deg.sh +++ b/dev/scripts/exgfs_atmos_awips_20km_1p0deg.sh @@ -184,6 +184,14 @@ for GRID in conus ak prico pac 003; do if [[ ${err} -ne 0 ]]; then err_exit "Failed to generate the awips Grib2 file!" fi + echo "Complex2 compression/packing for grib2.awpgfs${fcsthr}.${GRID}" + cpreq "grib2.awpgfs${fcsthr}.${GRID}" "tmp_grib2_${fcsthr}_${GRID}" + ${WGRIB2} "tmp_grib2_${fcsthr}_${GRID}" -set_grib_type complex2 \ + -grib_out "grib2.awpgfs${fcsthr}.${GRID}" + export err=$? + if [[ ${err} -ne 0 ]]; then + err_exit "Failed to compress and repack the awips Grib2 file!" + fi ############################## # Post Files to ${COMOUT_ATMOS_WMO} @@ -214,6 +222,14 @@ for GRID in conus ak prico pac 003; do if [[ ${err} -ne 0 ]]; then err_exit "Failed to write the AWIPS grib2 file" fi + echo "Complex2 compression/packing for grib2.awpgfs_20km_${GRID}_f${fcsthr}" + cpreq "grib2.awpgfs_20km_${GRID}_f${fcsthr}" "tmp_grib2_${GRID}_f${fcsthr}" + ${WGRIB2} "tmp_grib2_${GRID}_f${fcsthr}" -set_grib_type complex2 \ + -grib_out "grib2.awpgfs_20km_${GRID}_f${fcsthr}" + export err=$? + if [[ ${err} -ne 0 ]]; then + err_exit "Failed to compress and repack the AWIPS grib2 file!" + fi ############################## # Post Files to ${COMOUT_ATMOS_WMO}