From f766fd972c5cecf2159047ffd398fe27026af821 Mon Sep 17 00:00:00 2001 From: Jessica Meixner Date: Mon, 16 Oct 2023 22:07:18 +0000 Subject: [PATCH] updates for new gocart/mapl --- parm/ufs/chem/AERO_HISTORY.rc | 2 +- scripts/exglobal_forecast.sh | 2 +- ush/forecast_postdet.sh | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/parm/ufs/chem/AERO_HISTORY.rc b/parm/ufs/chem/AERO_HISTORY.rc index 19f572bb8c..9fc4bdffe9 100644 --- a/parm/ufs/chem/AERO_HISTORY.rc +++ b/parm/ufs/chem/AERO_HISTORY.rc @@ -6,7 +6,7 @@ VERSION: 1 EXPID: gocart EXPDSC: GOCART2g_diagnostics_at_c360 EXPSRC: GEOSgcm-v10.16.0 - +Allow_Overwrite: true COLLECTIONS: 'inst_aod' # 'inst_du_ss' diff --git a/scripts/exglobal_forecast.sh b/scripts/exglobal_forecast.sh index 86cea85dee..6673f776a1 100755 --- a/scripts/exglobal_forecast.sh +++ b/scripts/exglobal_forecast.sh @@ -164,7 +164,7 @@ FV3_out [[ ${cplflx} = .true. ]] && MOM6_out [[ ${cplwav} = .true. ]] && WW3_out [[ ${cplice} = .true. ]] && CICE_out -[[ ${cplchm} = .true. ]] && GOCART_out +#[[ ${cplchm} = .true. ]] && GOCART_out [[ ${esmf_profile:-} = .true. ]] && CPL_out echo "MAIN: Output copied to COMROT" diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index 666687f400..7e9fb809c4 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -1033,22 +1033,22 @@ GOCART_postdet() { for fhr in ${FV3_OUTPUT_FH}; do local vdate=$(date --utc -d "${current_cycle:0:8} ${current_cycle:8:2} + ${fhr} hours" +%Y%m%d%H) - # Temporarily delete existing files due to noclobber in GOCART - if [[ -e "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" ]]; then - rm -f "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" - fi - - #To Do: Temporarily removing this as this will crash gocart, adding copy statement at the end - #${NLN} "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" \ - # "${DATA}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" + ## Temporarily delete existing files due to noclobber in GOCART + #if [[ -e "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" ]]; then + # rm -f "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" + #fi + + ##To Do: Temporarily removing this as this will crash gocart, adding copy statement at the end + ${NLN} "${COM_CHEM_HISTORY}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" \ + "${DATA}/gocart.inst_aod.${vdate:0:8}_${vdate:8:2}00z.nc4" done } -GOCART_out() { - echo "SUB ${FUNCNAME[0]}: Copying output data for GOCART" +#GOCART_out() { +# echo "SUB ${FUNCNAME[0]}: Copying output data for GOCART" # Copy gocart.inst_aod after the forecast is run (and successfull) # TO DO: this should be linked but there were issues where gocart was crashing if it was linked - ${NCP} "${DATA}/gocart.inst_aod.*" "${COM_CHEM_HISTORY}/" -} + #${NCP} "${DATA}/gocart.inst_aod.*" "${COM_CHEM_HISTORY}/" +#}