/[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.2 by gforget, Fri Jan 8 22:50:52 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' with a subdirectory called `iap-idma/matlab'
5    
6  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  
7       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
8       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
9     - move the two downloaded files to your iap-idma directory  
10     - 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.
11     - rename c65r_gcmfaces as gcmfaces and c65r_MITprof as MITprof  
12    3) the iap-idma directory should now contain two subdirectories
13       named `c65r_gcmfaces' and `c65r_MITprof'. Rename them simply
14       as `gcmfaces' and `MITprof'
15    
16  notes :  notes :
17     for session 1 you only need MITprof but gcmfaces will come  - disk space requirement ~ 800M (plus session specific items that will be added later)
18        handy later so your might as well download both right away  - 2011 or later matlab version is needed (for native netcdf implementation)
19     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
20        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.  
21    
22  ---- for session #1 ----  ---- for session #1 ----
23    
24  1,2) same as above (see 'downloading matlab toolboxes')  1) see 'downloading matlab toolboxes'
25    
26  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
27         http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/comm/course-idma2016/matlab/
28    
29  4) in terminal window  3) move these files to the iap-idma/matlab directory  
    mv ~/Downloads/idma_float_plot.m ~/iap-idma/.  
30    
31  5) download Argo etc  4) using you favorite ftp client (e.g. fetch in iOS, secureFX in MS-windows,
32     cd ~/iap-idma     or wget in LINUX) to download the following directory:
33     mkdir release1        ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1
34     wget --recursive ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1    
35     mv mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1 release1/.  5) move MITprof_release1 to the iap-idma directory
36    
37  6) start matlab and run idma_float_plot.m  6) start matlab, go to the iap-idma directory, and type:
    matlab  
38     addpath matlab/     addpath matlab/
39     [p]=idma_float_plot('2900828');     [p]=idma_float_plot('4900828');
40       idma_box_subset;
41       idma_box_mean;
42    
43  notes :  notes :
44     disk space requirement ~ 6.4G (plus 0.8G from steps 1,2)  - disk space requirement ~ 6.4G (plus 0.8G from steps 1,2)
45     start matlab at command line : matlab -nodesktop  - idma_float_plot.m and idma_box_subset.m both add the
46     idma_float_plot adds the MITprof/ subdirectories to the matlab path    iap-idma/MITprof/ and its subdirectories to the matlab path
47    - idma_box_subset is the most time consuming, and may take ~3'
48    
49    

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

  ViewVC Help
Powered by ViewVC 1.1.22