diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index a5fee9a7fd..c9229d436e 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -249,10 +249,15 @@ EOF ${NLN} "${FIXgfs}/lut/optics_SU.v1_3.dat" "${DATA}/optics_SU.dat" fi + co2dir="fix_co2_proj" + if [[ ${reforecast:-"NO"} = "YES" | ]]; then + co2dir="co2dat_4a" + fi + ${NLN} "${FIXgfs}/am/global_co2historicaldata_glob.txt" "${DATA}/co2historicaldata_glob.txt" ${NLN} "${FIXgfs}/am/co2monthlycyc.txt" "${DATA}/co2monthlycyc.txt" if [[ ${ICO2} -gt 0 ]]; then - for file in $(ls "${FIXgfs}/am/fix_co2_proj/global_co2historicaldata"*) ; do + for file in $(ls "${FIXgfs}/am/${co2dir}/global_co2historicaldata"*) ; do ${NLN} "${file}" "${DATA}/$(basename "${file//global_}")" done fi