/[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.2 by gforget, Fri Jan 8 22:50:52 2016 UTC revision 1.7 by gforget, Thu Jan 14 20:48:24 2016 UTC
# Line 1  Line 1 
1    
2  ---- downloading matlab toolboxes ----  ---- downloading matlab toolboxes ----
3    
4  1) create a directory called `iap-idma' with a subdirectory called `iap-idma/matlab'  1) create a directory called `iap-idma' and two subdirectories
5       called `iap-idma/matlab' and `iap-idma/release1'
6    
7  2) open a web browser and download the following two files:  2) open a web browser and download the following two files:
8       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_gcmfaces.tar.gz       ftp://mit.ecco-group.org/ecco_for_las/version_4/checkpoints/gcmfaces_20160114.tar.gz
9       http://mit.ecco-group.org/opendap/ecco_for_las/version_4/checkpoints/c65r_MITprof.tar.gz       ftp://mit.ecco-group.org/ecco_for_las/version_4/checkpoints/c65r_MITprof.tar.gz
10    
11  3) move these two files to the idma directory and uncompress them.  3) move these two files to the idma directory and uncompress them.
12    
13  3) the iap-idma directory should now contain two subdirectories  4) the iap-idma directory should now contain two new subdirectories
14     named `c65r_gcmfaces' and `c65r_MITprof'. Rename them simply     named `gcmfaces' and `c65r_MITprof'. Rename c65r_MITprof as `MITprof'.
15     as `gcmfaces' and `MITprof'     At this point the iap-idma directory should contain 'matlab/',
16       'release1/','MITprof/', and 'gmcfaces/'.
17    
18  notes :  notes :
19  - disk space requirement ~ 800M (plus session specific items that will be added later)  - disk space requirement ~ 800M (plus session specific items that will be added later)
# Line 32  notes : Line 34  notes :
34     or wget in LINUX) to download the following directory:     or wget in LINUX) to download the following directory:
35        ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1        ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/MITprof_release1
36        
37  5) move MITprof_release1 to the iap-idma directory  5) move MITprof_release1 to the iap-idma/release1 directory
38    
39  6) start matlab, go to the iap-idma directory, and type:  6) start matlab, go to the iap-idma directory, and type:
40     addpath matlab/     addpath matlab/
41     [p]=idma_float_plot('4900828');     [p]=idma_float_plot('4900828');
42     idma_box_subset;     box_l=[-180 -140]; box_L=[-10 10]-30; box_D=[0 300];
43     idma_box_mean;     [prof_T,prof_Testim,prof_Tweight]=idma_box_subset(box_l,box_L,box_D);
44       [boxmean,tim,dep]=idma_box_mean(prof_T,prof_Tweight);
45       figureL; pcolor(tim,-dep,boxmean); colorbar;
46    
47  notes :  notes :
48  - disk space requirement ~ 6.4G (plus 0.8G from steps 1,2)  - disk space requirement ~ 6.4G
49  - idma_float_plot.m and idma_box_subset.m both add the  - idma_float_plot.m and idma_box_subset.m both add the
50    iap-idma/MITprof/ and its subdirectories to the matlab path    iap-idma/MITprof/ and its subdirectories to the matlab path
51  - idma_box_subset is the most time consuming, and may take ~3'  - idma_box_subset is the most time consuming of the three
52      scripts and may take ~3 minutes
53    
54    ----- for session #2 -----
55    
56    1) see 'downloading matlab toolboxes'
57       note: make sure to use gcmfaces_20160114.tar.gz or the up to date version of
58             gcmfaces from CVS (rather than c65r_MITprof.tar.gz or earlier versions).
59    2) download the m_map plotting toolbox (use the 'zip archive' link) from
60          https://www.eoas.ubc.ca/~rich/map.html
61       unzip and move it to iap-idma/
62    2) using you favorite ftp client (e.g. fetch in iOS, secureFX in MS-windows,
63       or wget in LINUX) to download the following directory (145M):
64          ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_grid
65       and move it to iap-idma/
66    3) using you favorite ftp client (e.g. fetch in iOS, secureFX in MS-windows,
67       or wget in LINUX) to download the following directory (14G):
68          ftp://mit.ecco-group.org/ecco_for_las/version_4/release1/nctiles_climatology
69       and move it to iap-idma/release1/
70    4) start matlab, go to the iap-idma directory, and type:
71          p = genpath([pwd filesep 'gcmfaces/']); addpath(p);
72          p = genpath([pwd filesep 'MITprof/']); addpath(p);
73          p = genpath([pwd filesep 'm_map/']); addpath(p);
74          grid_load;%load ECCO v4 grid into mygrid
75          gcmfaces_global;%declare mygrid as global
76          disp(mygrid);%displays grid variables
77          diags=example_transports;%computes transports (takes ~ 2 minutes)
78          example_transports_disp(diags);%display results
79       then proceed as explained in section 5 of gcmfaces/gcmfaces.pdf
80       to use diags_driver.m and diags_display.m (takes ~ 5 minutes)
81    

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

  ViewVC Help
Powered by ViewVC 1.1.22