From c4c1d1d7f5a9d1c1ac4dbfeb1b1a4b1850f99a10 Mon Sep 17 00:00:00 2001 From: Dusan Jovic Date: Wed, 2 Dec 2020 16:59:18 +0000 Subject: [PATCH 1/3] Add $INPUTDATA_ROOT --- tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN | 60 ++++++++++----------- tests/fv3_conf/ccpp_control_run.IN | 32 +++++------ tests/fv3_conf/ccpp_cpt_run.IN | 26 ++++----- tests/fv3_conf/ccpp_csawmg3shoc127_run.IN | 26 ++++----- tests/fv3_conf/ccpp_csawmg_run.IN | 46 ++++++++-------- tests/fv3_conf/ccpp_csawmgshoc_run.IN | 44 +++++++-------- tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN | 14 ++--- tests/fv3_conf/ccpp_gf_thompson_run.IN | 34 ++++++------ tests/fv3_conf/ccpp_gfdlmp_run.IN | 30 +++++------ tests/fv3_conf/ccpp_gfs_v15_run.IN | 28 +++++----- tests/fv3_conf/ccpp_gfs_v16_flake_run.IN | 28 +++++----- tests/fv3_conf/ccpp_gfs_v16_run.IN | 28 +++++----- tests/fv3_conf/ccpp_gfsv16_csawmg_run.IN | 46 ++++++++-------- tests/fv3_conf/ccpp_gocart.IN | 44 +++++++-------- tests/fv3_conf/ccpp_gsd_run.IN | 54 +++++++++---------- tests/fv3_conf/ccpp_gsd_sar_run.IN | 34 ++++++------ tests/fv3_conf/ccpp_multigases_run.IN | 34 ++++++------ tests/fv3_conf/ccpp_regional_c786_run.IN | 10 ++-- tests/fv3_conf/ccpp_regional_run.IN | 16 +++--- tests/fv3_conf/ccpp_satmedmf_run.IN | 24 ++++----- tests/fv3_conf/ccpp_stretched_run.IN | 8 +-- tests/fv3_conf/cpld_bmark_run.IN | 52 +++++++++--------- tests/fv3_conf/cpld_control_run.IN | 50 ++++++++--------- tests/fv3_conf/cpld_datm_cfsr.IN | 22 ++++---- tests/fv3_conf/cpld_datm_gefs.IN | 22 ++++---- tests/fv3_conf/cpt_run.IN | 26 ++++----- tests/fv3_conf/csawmg3shoc127_run.IN | 28 +++++----- tests/fv3_conf/csawmg_run.IN | 46 ++++++++-------- tests/fv3_conf/csawmgshoc_run.IN | 30 +++++------ tests/fv3_conf/fv3_gocart.IN | 46 ++++++++-------- tests/fv3_conf/fv3_regional_run.IN | 6 +-- tests/fv3_conf/fv3_run.IN | 32 +++++------ tests/fv3_conf/fv3_stretched_run.IN | 8 +-- tests/fv3_conf/gfdlmp_run.IN | 30 +++++------ tests/fv3_conf/gfs_v15_run.IN | 26 ++++----- tests/fv3_conf/gfs_v16_run.IN | 26 ++++----- tests/fv3_conf/gfsv16_csawmg_run.IN | 46 ++++++++-------- tests/fv3_conf/multigases_run.IN | 34 ++++++------ tests/fv3_conf/rasmgshoc_run.IN | 28 +++++----- tests/fv3_conf/satmedmf_run.IN | 24 ++++----- tests/fv3_conf/thompson_run.IN | 28 +++++----- tests/fv3_conf/wsm6_run.IN | 26 ++++----- tests/rt.sh | 53 ++++-------------- 43 files changed, 661 insertions(+), 694 deletions(-) diff --git a/tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN b/tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN index 757a73c218..52eaa53f67 100644 --- a/tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN +++ b/tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN @@ -3,47 +3,47 @@ mkdir INPUT RESTART if [ $IMP_PHYSICS = 8 ]; then if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/ else - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/ - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/ - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/ cp ../fv3_ccpp_gsd_coldstart${RT_SUFFIX}/RESTART/* INPUT/ fi elif [ $IMP_PHYSICS = 15 ]; then if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT/* INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT/* INPUT/ else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT/ fi else echo "ERROR, no input data configured for IMP_PHYSICS=${IMP_PHYSICS}" exit 1 fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . # Copy landuse/soil/vegetation parameter tables for HWRF Noah LSM -cp @[RTPWD]/FV3_input_data_hafs/GENPARM.TBL . -cp @[RTPWD]/FV3_input_data_hafs/SOILPARM.TBL . -cp @[RTPWD]/FV3_input_data_hafs/VEGPARM.TBL . +cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/GENPARM.TBL . +cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/SOILPARM.TBL . +cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/VEGPARM.TBL . # Copy diag table, depending on microphysics choice if [ $IMP_PHYSICS = 8 ]; then - cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gsd_noah diag_table elif [ $IMP_PHYSICS = 15 ]; then if [ $IOVR = 4 ]; then - cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table else - cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA diag_table fi else echo "ERROR, no diag table configured for IMP_PHYSICS=${IMP_PHYSICS}" @@ -54,21 +54,21 @@ fi if [ $IMP_PHYSICS = 8 ]; then if [ $LTAEROSOL = .T. ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then - cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gsd field_table else - cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table fi else if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)" exit 1 else - cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero field_table fi fi elif [ $IMP_PHYSICS = 15 ]; then # Copy field table for Ferrier-Aligo MP - cp @[RTPWD]/FV3_input_data_hafs/field_table_FA_nwat4 field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/field_table_FA_nwat4 field_table else echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}" exit 1 @@ -76,10 +76,10 @@ fi # Thompson or F-A MP lookup tables if [ $IMP_PHYSICS = 8 ]; then - cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat . - cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat . - cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat . - cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qs.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qg.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . elif [ $IMP_PHYSICS = 15 ]; then - cp @[RTPWD]/FV3_input_data/DETAMPNEW_DATA* . + cp @[INPUTDATA_ROOT]/FV3_input_data/DETAMPNEW_DATA* . fi diff --git a/tests/fv3_conf/ccpp_control_run.IN b/tests/fv3_conf/ccpp_control_run.IN index 56aa3be9a2..73e03d1bde 100644 --- a/tests/fv3_conf/ccpp_control_run.IN +++ b/tests/fv3_conf/ccpp_control_run.IN @@ -12,15 +12,15 @@ echo "inputdir=$inputdir,NPX=$NPX" UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT else - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -35,24 +35,24 @@ else fi fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then - cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . + cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . fi diff --git a/tests/fv3_conf/ccpp_cpt_run.IN b/tests/fv3_conf/ccpp_cpt_run.IN index 3976445029..8828656bed 100644 --- a/tests/fv3_conf/ccpp_cpt_run.IN +++ b/tests/fv3_conf/ccpp_cpt_run.IN @@ -1,20 +1,20 @@ rm -fr INPUT RESTART inputdir=FV3_input_data_127 if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table -cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/ccpp_csawmg3shoc127_run.IN b/tests/fv3_conf/ccpp_csawmg3shoc127_run.IN index 3976445029..8828656bed 100644 --- a/tests/fv3_conf/ccpp_csawmg3shoc127_run.IN +++ b/tests/fv3_conf/ccpp_csawmg3shoc127_run.IN @@ -1,20 +1,20 @@ rm -fr INPUT RESTART inputdir=FV3_input_data_127 if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table -cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/ccpp_csawmg_run.IN b/tests/fv3_conf/ccpp_csawmg_run.IN index aeccc7cbd2..c2258f677c 100644 --- a/tests/fv3_conf/ccpp_csawmg_run.IN +++ b/tests/fv3_conf/ccpp_csawmg_run.IN @@ -2,15 +2,15 @@ rm -fr INPUT RESTART UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -25,26 +25,26 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_mgrs diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgrs field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmg field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgrs diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgrs field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmg field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/ccpp_csawmgshoc_run.IN b/tests/fv3_conf/ccpp_csawmgshoc_run.IN index ea3763fc7e..6c7bbd8ed3 100644 --- a/tests/fv3_conf/ccpp_csawmgshoc_run.IN +++ b/tests/fv3_conf/ccpp_csawmgshoc_run.IN @@ -1,31 +1,31 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_mgtkers diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgtkers field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmgshoc field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgtkers diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgtkers field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmgshoc field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN b/tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN index 0ca83a23c9..86ac62ff16 100644 --- a/tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN +++ b/tests/fv3_conf/ccpp_esg_HAFS_v0_hwrf_run.IN @@ -2,7 +2,7 @@ rm -fr INPUT RESTART mkdir INPUT RESTART if [ $WARM_START = .F. ]; then - rsync -av @[RTPWD]/FV3_input_data_regional_esg/ ./ + rsync -av @[INPUTDATA_ROOT]/FV3_input_data_regional_esg/ ./ else echo "ERROR, warmstart runs not configured for regional HAFs runs on ESG grid" exit 1 @@ -13,9 +13,9 @@ if [ $IMP_PHYSICS = 8 ]; then ln -sf diag_table.thompson diag_table elif [ $IMP_PHYSICS = 15 ]; then if [ $IOVR = 4 ]; then - cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table else - cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/diag_table_FA diag_table fi else echo "ERROR, no diag table configured for IMP_PHYSICS=${IMP_PHYSICS}" @@ -26,21 +26,21 @@ fi if [ $IMP_PHYSICS = 8 ]; then if [ $LTAEROSOL = .T. ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then - cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gsd field_table else - cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table fi else if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)" exit 1 else - cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero field_table fi fi elif [ $IMP_PHYSICS = 15 ]; then # Copy field table for Ferrier-Aligo MP - cp @[RTPWD]/FV3_input_data_hafs/field_table_FA_nwat4 field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_hafs/field_table_FA_nwat4 field_table else echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}" exit 1 diff --git a/tests/fv3_conf/ccpp_gf_thompson_run.IN b/tests/fv3_conf/ccpp_gf_thompson_run.IN index 23c529ccf7..c2faa7eaa4 100644 --- a/tests/fv3_conf/ccpp_gf_thompson_run.IN +++ b/tests/fv3_conf/ccpp_gf_thompson_run.IN @@ -1,23 +1,23 @@ rm -fr INPUT RESTART mkdir INPUT RESTART -cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT +cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data_gsd/diag_table_gf_thompson diag_table -cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gf_thompson diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . # Thompson MP lookup tables - copy standard and SIONlib tables of precomputed tables -cp @[RTPWD]/FV3_input_data_gsd/thompson_tables_precomp.sl . -cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat . -cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat . -cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat . -cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/thompson_tables_precomp.sl . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qs.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qg.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . diff --git a/tests/fv3_conf/ccpp_gfdlmp_run.IN b/tests/fv3_conf/ccpp_gfdlmp_run.IN index 5fda8b7353..f0ace7e854 100644 --- a/tests/fv3_conf/ccpp_gfdlmp_run.IN +++ b/tests/fv3_conf/ccpp_gfdlmp_run.IN @@ -2,15 +2,15 @@ rm -fr INPUT RESTART UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -25,18 +25,18 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . fi diff --git a/tests/fv3_conf/ccpp_gfs_v15_run.IN b/tests/fv3_conf/ccpp_gfs_v15_run.IN index 60ef814d81..6318e9b7b6 100644 --- a/tests/fv3_conf/ccpp_gfs_v15_run.IN +++ b/tests/fv3_conf/ccpp_gfs_v15_run.IN @@ -1,23 +1,23 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . if [ $DO_RRTMGP = .T. ]; then -cp @[RTPWD]/FV3_input_data_RRTMGP/* . +cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* . fi diff --git a/tests/fv3_conf/ccpp_gfs_v16_flake_run.IN b/tests/fv3_conf/ccpp_gfs_v16_flake_run.IN index 51f7d30111..3e57770190 100644 --- a/tests/fv3_conf/ccpp_gfs_v16_flake_run.IN +++ b/tests/fv3_conf/ccpp_gfs_v16_flake_run.IN @@ -1,20 +1,20 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . - cp -r @[RTPWD]/FV3_input_data/ORO_FLAKE/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/ORO_FLAKE/* ./INPUT mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data_gsd/field_table_suite2 field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_suite2 field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/ccpp_gfs_v16_run.IN b/tests/fv3_conf/ccpp_gfs_v16_run.IN index f0abc3a3d7..11827cbc9d 100644 --- a/tests/fv3_conf/ccpp_gfs_v16_run.IN +++ b/tests/fv3_conf/ccpp_gfs_v16_run.IN @@ -1,23 +1,23 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data_gsd/field_table_suite2 field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_suite2 field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . if [ $DO_RRTMGP = .T. ]; then -cp @[RTPWD]/FV3_input_data_RRTMGP/* . +cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* . fi diff --git a/tests/fv3_conf/ccpp_gfsv16_csawmg_run.IN b/tests/fv3_conf/ccpp_gfsv16_csawmg_run.IN index fa04661e62..9b380ec48a 100644 --- a/tests/fv3_conf/ccpp_gfsv16_csawmg_run.IN +++ b/tests/fv3_conf/ccpp_gfsv16_csawmg_run.IN @@ -1,32 +1,32 @@ if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -#cp @[RTPWD]/FV3_input_data/diag_table_mgrs diag_table -cp @[RTPWD]/FV3_input_data/diag_table_aod diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgrs field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmgshoc field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +#cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgrs diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_aod diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgrs field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmgshoc field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/ccpp_gocart.IN b/tests/fv3_conf/ccpp_gocart.IN index bdfee0e350..6b65e20ee2 100644 --- a/tests/fv3_conf/ccpp_gocart.IN +++ b/tests/fv3_conf/ccpp_gocart.IN @@ -1,31 +1,31 @@ if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -#cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -#cp @[RTPWD]/FV3_input_data/diag_table_gocart diag_table -cp @[RTPWD]/FV3_input_data/diag_table_aod diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +#cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gocart diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_aod diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/ccpp_gsd_run.IN b/tests/fv3_conf/ccpp_gsd_run.IN index c05a9202fc..f76b4843bb 100644 --- a/tests/fv3_conf/ccpp_gsd_run.IN +++ b/tests/fv3_conf/ccpp_gsd_run.IN @@ -1,31 +1,31 @@ rm -fr INPUT RESTART mkdir INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/ else - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/ - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/ - cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/ + cp -r @[INPUTDATA_ROOT]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/ cp ../fv3_ccpp_gsd_coldstart${RT_SUFFIX}/RESTART/* INPUT/ fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . # Copy diag table file depending on LSM if [ $LSM = 1 ] || [ $LSM = 2 ]; then - cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gsd_noah diag_table elif [ $LSM = 3 ]; then if [ $LDIAG3D = .T. ] && [ $QDIAG3D = .T. ]; then - cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_ruc_diag3d diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gsd_ruc_diag3d diag_table else - cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_ruc diag_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/diag_table_gsd_ruc diag_table fi fi @@ -33,39 +33,39 @@ fi if [ $IMP_PHYSICS = 8 ]; then if [ $LTAEROSOL = .T. ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then - cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gsd field_table else - cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_gf_thompson field_table fi else if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)" exit 1 else - cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_thompson_noaero field_table fi fi elif [ $IMP_PHYSICS = 11 ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then - cp @[RTPWD]/FV3_input_data_gsd/field_table_suite2 field_table + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_suite2 field_table else - cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table + cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table fi else echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}" exit 1 fi -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . # Thompson MP lookup tables - copy standard and SIONlib tables of precomputed tables if [ $IMP_PHYSICS = 8 ]; then - cp @[RTPWD]/FV3_input_data_gsd/thompson_tables_precomp.sl . - cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat . - cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat . - cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat . - cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/thompson_tables_precomp.sl . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qs.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qg.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat . + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . fi if [ $GWD_OPT = 3 ] || [ $GWD_OPT = 33 ] || [ $GWD_OPT = 2 ] || [ $GWD_OPT = 22 ]; then - cp @[RTPWD]/FV3_input_data_gsd/drag_suite/* INPUT/ + cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/drag_suite/* INPUT/ fi diff --git a/tests/fv3_conf/ccpp_gsd_sar_run.IN b/tests/fv3_conf/ccpp_gsd_sar_run.IN index 64d557e6ed..8a434bccc6 100644 --- a/tests/fv3_conf/ccpp_gsd_sar_run.IN +++ b/tests/fv3_conf/ccpp_gsd_sar_run.IN @@ -1,25 +1,25 @@ rm -fr INPUT RESTART mkdir INPUT RESTART -cp @[RTPWD]/FV3_input_data_sar/INPUT/*.nc INPUT/ +cp @[INPUTDATA_ROOT]/FV3_input_data_sar/INPUT/*.nc INPUT/ -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . # Copy SAR diag and field table files -cp @[RTPWD]/FV3_input_data_sar/diag_table_gsd_sar diag_table -cp @[RTPWD]/FV3_input_data_sar/field_table_gsd_sar field_table +cp @[INPUTDATA_ROOT]/FV3_input_data_sar/diag_table_gsd_sar diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data_sar/field_table_gsd_sar field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . # Thompson MP lookup tables - copy standard and SIONlib tables of precomputed tables -cp @[RTPWD]/FV3_input_data_gsd/thompson_tables_precomp.sl . -cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat . -cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat . -cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat . -cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/thompson_tables_precomp.sl . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qs.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/qr_acr_qg.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/freezeH2O.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . diff --git a/tests/fv3_conf/ccpp_multigases_run.IN b/tests/fv3_conf/ccpp_multigases_run.IN index 696e4929ca..4f85cffe62 100644 --- a/tests/fv3_conf/ccpp_multigases_run.IN +++ b/tests/fv3_conf/ccpp_multigases_run.IN @@ -1,32 +1,32 @@ inputdir=FV3_input_data_149 if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then -cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*configure . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_multi_gases diag_table -cp @[RTPWD]/${inputdir}/field_table_multi_gases field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_multi_gases diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_multi_gases field_table if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . fi diff --git a/tests/fv3_conf/ccpp_regional_c786_run.IN b/tests/fv3_conf/ccpp_regional_c786_run.IN index e64bf4e9ad..e450d34003 100644 --- a/tests/fv3_conf/ccpp_regional_c786_run.IN +++ b/tests/fv3_conf/ccpp_regional_c786_run.IN @@ -1,9 +1,9 @@ -rsync -arv @[RTPWD]/FV3_regional_input_data/. . +rsync -arv @[INPUTDATA_ROOT]/FV3_regional_input_data/. . rm -rf INPUT RESTART mkdir INPUT RESTART -rsync -arv @[RTPWD]/@[INPUT_DIR]/INPUT/. INPUT/. +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/INPUT/. INPUT/. if [ $WARM_START = .T. ]; then cp ../fv3_ccpp_regional_control${RT_SUFFIX}/RESTART/20181015.120000.coupler.res INPUT/coupler.res @@ -16,10 +16,10 @@ if [ $WARM_START = .T. ]; then fi if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then - cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . + cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi diff --git a/tests/fv3_conf/ccpp_regional_run.IN b/tests/fv3_conf/ccpp_regional_run.IN index b0e320cd19..3188c78028 100644 --- a/tests/fv3_conf/ccpp_regional_run.IN +++ b/tests/fv3_conf/ccpp_regional_run.IN @@ -1,10 +1,10 @@ -rsync -arv @[RTPWD]/FV3_regional_input_data/. . -rsync -arv @[RTPWD]/@[INPUT_DIR]/model_configure . +rsync -arv @[INPUTDATA_ROOT]/FV3_regional_input_data/. . +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/model_configure . rm -rf INPUT RESTART mkdir INPUT RESTART -rsync -arv @[RTPWD]/@[INPUT_DIR]/INPUT/. INPUT/. +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/INPUT/. INPUT/. if [ $WARM_START = .T. ]; then cp ../fv3_ccpp_regional_control${RT_SUFFIX}/RESTART/20181015.120000.coupler.res INPUT/coupler.res @@ -16,15 +16,15 @@ if [ $WARM_START = .T. ]; then cp ../fv3_ccpp_regional_control${RT_SUFFIX}/RESTART/20181015.120000.sfc_data.nc INPUT/sfc_data.nc fi if [ $WRITE_RESTART_WITH_BCS = .true. ]; then - cp @[RTPWD]/fv3_regional_control/RESTART/fv_core.res.tile1_new.nc RESTART/fv_core.res.tile1_new.nc - cp @[RTPWD]/fv3_regional_control/RESTART/fv_tracer.res.tile1_new.nc RESTART/fv_tracer.res.tile1_new.nc + cp @[INPUTDATA_ROOT]/fv3_regional_control/RESTART/fv_core.res.tile1_new.nc RESTART/fv_core.res.tile1_new.nc + cp @[INPUTDATA_ROOT]/fv3_regional_control/RESTART/fv_tracer.res.tile1_new.nc RESTART/fv_tracer.res.tile1_new.nc fi if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then - cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . + cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi diff --git a/tests/fv3_conf/ccpp_satmedmf_run.IN b/tests/fv3_conf/ccpp_satmedmf_run.IN index 2dec496749..ecd6c52c93 100644 --- a/tests/fv3_conf/ccpp_satmedmf_run.IN +++ b/tests/fv3_conf/ccpp_satmedmf_run.IN @@ -12,15 +12,15 @@ elif [ $NPX = 769 ]; then fi echo "inputdir=$inputdir,NPX=$NPX" if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT else - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -35,12 +35,12 @@ else fi fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/field_table_satmedmf field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_satmedmf field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/ccpp_stretched_run.IN b/tests/fv3_conf/ccpp_stretched_run.IN index cd22eb7db4..143b5e29e1 100644 --- a/tests/fv3_conf/ccpp_stretched_run.IN +++ b/tests/fv3_conf/ccpp_stretched_run.IN @@ -1,4 +1,4 @@ -rsync -arv @[RTPWD]/FV3_nest_input_data/. . +rsync -arv @[INPUTDATA_ROOT]/FV3_nest_input_data/. . rm -rf INPUT RESTART mkdir INPUT RESTART @@ -9,9 +9,9 @@ mkdir INPUT RESTART # see ccpp_regional_run.IN for a working example # if this is needed in the future (not needed now) #if [ $WARM_START = .F. ]; then -# rsync -arv @[RTPWD]/@[CNTL_DIR]/INPUT/. INPUT/. +# rsync -arv @[INPUTDATA_ROOT]/@[CNTL_DIR]/INPUT/. INPUT/. #else -# rsync -arv @[RTPWD]/@[CNTL_DIR]/RESTART/. INPUT/. +# rsync -arv @[INPUTDATA_ROOT]/@[CNTL_DIR]/RESTART/. INPUT/. #fi -rsync -arv @[RTPWD]/@[INPUT_DIR]/INPUT/. INPUT/. +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/INPUT/. INPUT/. # *DH 20190528 diff --git a/tests/fv3_conf/cpld_bmark_run.IN b/tests/fv3_conf/cpld_bmark_run.IN index b144f54c28..1e790bdbb2 100644 --- a/tests/fv3_conf/cpld_bmark_run.IN +++ b/tests/fv3_conf/cpld_bmark_run.IN @@ -15,46 +15,46 @@ CICE_IC=${BM_IC}/cpc WW3_IC=${BM_IC}/ww3 # FV3 fixed input -cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_bm2/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${FV3_DIR}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then - cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 . + cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/global_o3prdlos.f77 . fi -cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${FV3_DIR}/*grb . -cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table -cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT -cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT -cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT -cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc -cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${FV3_DIR}/*grb . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/@[FIELD_TABLE] ./field_table +cp @[INPUTDATA_ROOT]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT # MOM6 fixed input -cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX/@[OCNRES]/* ./INPUT # CICE fixed input -cp @[RTPWD]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . # WW3 fix/input if [[ $CPLWAV == .T. && $CPLWAV2ATM == .T. ]]; then - cp @[RTPWD]/WW3_input_data/mod_def.* . + cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . if [[ $RT35D == .T. ]]; then - cp @[RTPWD]/WW3_input_data/ww3_multi_35d.inp ww3_multi.inp - cp @[RTPWD]/${WW3_IC}/*.000000.restart.gwes_30m ./restart.gwes_30m + cp @[INPUTDATA_ROOT]/WW3_input_data/ww3_multi_35d.inp ww3_multi.inp + cp @[INPUTDATA_ROOT]/${WW3_IC}/*.000000.restart.gwes_30m ./restart.gwes_30m else - cp @[RTPWD]/WW3_input_data/ww3_multi.inp . + cp @[INPUTDATA_ROOT]/WW3_input_data/ww3_multi.inp . fi fi # ICs -cp @[RTPWD]/${FV3_IC}/sfc_data*.nc ./INPUT -cp @[RTPWD]/${FV3_IC}/gfs_data*.nc ./INPUT -cp @[RTPWD]/${MOM6_IC}/MOM*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_IC}/sfc_data*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_IC}/gfs_data*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${MOM6_IC}/MOM*.nc ./INPUT # the BM ICs are still named cice5 and need to remain so until P5.0 is completed -cp @[RTPWD]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc +cp @[INPUTDATA_ROOT]/${CICE_IC}/cice5_model_@[ICERES].*.nc ./cice_model.res.nc diff --git a/tests/fv3_conf/cpld_control_run.IN b/tests/fv3_conf/cpld_control_run.IN index ee49c1dacf..35c4e42d73 100644 --- a/tests/fv3_conf/cpld_control_run.IN +++ b/tests/fv3_conf/cpld_control_run.IN @@ -9,48 +9,48 @@ fi ICERES="${OCNRES:0:1}.${OCNRES:1}" # FV3 fixed input -cp @[RTPWD]/${FV3_DIR}/INPUT/aerosol.dat . -cp @[RTPWD]/${FV3_DIR}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${FV3_DIR}/ozprdlos_2015_new_sbuv03_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${FV3_DIR}/ozprdlos_2015_new_sbuv03_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then - cp @[RTPWD]/${FV3_DIR}/INPUT/global_o3prdlos.f77 . + cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/global_o3prdlos.f77 . fi -cp @[RTPWD]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${FV3_DIR}/*grb . -cp @[RTPWD]/${FV3_DIR}/@[FIELD_TABLE] ./field_table -cp @[RTPWD]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT -cp @[RTPWD]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${FV3_DIR}/*grb . +cp @[INPUTDATA_ROOT]/${FV3_DIR}/@[FIELD_TABLE] ./field_table +cp @[INPUTDATA_ROOT]/CPL_FIX/a@[ATMRES]o@[OCNRES]/grid_spec.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/@[ATMRES]_grid*.nc ./INPUT if [ ${FRAC_GRID_INPUT} = .F. ]; then - cp @[RTPWD]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/oro_data*.nc ./INPUT else - cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/oro_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/oro_data*.nc ./INPUT fi -cp @[RTPWD]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc -cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/grid_spec.nc ./INPUT/@[ATMRES]_mosaic.nc +cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/gfs_ctrl.nc ./INPUT # MOM6 fixed input -cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX/@[OCNRES]/* ./INPUT # CICE fixed input -cp @[RTPWD]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . # No restart if [ $WARM_START = .F. ]; then # ICs if [ ${FRAC_GRID_INPUT} = .F. ]; then - cp @[RTPWD]/${FV3_DIR}/INPUT/sfc_data*.nc ./INPUT - cp @[RTPWD]/${FV3_DIR}/INPUT/gfs_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/sfc_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT/gfs_data*.nc ./INPUT else - cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/sfc_data*.nc ./INPUT - cp @[RTPWD]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/gfs_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/sfc_data*.nc ./INPUT + cp @[INPUTDATA_ROOT]/FV3_input_frac/@[ATMRES].mx@[OCNRES]_frac/gfs_data*.nc ./INPUT fi - cp @[RTPWD]/MOM6_IC/MOM*.nc ./INPUT - cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].res_2016100300.nc ./cice_model.res.nc + cp @[INPUTDATA_ROOT]/MOM6_IC/MOM*.nc ./INPUT + cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].res_2016100300.nc ./cice_model.res.nc # Restart else diff --git a/tests/fv3_conf/cpld_datm_cfsr.IN b/tests/fv3_conf/cpld_datm_cfsr.IN index 9b0b6b3402..65bbf8ea0d 100644 --- a/tests/fv3_conf/cpld_datm_cfsr.IN +++ b/tests/fv3_conf/cpld_datm_cfsr.IN @@ -4,23 +4,23 @@ export DATM=true # FV3 fixed input export IATM=1760 export JATM=880 -cp @[RTPWD]/DATM/cfsr.SCRIP.nc DATM_INPUT -ln -s @[RTPWD]/DATM/CFSR/201110/* DATM_INPUT +cp @[INPUTDATA_ROOT]/DATM/cfsr.SCRIP.nc DATM_INPUT +ln -s @[INPUTDATA_ROOT]/DATM/CFSR/201110/* DATM_INPUT # MOM6 fixed input -cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT -cp @[RTPWD]/MOM6_FIX_DATM/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX_DATM/@[OCNRES]/* ./INPUT # CICE fixed input -cp @[RTPWD]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . if [[ $OCNRES == '025' ]]; then - cp @[RTPWD]/MOM6_IC/@[OCNRES]/2011100100/MOM*.nc ./INPUT - cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc + cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/MOM*.nc ./INPUT + cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc else - cp @[RTPWD]/MOM6_IC/@[OCNRES]/2011100100/MOM6_IC_TS*.nc ./INPUT/MOM6_IC_TS.nc - cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc + cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/MOM6_IC_TS*.nc ./INPUT/MOM6_IC_TS.nc + cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc fi diff --git a/tests/fv3_conf/cpld_datm_gefs.IN b/tests/fv3_conf/cpld_datm_gefs.IN index a1dc1ec762..2bf93b5a5f 100644 --- a/tests/fv3_conf/cpld_datm_gefs.IN +++ b/tests/fv3_conf/cpld_datm_gefs.IN @@ -2,23 +2,23 @@ mkdir INPUT DATM_INPUT RESTART history MOM6_OUTPUT export DATM=true # FV3 fixed input -cp @[RTPWD]/DATM/gefs.SCRIP.nc DATM_INPUT -ln -s @[RTPWD]/DATM/GEFS/201110/* DATM_INPUT +cp @[INPUTDATA_ROOT]/DATM/gefs.SCRIP.nc DATM_INPUT +ln -s @[INPUTDATA_ROOT]/DATM/GEFS/201110/* DATM_INPUT # MOM6 fixed input -cp @[RTPWD]/MOM6_FIX/@[OCNRES]/* ./INPUT -cp @[RTPWD]/MOM6_FIX_DATM/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX/@[OCNRES]/* ./INPUT +cp @[INPUTDATA_ROOT]/MOM6_FIX_DATM/@[OCNRES]/* ./INPUT # CICE fixed input -cp @[RTPWD]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . -cp @[RTPWD]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/grid_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/kmtu_cice_NEMS_mx@[OCNRES].nc . +cp @[INPUTDATA_ROOT]/CICE_FIX/@[OCNRES]/mesh.mx@[OCNRES].nc . if [[ $OCNRES == '025' ]]; then - cp @[RTPWD]/MOM6_IC/@[OCNRES]/2011100100/MOM*.nc ./INPUT - cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc + cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/MOM*.nc ./INPUT + cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc else - cp @[RTPWD]/MOM6_IC/@[OCNRES]/2011100100/MOM6_IC_TS*.nc ./INPUT/MOM6_IC_TS.nc - cp @[RTPWD]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc + cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/MOM6_IC_TS*.nc ./INPUT/MOM6_IC_TS.nc + cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc*.nc cice_model.res.nc fi diff --git a/tests/fv3_conf/cpt_run.IN b/tests/fv3_conf/cpt_run.IN index 253ad70d04..fea2ec1f58 100644 --- a/tests/fv3_conf/cpt_run.IN +++ b/tests/fv3_conf/cpt_run.IN @@ -1,19 +1,19 @@ inputdir=FV3_input_data_127 if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table -cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/csawmg3shoc127_run.IN b/tests/fv3_conf/csawmg3shoc127_run.IN index 25df5c7c22..c9b60d7a1f 100644 --- a/tests/fv3_conf/csawmg3shoc127_run.IN +++ b/tests/fv3_conf/csawmg3shoc127_run.IN @@ -2,14 +2,14 @@ inputdir=FV3_input_data_127 UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT else - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -24,14 +24,14 @@ else fi fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_mg3tke diag_table -cp @[RTPWD]/${inputdir}/field_table_csawmg3shoc field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_mg3tke diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_csawmg3shoc field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/csawmg_run.IN b/tests/fv3_conf/csawmg_run.IN index 018dbe96bc..3440732bd7 100644 --- a/tests/fv3_conf/csawmg_run.IN +++ b/tests/fv3_conf/csawmg_run.IN @@ -1,14 +1,14 @@ UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -23,26 +23,26 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_mgrs diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgrs field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmg field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgrs diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgrs field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmg field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/csawmgshoc_run.IN b/tests/fv3_conf/csawmgshoc_run.IN index fe946b315d..60b20c5336 100644 --- a/tests/fv3_conf/csawmgshoc_run.IN +++ b/tests/fv3_conf/csawmgshoc_run.IN @@ -1,14 +1,14 @@ UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -23,15 +23,15 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_mgtkers diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgtkers field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmgshoc field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgtkers diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgtkers field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmgshoc field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/fv3_gocart.IN b/tests/fv3_conf/fv3_gocart.IN index d8314e7525..0560dd2350 100644 --- a/tests/fv3_conf/fv3_gocart.IN +++ b/tests/fv3_conf/fv3_gocart.IN @@ -1,35 +1,35 @@ if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -##cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data/diag_table_aod diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +##cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_aod diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . fi diff --git a/tests/fv3_conf/fv3_regional_run.IN b/tests/fv3_conf/fv3_regional_run.IN index a451f00307..cd2d7cd3a7 100644 --- a/tests/fv3_conf/fv3_regional_run.IN +++ b/tests/fv3_conf/fv3_regional_run.IN @@ -1,11 +1,11 @@ -rsync -arv @[RTPWD]/FV3_regional_input_data/. . -rsync -arv @[RTPWD]/@[INPUT_DIR]/model_configure . +rsync -arv @[INPUTDATA_ROOT]/FV3_regional_input_data/. . +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/model_configure . rm -rf INPUT RESTART mkdir INPUT RESTART -rsync -arv @[RTPWD]/@[INPUT_DIR]/INPUT/. INPUT/. +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/INPUT/. INPUT/. if [ $WARM_START = .T. ]; then cp ../fv3_regional_control${RT_SUFFIX}/RESTART/20181015.120000.coupler.res INPUT/coupler.res diff --git a/tests/fv3_conf/fv3_run.IN b/tests/fv3_conf/fv3_run.IN index dc1c687565..18d390d7a0 100644 --- a/tests/fv3_conf/fv3_run.IN +++ b/tests/fv3_conf/fv3_run.IN @@ -12,15 +12,15 @@ echo "inputdir=$inputdir,NPX=$NPX" UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT else - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -35,24 +35,24 @@ else fi fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then -cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . fi diff --git a/tests/fv3_conf/fv3_stretched_run.IN b/tests/fv3_conf/fv3_stretched_run.IN index ffec0d14e8..b225cf6707 100644 --- a/tests/fv3_conf/fv3_stretched_run.IN +++ b/tests/fv3_conf/fv3_stretched_run.IN @@ -1,5 +1,5 @@ -rsync -arv @[RTPWD]/FV3_nest_input_data/. . +rsync -arv @[INPUTDATA_ROOT]/FV3_nest_input_data/. . rm -rf INPUT RESTART mkdir INPUT RESTART @@ -10,9 +10,9 @@ mkdir INPUT RESTART # see fv3_regional_run.IN for a working example # if this is needed in the future (not needed now) #if [ $WARM_START = .F. ]; then -# rsync -arv @[RTPWD]/@[CNTL_DIR]/INPUT/. INPUT/. +# rsync -arv @[INPUTDATA_ROOT]/@[CNTL_DIR]/INPUT/. INPUT/. #else -# rsync -arv @[RTPWD]/@[CNTL_DIR]/RESTART/. INPUT/. +# rsync -arv @[INPUTDATA_ROOT]/@[CNTL_DIR]/RESTART/. INPUT/. #fi -rsync -arv @[RTPWD]/@[INPUT_DIR]/INPUT/. INPUT/. +rsync -arv @[INPUTDATA_ROOT]/@[INPUT_DIR]/INPUT/. INPUT/. # *DH 20190528 diff --git a/tests/fv3_conf/gfdlmp_run.IN b/tests/fv3_conf/gfdlmp_run.IN index 28b21030e8..9e499066f9 100644 --- a/tests/fv3_conf/gfdlmp_run.IN +++ b/tests/fv3_conf/gfdlmp_run.IN @@ -1,15 +1,15 @@ UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -24,18 +24,18 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . fi diff --git a/tests/fv3_conf/gfs_v15_run.IN b/tests/fv3_conf/gfs_v15_run.IN index c21f88d948..79e9537fc2 100644 --- a/tests/fv3_conf/gfs_v15_run.IN +++ b/tests/fv3_conf/gfs_v15_run.IN @@ -1,19 +1,19 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data/field_table_gfdlmp field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_gfdlmp field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/gfs_v16_run.IN b/tests/fv3_conf/gfs_v16_run.IN index ac23e518f4..a9210d2c39 100644 --- a/tests/fv3_conf/gfs_v16_run.IN +++ b/tests/fv3_conf/gfs_v16_run.IN @@ -1,19 +1,19 @@ rm -fr INPUT RESTART if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_gfdlmp diag_table -cp @[RTPWD]/FV3_input_data_gsd/field_table_suite2 field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_gfdlmp diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data_gsd/field_table_suite2 field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/gfsv16_csawmg_run.IN b/tests/fv3_conf/gfsv16_csawmg_run.IN index fa04661e62..9b380ec48a 100644 --- a/tests/fv3_conf/gfsv16_csawmg_run.IN +++ b/tests/fv3_conf/gfsv16_csawmg_run.IN @@ -1,32 +1,32 @@ if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -#cp @[RTPWD]/FV3_input_data/diag_table_mgrs diag_table -cp @[RTPWD]/FV3_input_data/diag_table_aod diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgrs field_table -cp @[RTPWD]/FV3_input_data/field_table_csawmgshoc field_table -cp @[RTPWD]/FV3_input_data/*configure . -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +#cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgrs diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_aod diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgrs field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_csawmgshoc field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/MERRA2/merra2C.aerclim.2003-2014.*nc . for n in 01 02 03 04 05 06 07 08 09 10 11 12; do ln -sf merra2C.aerclim.2003-2014.m${n}.nc aeroclim.m${n}.nc done -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat -cp @[RTPWD]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NAAI_monclimo2.nc cam5_4_143_NAAI_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/mg2_IN_CCN/cam5_4_143_NPCCN_monclimo2.nc cam5_4_143_NPCCN_monclimo2.nc +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_BC.v1_3.dat optics_BC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_OC.v1_3.dat optics_OC.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_DU.v15_3.dat optics_DU.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SS.v3_3.dat optics_SS.dat +cp @[INPUTDATA_ROOT]/FV3_input_data_INCCN_aeroclim/aer_data/LUTS/optics_SU.v1_3.dat optics_SU.dat diff --git a/tests/fv3_conf/multigases_run.IN b/tests/fv3_conf/multigases_run.IN index 696e4929ca..4f85cffe62 100644 --- a/tests/fv3_conf/multigases_run.IN +++ b/tests/fv3_conf/multigases_run.IN @@ -1,32 +1,32 @@ inputdir=FV3_input_data_149 if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . if [ $OZ_PHYS_NEW = .T. ]; then - cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 + cp @[INPUTDATA_ROOT]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then -cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then - cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 + cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*configure . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/diag_table_multi_gases diag_table -cp @[RTPWD]/${inputdir}/field_table_multi_gases field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/diag_table_multi_gases diag_table +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_multi_gases field_table if [ $CPLWAV = .T. ]; then -cp @[RTPWD]/WW3_input_data/mod_def.* . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . -cp @[RTPWD]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . +cp @[INPUTDATA_ROOT]/WW3_input_data/mod_def.* . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/ww3_multi.inp . +cp @[INPUTDATA_ROOT]/WW3_input_data/@[SYEAR]@[SMONTH]@[SDAY]/rmp_src* . fi diff --git a/tests/fv3_conf/rasmgshoc_run.IN b/tests/fv3_conf/rasmgshoc_run.IN index faf6b58b3b..1e0fc42274 100644 --- a/tests/fv3_conf/rasmgshoc_run.IN +++ b/tests/fv3_conf/rasmgshoc_run.IN @@ -1,20 +1,20 @@ if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 -cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_mgtkers diag_table -#cp @[RTPWD]/FV3_input_data/field_table_mgtkers field_table -cp @[RTPWD]/FV3_input_data/field_table_rasmgshoc field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_mgtkers diag_table +#cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_mgtkers field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_rasmgshoc field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/satmedmf_run.IN b/tests/fv3_conf/satmedmf_run.IN index 7e6e9b7072..566667e696 100644 --- a/tests/fv3_conf/satmedmf_run.IN +++ b/tests/fv3_conf/satmedmf_run.IN @@ -12,15 +12,15 @@ echo "inputdir=$inputdir,NPX=$NPX" UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/${inputdir}/INPUT . + cp -r @[INPUTDATA_ROOT]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT else - cp -r @[RTPWD]/${inputdir}/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/${inputdir}/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -35,12 +35,12 @@ else fi fi -cp @[RTPWD]/${inputdir}/INPUT/aerosol.dat . -cp @[RTPWD]/${inputdir}/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/${inputdir}/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/${inputdir}/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/${inputdir}/*grb . -cp @[RTPWD]/${inputdir}/*_table . -cp @[RTPWD]/${inputdir}/field_table_satmedmf field_table -cp @[RTPWD]/${inputdir}/*configure . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/${inputdir}/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/${inputdir}/*grb . +cp @[INPUTDATA_ROOT]/${inputdir}/*_table . +cp @[INPUTDATA_ROOT]/${inputdir}/field_table_satmedmf field_table +cp @[INPUTDATA_ROOT]/${inputdir}/*configure . diff --git a/tests/fv3_conf/thompson_run.IN b/tests/fv3_conf/thompson_run.IN index e8a708dcc4..fa7fdca24f 100644 --- a/tests/fv3_conf/thompson_run.IN +++ b/tests/fv3_conf/thompson_run.IN @@ -1,15 +1,15 @@ UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -24,14 +24,14 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/qr_acr_q* . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_thompson diag_table -cp @[RTPWD]/FV3_input_data/field_table_thompson field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/qr_acr_q* . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_thompson diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_thompson field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/fv3_conf/wsm6_run.IN b/tests/fv3_conf/wsm6_run.IN index ee394da687..9f6f1065e2 100644 --- a/tests/fv3_conf/wsm6_run.IN +++ b/tests/fv3_conf/wsm6_run.IN @@ -1,14 +1,14 @@ UNIT_TEST=${UNIT_TEST:-false} if [ $WARM_START = .F. ]; then - cp -r @[RTPWD]/FV3_input_data/INPUT . + cp -r @[INPUTDATA_ROOT]/FV3_input_data/INPUT . mkdir RESTART else mkdir INPUT RESTART if [[ ${UNIT_TEST} == false ]]; then - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT else - cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT + cp -r @[INPUTDATA_ROOT]/FV3_input_data/RESTART/* ./INPUT rm -f INPUT/fv_core.res.* rm -f INPUT/fv_srf_wnd.res.* rm -f INPUT/fv_tracer.res.* @@ -23,13 +23,13 @@ else fi fi -cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . -cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . -cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . -cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . -cp @[RTPWD]/FV3_input_data/INPUT/global_o3prdlos.f77 . -cp @[RTPWD]/FV3_input_data/*grb . -cp @[RTPWD]/FV3_input_data/*_table . -cp @[RTPWD]/FV3_input_data/diag_table_wsm6 diag_table -cp @[RTPWD]/FV3_input_data/field_table_wsm6 field_table -cp @[RTPWD]/FV3_input_data/*configure . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/aerosol.dat . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/co2historicaldata_201*.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . +cp @[INPUTDATA_ROOT]/FV3_input_data/INPUT/global_o3prdlos.f77 . +cp @[INPUTDATA_ROOT]/FV3_input_data/*grb . +cp @[INPUTDATA_ROOT]/FV3_input_data/*_table . +cp @[INPUTDATA_ROOT]/FV3_input_data/diag_table_wsm6 diag_table +cp @[INPUTDATA_ROOT]/FV3_input_data/field_table_wsm6 field_table +cp @[INPUTDATA_ROOT]/FV3_input_data/*configure . diff --git a/tests/rt.sh b/tests/rt.sh index 5b10979d1a..a6fca3f092 100755 --- a/tests/rt.sh +++ b/tests/rt.sh @@ -401,6 +401,8 @@ else RTPWD=${RTPWD:-$DISKNM/NEMSfv3gfs/develop-20201127} fi +INPUTDATA_ROOT=${INPUTDATA_ROOT:-$DISKNM/NEMSfv3gfs/input-data-20201201/} + shift $((OPTIND-1)) [[ $# -gt 1 ]] && usage @@ -410,43 +412,6 @@ if [[ $CREATE_BASELINE == true ]]; then # rm -rf "${NEW_BASELINE}" mkdir -p "${NEW_BASELINE}" - echo "copy baseline inputs from: ${RTPWD}" - echo " to: ${NEW_BASELINE}" - - rsync -a "${RTPWD}"/FV3_* "${NEW_BASELINE}"/ - rsync -a "${RTPWD}"/WW3_* "${NEW_BASELINE}"/ - rsync -a "${RTPWD}"/DATM* "${NEW_BASELINE}"/ - - # FIXME: S2S baselines are only available on these machines with Intel - if [[ $MACHINE_ID = hera.intel ]] || [[ $MACHINE_ID = orion.intel ]] || [[ $MACHINE_ID = cheyenne.intel ]] || [[ $MACHINE_ID = gaea.intel ]] || [[ $MACHINE_ID = wcoss_dell_p3 ]]; then - rsync -a "${RTPWD}"/MOM6_* "${NEW_BASELINE}"/ - rsync -a "${RTPWD}"/CICE_* "${NEW_BASELINE}"/ - rsync -a "${RTPWD}"/CPL_* "${NEW_BASELINE}"/ - rsync -a "${RTPWD}"/BM_* "${NEW_BASELINE}"/ - fi - - # FIXME: move these namelist files to parm directory - rsync -a "${RTPWD}"/fv3_regional_control/input.nml "${NEW_BASELINE}"/fv3_regional_control/ - rsync -a "${RTPWD}"/fv3_regional_quilt/input.nml "${NEW_BASELINE}"/fv3_regional_quilt/ - rsync -a "${RTPWD}"/fv3_regional_c768/input.nml "${NEW_BASELINE}"/fv3_regional_c768/ - rsync -a "${RTPWD}"/fv3_regional_restart/input.nml "${NEW_BASELINE}"/fv3_regional_restart/ - - rsync -a "${RTPWD}"/fv3_regional_control/model_configure "${NEW_BASELINE}"/fv3_regional_control/ - rsync -a "${RTPWD}"/fv3_regional_quilt/model_configure "${NEW_BASELINE}"/fv3_regional_quilt/ - rsync -a "${RTPWD}"/fv3_regional_c768/model_configure "${NEW_BASELINE}"/fv3_regional_c768/ - rsync -a "${RTPWD}"/fv3_regional_restart/model_configure "${NEW_BASELINE}"/fv3_regional_restart/ - rsync -a "${RTPWD}"/fv3_regional_quilt_netcdf_parallel/model_configure "${NEW_BASELINE}"/fv3_regional_quilt_netcdf_parallel/ - - rsync -a "${RTPWD}"/fv3_regional_control/INPUT "${NEW_BASELINE}"/fv3_regional_control/ - rsync -a "${RTPWD}"/fv3_regional_control/RESTART "${NEW_BASELINE}"/fv3_regional_control/ - rsync -a "${RTPWD}"/fv3_regional_quilt/INPUT "${NEW_BASELINE}"/fv3_regional_quilt/ - rsync -a "${RTPWD}"/fv3_regional_c768/INPUT "${NEW_BASELINE}"/fv3_regional_c768/ - rsync -a "${RTPWD}"/fv3_regional_restart/INPUT "${NEW_BASELINE}"/fv3_regional_restart/ - rsync -a "${RTPWD}"/fv3_stretched/INPUT "${NEW_BASELINE}"/fv3_stretched/ - rsync -a "${RTPWD}"/fv3_stretched_nest/INPUT "${NEW_BASELINE}"/fv3_stretched_nest/ - rsync -a "${RTPWD}"/fv3_stretched_nest_quilt/INPUT "${NEW_BASELINE}"/fv3_stretched_nest_quilt/ - rsync -a "${RTPWD}"/fv3_stretched_nest_debug/INPUT "${NEW_BASELINE}"/fv3_stretched_nest_debug/ - rsync -a "${RTPWD}"/fv3_regional_quilt_netcdf_parallel/INPUT "${NEW_BASELINE}"/fv3_regional_quilt_netcdf_parallel/ fi COMPILE_LOG=${PATHRT}/Compile_$MACHINE_ID.log @@ -506,12 +471,13 @@ if [[ $ROCOTO == true ]]; then - - - - - + + + + + + + ]> 197001010000 197001010000 01:00:00 @@ -680,6 +646,7 @@ EOF export MACHINE_ID=${MACHINE_ID} export RT_COMPILER=${RT_COMPILER} export RTPWD=${RTPWD} + export INPUTDATA_ROOT=${INPUTDATA_ROOT} export PATHRT=${PATHRT} export PATHTR=${PATHTR} export NEW_BASELINE=${NEW_BASELINE} From d7a7ad37e5a82f6fc86fff1f8b9b03115010ca98 Mon Sep 17 00:00:00 2001 From: Dusan Jovic Date: Thu, 3 Dec 2020 21:57:08 +0000 Subject: [PATCH 2/3] Update utest --- tests/utest | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/utest b/tests/utest index fb0c4102b1..a84e7c93e2 100755 --- a/tests/utest +++ b/tests/utest @@ -137,6 +137,7 @@ run_utests() { std_base) CREATE_BASELINE=true RTPWD=$baseline_location + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base cat <<-EOF > ${RUNDIR_ROOT}/unit_test${RT_SUFFIX}.env export UNIT_TEST=true @@ -147,6 +148,7 @@ run_utests() { std) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base cat <<-EOF > ${RUNDIR_ROOT}/unit_test${RT_SUFFIX}.env export UNIT_TEST=true @@ -156,6 +158,7 @@ run_utests() { thr) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base THRD=2 # INPES is sometimes odd, so use JNPES. Make sure JNPES is divisible by THRD @@ -176,6 +179,7 @@ run_utests() { mpi) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base JNPES=$(( JNPES/2 )) WRITE_GROUP=2 @@ -195,6 +199,7 @@ run_utests() { dcp) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base temp=$INPES INPES=$JNPES @@ -209,6 +214,7 @@ run_utests() { rst) # this is not going to work for regional model CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_std_base # Set up date and time of restart files for restart run RESTART_FILE_PREFIX="${SYEAR}${SMONTH}${SDAY}.$(printf "%02d" $(( SHOUR + FHMAX/2 )))0000" @@ -272,6 +278,7 @@ run_utests() { bit_base) CREATE_BASELINE=true RTPWD=$baseline_location + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_bit_base comp_nm=bit cat <<-EOF >${RUNDIR_ROOT}/unit_test${RT_SUFFIX}.env @@ -282,6 +289,7 @@ run_utests() { bit) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_bit_base comp_nm=bit cat <<-EOF >${RUNDIR_ROOT}/unit_test${RT_SUFFIX}.env @@ -292,6 +300,7 @@ run_utests() { dbg_base) CREATE_BASELINE=true RTPWD=$baseline_location + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_dbg_base comp_nm=dbg WLCLK=30 @@ -304,6 +313,7 @@ run_utests() { dbg) CREATE_BASELINE=false RTPWD=$NEW_BASELINE + INPUTDATA_ROOT=$RTPWD BL_SUFFIX=_dbg_base comp_nm=dbg WLCLK=30 @@ -318,6 +328,7 @@ run_utests() { cat <<- EOF > ${RUNDIR_ROOT}/run_test${RT_SUFFIX}.env export MACHINE_ID=${MACHINE_ID} export RTPWD=${RTPWD} + export INPUTDATA_ROOT=${INPUTDATA_ROOT} export PATHRT=${PATHRT} export PATHTR=${PATHTR} export NEW_BASELINE=${NEW_BASELINE} @@ -716,6 +727,7 @@ else baseline_location=$DISKNM/NEMSfv3gfs/develop-20201118 fi RTPWD=$baseline_location +INPUTDATA_ROOT=$RTPWD rm -rf $NEW_BASELINE mkdir -p $NEW_BASELINE From 53080c957faea061dc8804cf1ffec4322ae4182c Mon Sep 17 00:00:00 2001 From: Dusan Jovic Date: Fri, 4 Dec 2020 14:15:14 +0000 Subject: [PATCH 3/3] rt.sh: Remove LOCKDIR before trying to stop ecflow in cleanup() --- tests/rt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rt.sh b/tests/rt.sh index b9ae47fd1a..c59287c440 100755 --- a/tests/rt.sh +++ b/tests/rt.sh @@ -76,8 +76,8 @@ rt_trap() { } cleanup() { - [[ ${ECFLOW:-false} == true ]] && ecflow_stop rm -rf ${LOCKDIR} + [[ ${ECFLOW:-false} == true ]] && ecflow_stop trap 0 exit }