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/ 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 ../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 . # Copy diag table file depending on LSM if [ $LSM = 1 ]; then cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table elif [ $LSM = 3 ]; then cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_ruc diag_table fi # Copy field table, depending on microphysics choice and whether MYNN/SATMEDMF is used if [ $IMP_PHYSICS = 8 ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table else cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table fi elif [ $IMP_PHYSICS = 11 ]; then if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then cp @[RTPWD]/FV3_input_data_gsd/field_table_suite2 field_table else cp @[RTPWD]/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 . # 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 . fi cp ${PATHRT}/../FV3/ccpp/suites/suite_${CCPP_SUITE}.xml suite_${CCPP_SUITE}.xml # Add path to libccpp.so and libccpphys.so to LD_LIBRARY_PATH, append to module-setup.sh echo " " >> module-setup.sh echo "# Add path to libccpp.so and libccpphys.so to LD_LIBRARY_PATH" echo "export LD_LIBRARY_PATH=${PATHRT}/../FV3/${CCPP_LIB_DIR}:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> module-setup.sh echo " " >> module-setup.sh