/[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.5 by gforget, Wed Jan 5 22:46:42 2011 UTC revision 1.8 by gforget, Tue Dec 2 21:02:22 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/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.'
# Line 64  matlab -nojvm -nodisplay << EOF Line 70  matlab -nojvm -nodisplay << EOF
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    
# Line 81  matlab -nojvm -nodisplay << EOF Line 89  matlab -nojvm -nodisplay << EOF
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;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22