/[MITgcm]/MITgcm/verification/cpl_aim+ocn/input_atm/SHARE_OCN_GRID
ViewVC logotype

Contents of /MITgcm/verification/cpl_aim+ocn/input_atm/SHARE_OCN_GRID

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


Revision 1.3 - (show annotations) (download)
Sat Oct 9 20:05:53 2004 UTC (19 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57t_post, checkpoint58l_post, checkpoint57m_post, checkpoint58e_post, checkpoint57v_post, checkpoint57g_pre, checkpoint57f_post, checkpoint57s_post, checkpoint57j_post, checkpoint58b_post, checkpoint57b_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57a_post, checkpoint55j_post, checkpoint56b_post, checkpoint57h_pre, checkpoint57y_post, checkpoint58g_post, checkpoint57x_post, checkpoint55h_post, checkpoint58h_post, checkpoint57e_post, checkpoint56c_post, checkpoint58j_post, checkpoint57h_post, checkpoint57y_pre, checkpoint57c_pre, checkpoint57o_post, checkpoint55g_post, checkpoint57r_post, checkpoint57k_post, checkpoint57d_post, checkpoint55f_post, checkpoint57i_post, checkpoint58, checkpoint57a_pre, checkpoint57, checkpoint56, checkpoint57h_done, checkpoint58f_post, checkpoint58d_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint57z_post, eckpoint57e_pre, checkpoint58c_post, checkpoint58k_post, checkpoint57c_post, checkpoint55i_post, checkpoint57l_post, checkpoint56a_post
Changes since 1.2: +6 -1 lines
works also when ocean grid files are in an other directories than input_ocn

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