source: trunk/SRC/Documentation/idldoc_html_output/Grid/computegrid.html @ 402

Last change on this file since 402 was 402, checked in by smasson, 15 years ago

update documentation

File size: 25.0 KB
Line 
1
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
5<!-- Generated by IDLdoc 2.0 -->
6
7<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8  <head>
9    <title>computegrid.pro (SAXO Documentation)</title>
10
11   
12    <link rel="stylesheet" type="text/css" media="all" href="./../main_files.css" />
13    <link rel="stylesheet" type="text/css" media="print" href="./../main_files_print.css" />
14   
15
16    <script type="text/javascript">
17      function setTitle() {
18        parent.document.title="computegrid.pro (SAXO Documentation)";
19      }
20    </script>
21  </head>
22
23  <body onload="setTitle();">
24
25    <div id="navbar_title">
26  <h1>SAXO Documentation</h1>
27</div>
28
29
30<div id="main_navbar">
31
32  <table cellspacing="0">
33    <tr>
34     
35      <td><a href="./../overview.html" title="Overview of library">Overview</a></td>
36     
37
38     
39      <td >Directory</td>
40     
41
42     
43      <td><a href="./../idldoc-categories.html" title="Browse library by category">Categories</a></td>
44     
45
46     
47      <td><a href="./../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td>
48     
49
50     
51      <td><a href="./../search-page.html" title="Search library">Search</a></td>
52     
53
54      <td id="selected">File</td>
55
56     
57      <td><a href="../../../Grid//computegrid.pro" title="Source code of a file">Source</a></td>
58     
59
60     
61      <td><a href="./../idldoc-help.html" title="Help on IDLdoc">Help</a></td>
62     
63
64      <td >Etc</td>
65
66      <td id="flexible">Developer&nbsp;documentation</td>
67    </tr>
68  </table>
69
70</div>
71
72<div id="secondary_navbar">
73
74<a href="changemsk.html">&lt;&lt;prev file</a> | <a href="micromeshmask.html">next file &gt;&gt;</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="computegrid.html" target="_TOP">view single page</a> | <a href="./../index.html" target="_TOP">view frames</a>&nbsp;&nbsp;&nbsp;&nbsp;summary: fields | routine&nbsp;&nbsp;&nbsp;&nbsp;details: <a href="#routine_details">routine</a>
75
76</div>
77
78
79    <div id="container">
80
81      <h1 class="directory"><a href="directory-overview.html">Grid/</a></h1>
82      <h2 class="pro_file">computegrid.pro</h2>
83
84      <div id="file_attr">
85        <dl>
86        </dl>
87      </div>
88
89      <div id="file_comments">
90 compute the grid parameters (cm_4mesh) common
91
92 domains sizes:
93 ---------------
94 jpi, jpj, jpk, jpiglo, jpjglo, jpkglo, jpidta, jpjdta, jpkdta
95
96 domains positions regarding to the original grid:
97 --------------------------------------------------
98 ixminmesh, ixmaxmesh, iyminmesh, iymaxmesh, izminmesh, izmaxmesh
99 ixmindta, ixmaxdta, iymindta, iymaxdta, izmindta, izmaxdta
100
101 horizontal parameters:
102 ----------------------
103 glamt, glamf, gphit, gphit, e1t, e2t
104
105 additional horizontal parameters if FULLCGRID keyword is defined:
106 -----------------------------------------------------------------
107 glamu, glamv, gphiu, gphiv, e1u, e1v, e1f, e2u, e2v, e2f
108
109 verticals parameters:
110 ---------------------
111 gdept, gdepw, e3t, e3w
112
113 masks:
114 ------
115 tmask
116
117 additional masks if FULLCGRID keyword is defined:
118 -------------------------------------------------
119 umaskred, vmaskred, fmaskredx, fmaskredy
120
121 triangles_list:
122 ---------------
123 triangulation
124
125 key_* variables:
126 ----------------
127 key_onearth, key_periodic, key_shift, key_stride, key_partialstep,
128 key_yreverse, key_zreverse, key_gridtype
129
130 xxx related variables:
131 ----------------------
132 ccmeshparameters, ccreadparameters
133</div>
134
135     
136
137     
138
139     
140
141     
142
143      <div id="routine_details">
144       
145
146        <div class="routine_details" id="_computegrid">
147
148          <h2><a class="top" href="#container">top</a>computegrid <span class="categories">
149 Grid
150</span></h2>
151       
152          <p class="header">
153            computegrid<span class="result">[, <a href="#_computegrid_param_startx">startx</a>][, <a href="#_computegrid_param_starty">starty</a>][, <a href="#_computegrid_param_stepxin">stepxin</a>][, <a href="#_computegrid_param_stepyin">stepyin</a>][, <a href="#_computegrid_param_nxin">nxin</a>][, <a href="#_computegrid_param_nyin">nyin</a>]</span>, <a href="#_computegrid_keyword_XAXIS">XAXIS</a>=<span class="result">1D or 2D array</span>, <a href="#_computegrid_keyword_YAXIS">YAXIS</a>=<span class="result">1D or 2D array</span>, <a href="#_computegrid_keyword_ZAXIS">ZAXIS</a>=<span class="result">1D</span>, <a href="#_computegrid_keyword_MASK">MASK</a>=<span class="result">2D or 3D array</span>, <a href="#_computegrid_keyword_GLAMBOUNDARY">GLAMBOUNDARY</a>=<span class="result">2 elements vector</span>, <a href="#_computegrid_keyword_XMINMESH">XMINMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_XMAXMESH">XMAXMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_YMINMESH">YMINMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_YMAXMESH">YMAXMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_ZMINMESH">ZMINMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_ZMAXMESH">ZMAXMESH</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_ONEARTH">ONEARTH</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_computegrid_keyword_PERIODIC">PERIODIC</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_computegrid_keyword_PLAIN">PLAIN</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_computegrid_keyword_SHIFT">SHIFT</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_STRIDE">STRIDE</a>=<span class="result">3 elements vector</span>, <a href="#_computegrid_keyword_YREVERSE">YREVERSE</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_ZREVERSE">ZREVERSE</a>=<span class="result">scalar</span>, <a href="#_computegrid_keyword_FULLCGRID">FULLCGRID</a>=<span class="result">scalar: 0 or 1</span>, <a href="#_computegrid_keyword_XYINDEX">XYINDEX</a>=<span class="result">XYINDEX</span>, <a href="#_computegrid_keyword_UBASE2TBASE">UBASE2TBASE</a>=<span class="result">UBASE2TBASE</span>, <a href="#_computegrid_keyword_VBASE2TBASE">VBASE2TBASE</a>=<span class="result">VBASE2TBASE</span>, <a href="#_computegrid_keyword_FBASE2TBASE">FBASE2TBASE</a>=<span class="result">FBASE2TBASE</span>, <a href="#_computegrid_keyword_STRCALLING">STRCALLING</a>=<span class="result">scalar string</span>, <a href="#_computegrid_keyword_ROMSH">ROMSH</a>=<span class="result">2D array</span>, <a href="#_computegrid_keyword__EXTRA">_EXTRA</a>=<span class="result">_EXTRA</span></p>
154       
155          <div class="comments">
156</div>
157
158         
159
160         
161            <h3>Parameters</h3>
162       
163           
164            <h4 id="_computegrid_param_startx">startx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
165              <span class="attr">in</span>
166             
167              <span class="attr">optional</span>
168             
169             
170              <span class="attr">type:</span> <span class="value">scalar</span>
171             
172             
173            </h4>
174       
175          <div class="comments">
176       x starting point, optional if [XY]AXIS keyword is used
177</div>
178           
179            <h4 id="_computegrid_param_starty">starty&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
180              <span class="attr">in</span>
181             
182              <span class="attr">optional</span>
183             
184             
185              <span class="attr">type:</span> <span class="value">scalar</span>
186             
187             
188            </h4>
189       
190          <div class="comments">
191       y starting point, optional if [XY]AXIS keyword is used
192</div>
193           
194            <h4 id="_computegrid_param_stepxin">stepxin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
195              <span class="attr">in</span>
196             
197              <span class="attr">optional</span>
198             
199             
200              <span class="attr">type:</span> <span class="value">scalar or vector</span>
201             
202             
203            </h4>
204       
205          <div class="comments">
206       x direction step, optional if [XY]AXIS keyword is used, must be > 0
207       if stepxin is a vector nx is not used
208</div>
209           
210            <h4 id="_computegrid_param_stepyin">stepyin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
211              <span class="attr">in</span>
212             
213              <span class="attr">optional</span>
214             
215             
216              <span class="attr">type:</span> <span class="value">scalar or vector</span>
217             
218             
219            </h4>
220       
221          <div class="comments">
222       y direction step, optional if [XY]AXIS keyword is used,
223       could be > 0 (south to north) or < 0 (north to south)
224       if stepyin is a vector ny is not used
225</div>
226           
227            <h4 id="_computegrid_param_nxin">nxin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
228              <span class="attr">in</span>
229             
230              <span class="attr">optional</span>
231             
232             
233              <span class="attr">type:</span> <span class="value">scalar</span>
234             
235             
236            </h4>
237       
238          <div class="comments">
239       number of points in x direction,
240       optional if [XY]AXIS keyword is used or stepxin is a vector
241</div>
242           
243            <h4 id="_computegrid_param_nyin">nyin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
244              <span class="attr">in</span>
245             
246              <span class="attr">optional</span>
247             
248             
249              <span class="attr">type:</span> <span class="value">scalar</span>
250             
251             
252            </h4>
253       
254          <div class="comments">
255       number of points in y direction,
256       optional if [XY]AXIS keyword is used or stepyin is a vector
257</div>
258           
259
260         
261
262         
263
264            <h3>Keywords</h3>
265           
266            <h4 id="_computegrid_keyword_XAXIS">XAXIS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
267             
268             
269             
270             
271             
272              <span class="attr">type:</span> <span class="value">1D or 2D array</span>
273             
274             
275            </h4>
276       
277            <div class="comments">
278       Specify longitudes in this case startx, stepx and nx are not used but
279       could be necessary if the y axis is not defined with yaxis. It must be
280       possible to sort the first line of xaxis in the increasing order by
281       shifting its elements.
282</div>
283           
284            <h4 id="_computegrid_keyword_YAXIS">YAXIS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
285             
286             
287             
288             
289             
290              <span class="attr">type:</span> <span class="value">1D or 2D array</span>
291             
292             
293            </h4>
294       
295            <div class="comments">
296       Specify latitudes in this case starty, stepy and ny are not used but
297       starty and stepy could be necessary if the x axis is not defined with
298       xaxis. It must be sorted in the increasing or decreasing order (along each column if 2d array).
299</div>
300           
301            <h4 id="_computegrid_keyword_ZAXIS">ZAXIS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
302             
303             
304             
305             
306             
307              <span class="attr">type:</span> <span class="value">1D</span>
308             
309             
310            </h4>
311       
312            <div class="comments">
313       Specify the vertical axis. Must be sorted in the increasing or decreasing order
314</div>
315           
316            <h4 id="_computegrid_keyword_MASK">MASK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
317             
318             
319             
320             
321             
322              <span class="attr">type:</span> <span class="value">2D or 3D array</span>
323              <span class="attr">default:</span> <span class="value">array of 1</span>
324             
325            </h4>
326       
327            <div class="comments">
328       Specify the land(0)/sea(1) mask
329</div>
330           
331            <h4 id="_computegrid_keyword_GLAMBOUNDARY">GLAMBOUNDARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
332             
333             
334             
335             
336             
337              <span class="attr">type:</span> <span class="value">2 elements vector</span>
338              <span class="attr">default:</span> <span class="value">those defined in the file</span>
339             
340            </h4>
341       
342            <div class="comments">
343       Longitude boundaries that should be used to visualize the data.
344         lon2 > lon1
345         lon2 - lon1 le 360
346       By default, the common (cm_4mesh) variable key_shift will be automatically
347       defined according to GLAMBOUNDARY.
348</div>
349           
350            <h4 id="_computegrid_keyword_XMINMESH">XMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
351             
352             
353             
354             
355             
356              <span class="attr">type:</span> <span class="value">scalar</span>
357              <span class="attr">default:</span> <span class="value">0L</span>
358             
359            </h4>
360       
361            <div class="comments">
362       Define common (cm_4mesh) variables ixminmesh used to define the localization
363       of the first point of the grid along the x direction in a zoom of the original grid
364</div>
365           
366            <h4 id="_computegrid_keyword_XMAXMESH">XMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
367             
368             
369             
370             
371             
372              <span class="attr">type:</span> <span class="value">scalar</span>
373              <span class="attr">default:</span> <span class="value">jpiglo-1</span>
374             
375            </h4>
376       
377            <div class="comments">
378       Define common (cm_4mesh) variables ixmaxmesh used to define the localization
379       of the last point of the grid along the x direction in a zoom of the original grid
380       Note that if XMAXMESH < 0 then ixmaxmesh is defined as ixmaxmesh = jpiglo -1 + xmaxmesh
381</div>
382           
383            <h4 id="_computegrid_keyword_YMINMESH">YMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
384             
385             
386             
387             
388             
389              <span class="attr">type:</span> <span class="value">scalar</span>
390              <span class="attr">default:</span> <span class="value">0L</span>
391             
392            </h4>
393       
394            <div class="comments">
395       Define common (cm_4mesh) variables iyminmesh used to define the localization
396       of the first point of the grid along the y direction in a zoom of the original grid
397</div>
398           
399            <h4 id="_computegrid_keyword_YMAXMESH">YMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
400             
401             
402             
403             
404             
405              <span class="attr">type:</span> <span class="value">scalar</span>
406              <span class="attr">default:</span> <span class="value">jpjglo-1</span>
407             
408            </h4>
409       
410            <div class="comments">
411       Define common (cm_4mesh) variables iymaxmesh used to define the localization
412       of the last point of the grid along the y direction in a zoom of the original grid
413       Note that if YMAXMESH < 0 then iymaxmesh is defined as iymaxmesh = jpjglo -1 + ymaxmesh
414</div>
415           
416            <h4 id="_computegrid_keyword_ZMINMESH">ZMINMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
417             
418             
419             
420             
421             
422              <span class="attr">type:</span> <span class="value">scalar</span>
423              <span class="attr">default:</span> <span class="value">0L</span>
424             
425            </h4>
426       
427            <div class="comments">
428       Define common (cm_4mesh) variables izminmesh used to define the localization
429       of the first point of the grid along the z direction in a zoom of the original grid
430</div>
431           
432            <h4 id="_computegrid_keyword_ZMAXMESH">ZMAXMESH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
433             
434             
435             
436             
437             
438              <span class="attr">type:</span> <span class="value">scalar</span>
439              <span class="attr">default:</span> <span class="value">jpkglo-1</span>
440             
441            </h4>
442       
443            <div class="comments">
444       Define common (cm_4mesh) variables izmaxmesh used to define the localization
445       of the last point of the grid along the z direction in a zoom of the original grid
446       Note that if ZMAXMESH < 0 then izmaxmesh is defined as izmaxmesh = jpkglo -1 + maxmesh
447</div>
448           
449            <h4 id="_computegrid_keyword_ONEARTH">ONEARTH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
450             
451             
452             
453             
454             
455              <span class="attr">type:</span> <span class="value">scalar: 0 or 1</span>
456              <span class="attr">default:</span> <span class="value">1</span>
457             
458            </h4>
459       
460            <div class="comments">
461       Force the manual definition of data localization on the earth or not
462          0) if the data are not on the earth
463          1) if the data are on earth (in that case we can for example use
464             the labels 'longitude', 'latitude' in plots).
465       The resulting value will be stored in the common (cm_4mesh) variable key_onearth
466       ONEARTH=0 forces PERIODIC=0, SHIFT=0 and is cancelling GLAMBOUNDARY
467</div>
468           
469            <h4 id="_computegrid_keyword_PERIODIC">PERIODIC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
470             
471             
472             
473             
474             
475              <span class="attr">type:</span> <span class="value">scalar: 0 or 1</span>
476              <span class="attr">default:</span> <span class="value">computed by using the first line of glamt</span>
477             
478            </h4>
479       
480            <div class="comments">
481       Force the manual definition of the grid zonal periodicity.
482       The resulting value will be stored in the common (cm_4mesh) variable key_periodic
483       PERIODIC=0 forces SHIFT=0
484</div>
485           
486            <h4 id="_computegrid_keyword_PLAIN">PLAIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
487             
488             
489             
490             
491             
492              <span class="attr">type:</span> <span class="value">scalar: 0 or 1</span>
493              <span class="attr">default:</span> <span class="value">0</span>
494             
495            </h4>
496       
497            <div class="comments">
498       Force YREVERSE=0, ZREVERSE=0, PERIODIC=0, SHIFT=0, STRIDE=[1, 1, 1] and
499       suppress the automatic redefinition of the domain in case of x periodicity overlap,
500       y periodicity overlap (ORCA type only) and mask border to 0.
501</div>
502           
503            <h4 id="_computegrid_keyword_SHIFT">SHIFT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
504             
505             
506             
507             
508             
509              <span class="attr">type:</span> <span class="value">scalar</span>
510              <span class="attr">default:</span> <span class="value">computed according to glamboundary</span>
511             
512            </h4>
513       
514            <div class="comments">
515       Force the manual definition of the zonal shift that must be apply to the data.
516       The resulting value will be stored in the common (cm_4mesh) variable key_shift
517       Note that if key_periodic=0 then in any case key_shift=0.
518</div>
519           
520            <h4 id="_computegrid_keyword_STRIDE">STRIDE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
521             
522             
523             
524             
525             
526              <span class="attr">type:</span> <span class="value">3 elements vector</span>
527              <span class="attr">default:</span> <span class="value">[1, 1, 1]</span>
528             
529            </h4>
530       
531            <div class="comments">
532       Specify the stride in x, y and z direction. The resulting
533       value will be stored in the common (cm_4mesh) variable key_stride
534</div>
535           
536            <h4 id="_computegrid_keyword_YREVERSE">YREVERSE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
537             
538             
539             
540             
541             
542              <span class="attr">type:</span> <span class="value">scalar</span>
543              <span class="attr">default:</span> <span class="value">computed according to gphit[0, 1:jpj-1] LT gphit[0, 0:jpj-2]</span>
544             
545            </h4>
546       
547            <div class="comments">
548       Force the manual definition of the y reverse that must be apply to the data.
549       The resulting value will be stored in the common (cm_4mesh) variable key_yreverse
550</div>
551           
552            <h4 id="_computegrid_keyword_ZREVERSE">ZREVERSE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
553             
554             
555             
556             
557             
558              <span class="attr">type:</span> <span class="value">scalar</span>
559              <span class="attr">default:</span> <span class="value">computed according to gdept[0] GT gdept[1]</span>
560             
561            </h4>
562       
563            <div class="comments">
564       Force the manual definition of the z reverse that must be apply to the data.
565       The resulting value will be stored in the common (cm_4mesh) variable key_zreverse
566</div>
567           
568            <h4 id="_computegrid_keyword_FULLCGRID">FULLCGRID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
569             
570             
571             
572             
573             
574              <span class="attr">type:</span> <span class="value">scalar: 0 or 1</span>
575              <span class="attr">default:</span> <span class="value">0</span>
576             
577            </h4>
578       
579            <div class="comments">
580       Activate to specify that you want to compute all the C grid parameters:
581       definition of glam[uv], gphi[uv], e1[uvf], e2[uvf], [uv]maskred and
582       fmaskred[xy] will be add to the default computations
583</div>
584           
585            <h4 id="_computegrid_keyword_XYINDEX">XYINDEX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
586             
587             
588             
589             
590             
591             
592             
593             
594            </h4>
595       
596            <div class="comments"> activate to specify that the horizontal grid should
597       be simply defined by using the index of the points
598          (xaxis = findgen(nx) and yaxis = findgen(ny))
599       using this keyword forces key_onearth=0
600</div>
601           
602            <h4 id="_computegrid_keyword_UBASE2TBASE">UBASE2TBASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
603             
604             
605             
606             
607             
608             
609             
610             
611            </h4>
612       
613            <div class="comments">
614       Activate when the model is a C grid based on a U point
615       (with a U point at the bottom-left corner and a T point at the
616       upper-right corner). In this case, we ignore
617         - if the grid is not x-periodic, the first column of F and U points
618         - if the grid is not x-periodic, the last  column of T and V points.
619       => we are back to a C grid based on T point as for OPA model.
620       Note that in that case, key_gridtype = 'c_u' and not 'c' (-> used in read_ncdf)
621       Note that activate UBASE2TBASE forces FULLCGRID=1
622</div>
623           
624            <h4 id="_computegrid_keyword_VBASE2TBASE">VBASE2TBASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
625             
626             
627             
628             
629             
630             
631             
632             
633            </h4>
634       
635            <div class="comments">
636       Activate when the model is a C grid based on a V point
637       (with a V point at the bottom-left corner and a T point at the
638       upper-right corner). In this case, we ignore
639         - the first line of F and V points
640         - the last  line of T and U points
641       => we are back to a C grid based on T point as for OPA model.
642       Note that in that case, key_gridtype = 'c_v' and not 'c' (-> used in read_ncdf)
643       Note that activate VBASE2TBASE forces FULLCGRID=1
644</div>
645           
646            <h4 id="_computegrid_keyword_FBASE2TBASE">FBASE2TBASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
647             
648             
649             
650             
651             
652             
653             
654             
655            </h4>
656       
657            <div class="comments">
658       Activate when the model is a C grid based on a F point
659       (with a F point at the bottom-left corner and a T point at the
660       upper-right corner). In this case, we ignore
661         - the first line of F and V points
662         - the last  line of T and U points
663         - if the grid is not x-periodic, the first column of F and U points
664         - if the grid is not x-periodic, the last  column of T and V points.
665       => we are back to a C grid based on T point as for OPA model.
666       Note that in that case, key_gridtype = 'c_f' and not 'c' (-> used in read_ncdf)
667       Note that activate FBASE2TBASE forces FULLCGRID=1
668</div>
669           
670            <h4 id="_computegrid_keyword_STRCALLING">STRCALLING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
671             
672             
673             
674             
675             
676              <span class="attr">type:</span> <span class="value">scalar string</span>
677             
678             
679            </h4>
680       
681            <div class="comments">
682       a string containing the calling command used to
683       call computegrid (this is used by <a href="..//ToBeReviewed/WIDGET/xxx.html">xxx</a>)
684
685
686       Used by xxx...
687</div>
688           
689            <h4 id="_computegrid_keyword_ROMSH">ROMSH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
690             
691             
692             
693             
694             
695              <span class="attr">type:</span> <span class="value">2D array</span>
696             
697             
698            </h4>
699       
700            <div class="comments">
701       This array is the final bathymetry at RHO-points. It is stored in the common
702       variable (cm_4mesh) romszinfos.h
703       Used when the model is a ROMS C-grid with one more point
704       in longitude for T and V grid and one more point in latitude
705       for T and U grid. In this case, we ignore
706         - the last line of T and U points
707         - the last column of T and V points.
708      => we are back to a C grid based on T point as for OPA model.
709       Note that activate ROMSH forces FULLCGRID=1
710</div>
711           
712            <h4 id="_computegrid_keyword__EXTRA">_EXTRA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
713             
714             
715             
716             
717             
718             
719             
720             
721            </h4>
722       
723            <div class="comments">
724 not used in the present case ...
725</div>
726           
727         
728
729         
730          <h3>Version history</h3>
731         
732          <h4>Version</h4><div class="preformat">
733 $Id: computegrid.pro 399 2009-07-02 08:38:54Z smasson $
734</div>
735          <h4>History</h4><div class="preformat">
736 Sebastien Masson (smasson@lodyc.jussieu.fr)
737                      2000-04-20
738 Sept 2004, several bug fix to suit C grid type...
739 Aug 2005, rewritte almost everything...
740</div>
741         
742         
743          <h3>Known issues</h3>
744         
745         
746         
747          <h4>Restrictions</h4><div class="preformat">
748 if the grid has x/y periodicity overlap and/or if
749 the mask has 0 everywhere at the border (like a closed sea) and
750 if (we did not activate /plain and xminmesh, xmaxmesh, yminmesh,
751 ymaxmesh keywords are defined to their default values), we redefine
752 xminmesh, xmaxmesh, yminmesh, ymaxmesh in order to reove the
753 overlapping part and/or to open the domain (avoid it be forced
754 to use cell_fill = 1).
755
756 FUV points definition is not exact if the grid is irregular
757</div>
758       
759          <h3>Other attributes</h3>
760         
761         
762          <h4>Uses routines</h4><div class="preformat">
763 <a href="..//Commons/cm_4mesh.html">cm_4mesh</a>
764 <a href="..//Commons/cm_4data.html">cm_4data</a>
765 <a href="..//Commons/cm_4cal.html">cm_4cal</a>
766
767</div>
768         
769         
770         
771       
772          <h3>Statistics</h3>
773          <table class="statistics">
774            <tr><td>McCabe cyclic</td><td>         241</td></tr>
775            <tr><td>McCabe essential</td><td>           1</td></tr>
776            <tr><td>McCabe modular design</td><td>           1</td></tr>
777          </table>
778         
779       
780        </div>
781       
782      </div>
783
784     
785
786      <div id="tagline">Produced by IDLdoc 2.0.</div>
787
788    </div>
789
790  </body>
791</html>
Note: See TracBrowser for help on using the repository browser.