/[MITgcm]/MITgcm/verification/fizhi-gridalt-hs/input/prepare_run
ViewVC logotype

Contents of /MITgcm/verification/fizhi-gridalt-hs/input/prepare_run

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Fri Jan 12 16:45:04 2007 UTC (17 years, 3 months ago) by molod
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58x_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint58y_post, checkpoint58v_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +2 -2 lines
Get needed files from fizhi 40 level experiment

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/verification/fizhi-gridalt-hs/input/prepare_run,v 1.1 2006/11/23 23:32:36 jmc Exp $
4 # $Name: $
5
6 #- in order to save disc space, take *.bin files
7 #- from this dir:
8 fromDir="../../fizhi-cs-32x32x40/input"
9
10 fileList=`( cd $fromDir ; ls data.gcmo3 TSMo3.v02.gra tile00?.mitgrid )`
11
12 #echo 'fileList=' $fileList
13
14 #- and do a symbolic link in the current directory
15 # (if the file does not already exist)
16 if test -d $fromDir ; then
17 lnkList='files:'
18 for xx in $fileList
19 do
20 if test -r ${fromDir}/$xx ; then
21 if test ! -r $xx ; then
22 lnkList=${lnkList}" "$xx
23 ln -sf ${fromDir}/$xx .
24 fi
25 fi
26 done
27 echo ' link' $lnkList "from dir:" $fromDir
28 else
29 echo " Error:" $fromDir "not a directory"
30 fi

  ViewVC Help
Powered by ViewVC 1.1.22