/[MITgcm]/MITgcm_contrib/gael/comm/course-idma2016/guidelines/iap-idma-instructions
ViewVC logotype

Diff of /MITgcm_contrib/gael/comm/course-idma2016/guidelines/iap-idma-instructions

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

revision 1.1 by gforget, Thu Jan 7 20:23:50 2016 UTC revision 1.4 by gforget, Fri Jan 8 23:25:06 2016 UTC
# Line 1  Line 1 
1    
2  ---- downloading matlab toolboxes ----  ---- downloading matlab toolboxes ----
3    
4  0) login as guest  1) create a directory called `iap-idma' and two subdirectories
5       called `iap-idma/matlab' and `iap-idma/release1'
6    
7  1) open web browser and download setup_gcmfaces_and_mitprof.csh  2) open a web browser and download the following two files:
    from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/  
   
 notes :  
    to download this script: click on the file name, then  
      on the download button near the top of the page  
    if you are using a windows computer then the shell  
      script method wont do it -- see 'alternative download method'  
   
 2) open terminal window and download tooloxes via shell script:  
    csh  
    mkdir iap-idma  
    mv Downloads/setup_gcmfaces_and_mitprof.csh iap-idma/  
    cd iap-idma  
    source ./setup_gcmfaces_and_mitprof.csh  
   
 notes :  
    disk space requirement ~ 800M (plus session specific items)  
    2011 or later matlab version is needed (for native netcdf implementation)  
   
 2') alternative download method:  
    - open a web browser and go to  
8       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_gcmfaces.tar.gz       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_gcmfaces.tar.gz
9       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_MITprof.tar.gz       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_MITprof.tar.gz
10     - move the two downloaded files to your iap-idma directory  
11     - click on each of the two files to unpack c65r_gcmfaces and c65r_MITprof  3) move these two files to the idma directory and uncompress them.
12     - rename c65r_gcmfaces as gcmfaces and c65r_MITprof as MITprof  
13    4) the iap-idma directory should now contain two subdirectories
14       named `c65r_gcmfaces' and `c65r_MITprof'. Rename them simply
15       as `gcmfaces' and `MITprof'
16    
17  notes :  notes :
18     for session 1 you only need MITprof but gcmfaces will come  - disk space requirement ~ 800M (plus session specific items that will be added later)
19        handy later so your might as well download both right away  - 2011 or later matlab version is needed (for native netcdf implementation)
20     the shell script method uses CVS (see http://mitgcm.org/public/using_cvs.html)  - for session 1 you only need MITprof but gcmfaces will come
21        and should be preferred if possible (e.g. under linux or IOS on a MAC)    handy later so your might as well download both right away
       since CVS allows for updates later on.  
22    
23  ---- for session #1 ----  ---- for session #1 ----
24    
25  1,2) same as above (see 'downloading matlab toolboxes')  1) see 'downloading matlab toolboxes'
26    
27  3) download idma_float_plot.m from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/matlab/  2) download idma_float_plot.m, idma_box_subset.m, and idma_box_mean.m from
28         http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/matlab/
29    
30  4) in terminal window  3) move these files to the iap-idma/matlab directory  
    mv ~/Downloads/idma_float_plot.m ~/iap-idma/.  
31    
32  5) download Argo etc  4) using you favorite ftp client (e.g. fetch in iOS, secureFX in MS-windows,
33     cd ~/iap-idma     or wget in LINUX) to download the following directory:
34     mkdir release1        ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1
35     wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1    
36     mv mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1 release1/.  5) move MITprof_release1 to the iap-idma/release1 directory
37    
38  6) start matlab and run idma_float_plot.m  6) start matlab, go to the iap-idma directory, and type:
    matlab  
39     addpath matlab/     addpath matlab/
40     [p]=idma_float_plot('2900828');     [p]=idma_float_plot('4900828');
41       idma_box_subset;
42       idma_box_mean;
43    
44  notes :  notes :
45     disk space requirement ~ 6.4G (plus 0.8G from steps 1,2)  - disk space requirement ~ 6.4G
46     start matlab at command line : matlab -nodesktop  - idma_float_plot.m and idma_box_subset.m both add the
47     idma_float_plot adds the MITprof/ subdirectories to the matlab path    iap-idma/MITprof/ and its subdirectories to the matlab path
48    - idma_box_subset is the most time consuming of the three
49      scripts and may take ~3 minutes
50    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22