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/ecco_for_las/version_4/release1/nctiles_climatology/ETAN |
57 |
|
|
58 |
|
mv mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_climatology gcmfaces/sample_input/. |
59 |
|
rm -rf mit.ecco-group.org |
60 |
|
|
61 |
echo '' |
echo '' |
62 |
echo '---- Now a matlab session will start, and test run the programs.' |
echo '---- Now a matlab session will start, and test run the programs.' |
73 |
myenv.verbose=1; |
myenv.verbose=1; |
74 |
myenv.lessplot=1; |
myenv.lessplot=1; |
75 |
myenv.lesstest=1; |
myenv.lesstest=1; |
|
gcmfaces_init; |
|
76 |
cd ..; |
cd ..; |
77 |
|
|
78 |
|
gcmfaces_init; |
79 |
|
|
80 |
%test MITprof: |
%test MITprof: |
81 |
is_netcdf_avail=~isempty(which('ncexample'))|~isempty(which('netcdf.create')); |
is_netcdf_avail=~isempty(which('ncexample'))|~isempty(which('netcdf.create')); |
82 |
is_netcdf_redundant=~isempty(which('ncexample'))&~isempty(which('netcdf.create')); |
is_netcdf_redundant=~isempty(which('ncexample'))&~isempty(which('netcdf.create')); |
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; |