Parent Directory | Revision Log | Revision Graph
use standard CS-32 grid-files (horizGridFile='grid_cs32') and use standard script "prepare_run" (replace IMPORT_INPUT_FILES & SHARE_OCN_GRID)
1 | #! /bin/sh |
2 | |
3 | #-- Used the same grid definition and files than the ocean: |
4 | # copy CS grid-file from ../input_ocn |
5 | # this reduce the disk space required when downloading this set-up |
6 | |
7 | if test $# = 1 |
8 | then |
9 | impDir=$1 |
10 | else |
11 | impDir='../input_ocn' |
12 | fi |
13 | dirAtm=`pwd` |
14 | |
15 | echo 'Import CS-grid files from dir:' $impDir |
16 | |
17 | cd $impDir |
18 | #listF=`ls RA*.bin DX?.bin DY?.bin LON?.bin LAT?.bin` |
19 | listF=`ls *.mitgrid` |
20 | echo ' list of files:' $listF |
21 | |
22 | |
23 | for xx in $listF |
24 | do |
25 | if test -f $dirAtm/$xx |
26 | then echo 'file' $xx 'already exists' |
27 | else echo ' cp ' $xx |
28 | cp -p -i $xx $dirAtm |
29 | fi |
30 | done |
31 | |
32 | cd $dirAtm |
ViewVC Help | |
Powered by ViewVC 1.1.22 |