26 |
endif |
endif |
27 |
|
|
28 |
setenv CVS_RSH ssh |
setenv CVS_RSH ssh |
29 |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -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 -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing |
cvs -Q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d MITprof MITgcm_contrib/gael/profilesMatlabProcessing |
31 |
|
|
32 |
if !( -d gcmfaces) then |
if !( -d gcmfaces) then |
33 |
echo '' |
echo '' |
70 |
cd ..; |
cd ..; |
71 |
|
|
72 |
%test MITprof: |
%test MITprof: |
73 |
is_netcdf_avail=~isempty(which('ncload')); |
is_netcdf_avail=~isempty(which('ncexample'))|~isempty(which('netcdf.create')); |
74 |
%is_netcdf_avail=0; |
is_netcdf_redundant=~isempty(which('ncexample'))&~isempty(which('netcdf.create')); |
75 |
|
if (is_netcdf_redundant); |
76 |
|
fprintf('\n\n!! You have both the old mex/netcdf and the native matlab/netcdf installed.\n'); |
77 |
|
fprintf('!! Since they are conflicting (name clashes) you will likely run into trouble. \n'); |
78 |
|
fprintf('!! You may want to remove the old mex/netcdf stuff from your matlab path.\n\n'); |
79 |
|
end; |
80 |
if ~is_netcdf_avail; |
if ~is_netcdf_avail; |
81 |
fprintf('\n Warning: 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'); |
82 |
else; |
else; |
83 |
cd MITprof; |
cd MITprof; |
84 |
global MITprof_verbose; MITprof_verbose=0; |
global MITprof_verbose; MITprof_verbose=0; |