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

Annotation of /MITgcm_contrib/gael/setup_gcmfaces_and_mitprof.csh

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


Revision 1.1 - (hide annotations) (download) (as text)
Wed Nov 3 22:27:12 2010 UTC (14 years, 8 months ago) by gforget
Branch: MAIN
File MIME type: application/x-csh
- shell script that sets the gcmfaces and mitprof matlab packages up.

1 gforget 1.1 #!/bin/csh -f
2    
3     echo '----- hello.'
4     echo ''
5     echo '---- the setup of gcmfaces and profilesMatlabProcessing will start'
6     echo '---- by downloading the files from the MITgcm cvs server (in 5 sec)'
7     echo ''
8     sleep 5
9     #echo '---- just type cvsanon as the cvs login password'
10     echo 'type "return"'
11    
12     setenv CVSROOT ":pserver:cvsanon@mitgcm.org:/u/gcmpack"
13     cvs login << EOF
14     cvsanon
15    
16     EOF
17    
18     cvs co -d gcmfaces MITgcm_contrib/gael/matlab_class
19     cvs co -d profilesMatlabProcessing MITgcm_contrib/gael/profilesMatlabProcessing
20    
21     echo ''
22     echo '---- then we will download sample inputs to test run the codes (in 5 sec)'
23     sleep 5
24    
25     wget http://mitgcm.org/~gforget/sample_input.tar.gz
26     gunzip sample_input.tar.gz
27     tar xvf sample_input.tar
28     mv sample_input gcmfaces/.
29     rm -f sample_input.tar
30    
31     echo ''
32     echo '---- Your turn.'
33     echo ''
34     echo '---- To finish the initialization process, start matlab, then'
35     echo '---- (1) type "cd gcmfaces" and "gcmfaces_init"'
36     echo '---- This makes a few demo plots, that you will close afterwards.'
37     echo '---- (2) type "cd ../profilesMatlabProcessing" and "profiles_process_init"'
38     echo '---- This processes sample in-situ data files to the MITprof format.'
39     echo ''
40     echo '---- Once those two programs have run succesfully, you should be all set.'
41     echo ''
42     echo '---- To be able to use the packages in future matlab sessions, you will'
43     echo '---- need the lines that were added to your path during this one.'
44     echo '---- For example, you may want to copy those lines to your startup.m file.'
45    
46     echo ''
47     echo ''
48     echo '---- bye.'
49    
50    

  ViewVC Help
Powered by ViewVC 1.1.22