trun_ch.sh - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
 (HTM) git clone git://src.adamsgaard.dk/pism
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       trun_ch.sh (826B)
       ---
            1 #!/bin/bash
            2 # (c) Andy Aschwanden 2018
            3 
            4 myyear=$(date +'%Y')
            5 mymonth=$(date +'%m')
            6 
            7 if [ -z "$1" ]; then
            8     N=4
            9 else
           10     N=$1
           11 fi
           12 
           13 # A simulation with 1K warming over a hundred years, control simulation
           14 odir=${myyear}_${mymonth}_ctrl
           15 ./psg_3d_ch.py  -n $N --spatial_ts default --restart_file 2018_05_spinup/state/storglaciaren_g40m_sb_ssa+sia_climate_init_id_CTRL_0_1000.nc --climate warming --start_year 0 --duration 100 --step 100 --o_dir $odir --exstep monthly
           16 
           17 # A simulation with 1K warming over a hundred years, with cryo-hydrologic warming
           18 odir=${myyear}_${mymonth}_ch
           19 ./psg_3d_ch.py  -n $N --spatial_ts ch --restart_file 2018_05_spinup/state/storglaciaren_g40m_sb_ssa+sia_climate_init_id_CTRL_0_1000.nc --climate warming --cryohydrologic_warming --start_year 0 --duration 100 --step 100 --o_dir $odir --exstep monthly