source: trunk/SRC/Tests/tst_initorca2_index.pro @ 232

Last change on this file since 232 was 232, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
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; @history
9; Sebastien Masson
10;
11; @version $Id$
12;-
13;
14; 1) definition with a file
15;
16file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc'
17initncdf, file, xminmesh = 1, xmaxmesh = -1 $
18          , yminmesh = 0, ymaxmesh = -1, /xyindex $
19          , /lookalldir
20;
21; 2) definition with the meshmask
22;
23; file = 'micromeshmaskORCA2.nc'
24; initncdf, file, xaxisname = 'glamt', yaxisname = 'gphit' $
25;           , /xyindex, zaxisname = 'gdept' $
26;           , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $
27;           , /lookalldir
28;
29; 3) by calling directly computegrid
30;
31; if we don't know jpiglo and jpjglo, we call ncdf_meshread with /getdimensions
32; ncdf_meshread, 'micromeshmaskORCA2.nc', /getdimensions $
33;               , iodirectory = [iodir, homedir, !path], /recursive
34;---------------------------------------------------------
35; define the grid parameters
36;---------------------------------------------------------
37; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $
38;              , yminmesh = 0, ymaxmesh = -1, onearth = 0 $
39;              , /lookalldir
Note: See TracBrowser for help on using the repository browser.