URI: 
       trun_spinup.sh - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
  HTML git clone git://src.adamsgaard.dk/pism
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
       trun_spinup.sh (670B)
       ---
            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 ./preprocess.sh
           14 
           15 odir=${myyear}_${mymonth}_spinup
           16 
           17 ./psg_3d_ch.py -n $N -b --stress_balance sia --start_year 0 --duration 250 --step 250 --o_dir $odir --exstep 10
           18 
           19 ./psg_3d_ch.py -n $N --restart_file $odir/state/storglaciaren_g40m_sb_ssa+sia_climate_init_id_CTRL_0_250.nc --start_year 0 --duration 1000 --step 1000 --o_dir $odir --exstep 25
           20 
           21 ./psg_3d_ch.py -n $N --restart_file $odir/state/storglaciaren_g40m_sb_ssa+sia_climate_init_id_CTRL_0_1000.nc --climate elev+ftt --start_year 0 --duration 1000 --step 1000 --o_dir $odir --exstep 25