From fd0e7a599a11ca254f30986dff2e100b8fcedc17 Mon Sep 17 00:00:00 2001 From: bbakernoaa Date: Thu, 12 Sep 2024 14:29:50 +0000 Subject: [PATCH] add directories | todo this is common between config.aero and config.prep_emissions | need to unify somehow --- parm/config/gefs/config.prep_emissions | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/parm/config/gefs/config.prep_emissions b/parm/config/gefs/config.prep_emissions index ac7bdc046f..c8c5b7e864 100644 --- a/parm/config/gefs/config.prep_emissions +++ b/parm/config/gefs/config.prep_emissions @@ -3,6 +3,33 @@ ########## config.prep_emissions ########## # aerosol emissions preprocessing specific +# TODO: this is duplicated in the config.aero file. Should use a common function +case ${machine} in + "HERA") + AERO_INPUTS_DIR="/scratch1/NCEPDEV/global/glopara/data/gocart_emissions" + ;; + "ORION" | "HERCULES") + AERO_INPUTS_DIR="/work2/noaa/global/wkolczyn/noscrub/global-workflow/gocart_emissions" + ;; + "S4") + AERO_INPUTS_DIR="/data/prod/glopara/gocart_emissions" + ;; + "WCOSS2") + AERO_INPUTS_DIR="/lfs/h2/emc/global/noscrub/emc.global/data/gocart_emissions" + ;; + "GAEA") + AERO_INPUTS_DIR="/gpfs/f5/epic/proj-shared/global/glopara/data/gocart_emissions" + ;; + "JET") + AERO_INPUTS_DIR="/lfs4/HFIP/hfv3gfs/glopara/data/gocart_emissions" + ;; + *) + echo "FATAL ERROR: Machine ${machine} unsupported for aerosols" + exit 2 + ;; +esac +export AERO_INPUTS_DIR + echo "BEGIN: config.prep_emissions" # Get task specific resources