rm -fr INPUT RESTART if [ $NPX = 97 ]; then inputdir=FV3_input_data elif [ $NPX = 193 ]; then inputdir=FV3_input_data_c192 elif [ $NPX = 385 ]; then inputdir=FV3_input_data_c384 elif [ $NPX = 769 ]; then inputdir=FV3_input_data_c768 fi echo "inputdir=$inputdir,NPX=$NPX" if [ $WARM_START = .F. ]; then cp -r @[RTPWD]/${inputdir}/INPUT . mkdir RESTART else mkdir INPUT RESTART cp -r @[RTPWD]/${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 . if [ $OZ_PHYS_NEW = .T. ]; then cp @[RTPWD]/${inputdir}/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 elif [ $OZ_PHYS_OLD = .T. ]; then cp @[RTPWD]/${inputdir}/INPUT/global_o3prdlos.f77 . fi if [ $H2O_PHYS = .T. ]; then cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 fi cp @[RTPWD]/${inputdir}/*grb . cp @[RTPWD]/${inputdir}/*_table . cp @[RTPWD]/${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* . 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