#!/bin/tcsh # # Purpose # ------- # Set up the CSIRO Mk3L climate system model, in stand-alone # atmosphere mode, coupled to CABLE, to be run on VU. # # Usage # ----- # ./setup_vu_cable # ( followed by # qsub run_vu_cable ) # # History # ------- # 2009 Sep 23 Bernard Pak Original version for VU. # 2009 Dec 16 Bernard Pak Modified for committing to SVN repository # # Note # ---- # *** Remember to check cable_mk3l.nml for output frequency *** # Create a temporary directory, if it doesn't already exist, into which to copy # the model output at the end. Delete the contents if it does already exist. set TMP_DIR = ../../run2/ if (-e $TMP_DIR) /bin/rm $TMP_DIR/* if (! -e $TMP_DIR) mkdir $TMP_DIR # Copy the run script to the run directory cp ./runCNP $TMP_DIR # Copy the model executable to the run directory cp ../bin/model $TMP_DIR # Copy the control file to the run directory cp ../control/input_atm_cable_1yr $TMP_DIR/input # Copy the CABLE control file to the run directory cp ../control/cable_mk3l.nml $TMP_DIR # Copy the restart file to the run directory cp ../data/atmosphere/restart/csiro_rest.start $TMP_DIR/rest.start # Copy the CABLE restart file to the run directory cp ../data/CABLE/restart/csiro_restart_out.nc $TMP_DIR/restart_out.nc # Copy the basic data files to the run directory cp ../data/atmosphere/basic/* $TMP_DIR # Copy the basic CABLE data files to the run directory cp ../data/CABLE/surface_data/* $TMP_DIR # Copy the CO2 radiative data file for 280ppm to the run directory cp ../data/atmosphere/co2/co2_data.280ppm.18l $TMP_DIR/co2_data.18l # Copy the sea surface temperatures to the run directory cp ../data/atmosphere/sst/ssta.nc_default $TMP_DIR/ssta.nc # Copy the ocean currents to the run directory cp ../data/atmosphere/currents/ocuv.nc_default $TMP_DIR/ocuv.nc # Copy the monthly albedo data (if used) to the run directory cp ../data/atmosphere/nsib/albedo.nc $TMP_DIR # Change to the run directory cd $TMP_DIR # Set model year number to 00001 echo '00001' > year