Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rt.sh separate input #2

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions tests/fv3_conf/ccpp_c96_HAFS_v0_hwrf_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -54,32 +54,32 @@ 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
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
32 changes: 16 additions & 16 deletions tests/fv3_conf/ccpp_control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand All @@ -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
26 changes: 13 additions & 13 deletions tests/fv3_conf/ccpp_cpt_run.IN
Original file line number Diff line number Diff line change
@@ -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 .
26 changes: 13 additions & 13 deletions tests/fv3_conf/ccpp_csawmg3shoc127_run.IN
Original file line number Diff line number Diff line change
@@ -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 .
46 changes: 23 additions & 23 deletions tests/fv3_conf/ccpp_csawmg_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand All @@ -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
44 changes: 22 additions & 22 deletions tests/fv3_conf/ccpp_csawmgshoc_run.IN
Original file line number Diff line number Diff line change
@@ -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
Loading