Back to home page

MITgcm

 
 

    


Warning, /verification/fizhi-cs-32x32x40/input/prepare_run is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
b837625b2f Andr*0001 #! /usr/bin/env bash
                0002 
                0003 #  Figure out which veg file we need (how many tiles)
                0004 #- do a symbolic link in the current directory 
                0005 #   (if the file does not already exist)
                0006   if test ! -r veg19232.data ; then 
                0007    sNx=`cat ../code/SIZE.h | grep 'sNx =' | cut -d= -f2 | cut -d, -f1`
                0008    if test $sNx = '32' ; then 
                0009     vegfile=../input/veg19232.6tile.data
                0010     ln -sf $vegfile veg19232.data
c6a36dcd9b Jean*0011     echo ' using' $vegfile
b837625b2f Andr*0012    elif test $sNx = '16' ; then
                0013     vegfile=../input/veg19232.24tile.data
                0014     ln -sf $vegfile veg19232.data
c6a36dcd9b Jean*0015     echo ' using' $vegfile
b837625b2f Andr*0016    else
                0017     echo 'Error: No veg tile dataset!'
                0018    fi
                0019   fi