28 |
setenv CVS_RSH ssh |
setenv CVS_RSH ssh |
29 |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d gcmfaces MITgcm_contrib/gael/matlab_class |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d gcmfaces MITgcm_contrib/gael/matlab_class |
30 |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing |
31 |
|
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d GRID MITgcm_contrib/gael/GRID |
32 |
|
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d OCCAetcONv4GRID MITgcm_contrib/gael/OCCAetcONv4GRID |
33 |
|
|
34 |
if !( -d gcmfaces) then |
if !( -d gcmfaces) then |
35 |
echo '' |
echo '' |
49 |
echo '---- This should take a couple minutes.' |
echo '---- This should take a couple minutes.' |
50 |
echo '' |
echo '' |
51 |
|
|
52 |
wget -q http://mitgcm.org/~gforget/sample_input.tar.gz |
mkdir gcmfaces/sample_input |
53 |
gunzip sample_input.tar.gz |
|
54 |
tar xf sample_input.tar |
mv OCCAetcONv4GRID gcmfaces/sample_input/. |
55 |
mv sample_input gcmfaces/. |
|
56 |
rm -f sample_input.tar |
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/THETA |
57 |
|
wget --recursive ftp://mit.ecco-group.org/gforget/nctiles_climatology/ETAN |
58 |
|
|
59 |
|
mv mit.ecco-group.org/gforget/nctiles_climatology gcmfaces/sample_input/. |
60 |
|
rm -rf mit.ecco-group.org |
61 |
|
|
62 |
echo '' |
echo '' |
63 |
echo '---- Now a matlab session will start, and test run the programs.' |
echo '---- Now a matlab session will start, and test run the programs.' |
70 |
|
|
71 |
%test gcmfaces: |
%test gcmfaces: |
72 |
cd gcmfaces; |
cd gcmfaces; |
73 |
global gcmfaces_skipplottest; gcmfaces_skipplottest=1; |
gcmfaces_global; |
74 |
global gcmfaces_verbose; gcmfaces_verbose=0; |
myenv.verbose=1; |
75 |
|
myenv.lessplot=1; |
76 |
|
myenv.lesstest=1; |
77 |
gcmfaces_init; |
gcmfaces_init; |
78 |
cd ..; |
cd ..; |
79 |
|
|
89 |
fprintf('\n !!!! Error: Using MITprof cannot be \n used until you get the netcdf toolbox.\n'); |
fprintf('\n !!!! Error: Using MITprof cannot be \n used until you get the netcdf toolbox.\n'); |
90 |
else; |
else; |
91 |
cd MITprof; |
cd MITprof; |
|
global MITprof_verbose; MITprof_verbose=0; |
|
92 |
profiles_process_init; |
profiles_process_init; |
93 |
cd ..; |
cd ..; |
94 |
end; |
end; |