1 | ;+ |
---|
2 | ; |
---|
3 | ; @file_comments |
---|
4 | ; definition of the domain on ORCA2 but with i/j index instead of |
---|
5 | ; longitude/latitude |
---|
6 | ; |
---|
7 | ; different possibilities are proposed |
---|
8 | ; |
---|
9 | ; @history |
---|
10 | ; Sebastien Masson |
---|
11 | ; |
---|
12 | ; @version |
---|
13 | ; $Id$ |
---|
14 | ; |
---|
15 | ; @todo |
---|
16 | ; find the right way to avoid |
---|
17 | ; IDLDOC: unknown tag "file_comments" in file tst_initorca05_index.pro |
---|
18 | ; |
---|
19 | ;- |
---|
20 | ; |
---|
21 | ; 1) definition with a file |
---|
22 | ; |
---|
23 | file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' |
---|
24 | initncdf, file, xminmesh = 1, xmaxmesh = -1 $ |
---|
25 | , yminmesh = 0, ymaxmesh = -1, /xyindex $ |
---|
26 | , /lookalldir |
---|
27 | ; |
---|
28 | ; 2) definition with the meshmask |
---|
29 | ; |
---|
30 | ; file = 'micromeshmaskORCA05.nc' |
---|
31 | ; initncdf, file, xaxisname = 'glamt', yaxisname = 'gphit' $ |
---|
32 | ; , /xyindex, zaxisname = 'gdept' $ |
---|
33 | ; , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $ |
---|
34 | ; , /lookalldir |
---|
35 | ; |
---|
36 | ; 3) by calling directly computegrid |
---|
37 | ; |
---|
38 | ; if we don't know jpiglo and jpjglo, we call ncdf_meshread with /getdimensions |
---|
39 | ; ncdf_meshread, 'micromeshmaskORCA05.nc', /getdimensions $ |
---|
40 | ; , iodirectory = [iodir, homedir, !path], /recursive |
---|
41 | ;--------------------------------------------------------- |
---|
42 | ; define the grid parameters |
---|
43 | ;--------------------------------------------------------- |
---|
44 | ; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $ |
---|
45 | ; , yminmesh = 0, ymaxmesh = -1, onearth = 0 $ |
---|
46 | ; , /lookalldir |
---|