source: trunk/SRC/Tests/TestsOld/tst_initorca05_index_old.pro @ 189

Last change on this file since 189 was 189, checked in by pinsard, 18 years ago

remove format=raw in all html files 2/2; add svn keyword to idldoc-lib.adp

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1;+
2; @file_comments
3; definition of the domain on ORCA2 but with i/j index instead of
4; longitude/latitude
5;
6; different possibilities are proposed
7; @history
8; Sebastien Masson
9;
10; @version $Id$
11;-
12;
13; 1) definition with a file
14;
15file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc'
16initncdf, file, xminmesh = 1, xmaxmesh = -1 $
17          , yminmesh = 0, ymaxmesh = -1, /xyindex $
18          , /lookalldir
19;
20; 2) definition with the meshmask
21;
22; file = 'micromeshmaskORCA05.nc'
23; initncdf, file, xaxisname = 'glamt', yaxisname = 'gphit' $
24;           , /xyindex, zaxisname = 'gdept' $
25;           , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $
26;           , /lookalldir
27;
28; 3) by calling directly computegrid
29;
30; if we don't know jpiglo and jpjglo, we call ncdf_meshread with /getdimensions
31; ncdf_meshread, 'micromeshmaskORCA05.nc', /getdimensions $
32;               , iodirectory = [iodir, homedir, !path], /recursive
33;---------------------------------------------------------
34; define the grid parameters
35;---------------------------------------------------------
36; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $
37;              , yminmesh = 0, ymaxmesh = -1, onearth = 0 $
38;              , /lookalldir
Note: See TracBrowser for help on using the repository browser.