/[MITgcm]/MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh
ViewVC logotype

Diff of /MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh

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

revision 1.7 by gforget, Mon Jul 28 21:44:56 2014 UTC revision 1.9 by gforget, Wed Dec 3 01:22:59 2014 UTC
# Line 28  endif Line 28  endif
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 ''
# Line 47  echo '---- To test run the programs, we Line 49  echo '---- To test run the programs, we
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/ETAN
57    
58    mv mit.ecco-group.org/gforget/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.'
# Line 68  matlab -nojvm -nodisplay << EOF Line 73  matlab -nojvm -nodisplay << EOF
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'));

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22