source: trunk/SRC/Grid/n48gaussian.pro @ 371

Last change on this file since 371 was 371, checked in by pinsard, 16 years ago

improvements of headers (alignments of IDL prompt in examples)

  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1;+
2;
3; @file_comments
4; compute the latitudes of the n48 gaussian grid. See:
5; <a href="http://www.ecmwf.int/products/data/technical/gaussian/n48FIS.html">Gaussian 48</a>
6;
7; @categories
8; Grid
9;
10; @examples
11;
12;   IDL> lat=n48gaussian()
13;
14; @returns
15; a 1d array
16;
17; @history
18;      Sebastien Masson (smasson\@lodyc.jussieu.fr)
19;      June 2004
20;
21; @version
22; $Id$
23;
24;-
25FUNCTION n48gaussian
26;
27  compile_opt idl2, strictarrsubs
28;
29;          latitude   reduced     regular  latitude
30;           number     points      points
31;          -------    -------     -------  --------
32  n48 = [     1,         20,        192,  88.57216, $
33              2,         25,        192,  86.72253, $
34              3,         36,        192,  84.86197, $
35              4,         40,        192,  82.99894, $
36              5,         45,        192,  81.13497, $
37              6,         50,        192,  79.27055, $
38              7,         60,        192,  77.40588, $
39              8,         60,        192,  75.54106, $
40              9,         72,        192,  73.67613, $
41              10,         75,        192,  71.81113, $
42              11,         80,        192,  69.94608, $
43              12,         90,        192,  68.08099, $
44              13,         96,        192,  66.21587, $
45              14,        100,        192,  64.35073, $
46              15,        108,        192,  62.48557, $
47              16,        120,        192,  60.62039, $
48              17,        120,        192,  58.75520, $
49              18,        120,        192,  56.89001, $
50              19,        128,        192,  55.02480, $
51              20,        135,        192,  53.15959, $
52              21,        144,        192,  51.29437, $
53              22,        144,        192,  49.42915, $
54              23,        160,        192,  47.56392, $
55              24,        160,        192,  45.69869, $
56              25,        160,        192,  43.83345, $
57              26,        160,        192,  41.96822, $
58              27,        160,        192,  40.10297, $
59              28,        180,        192,  38.23773, $
60              29,        180,        192,  36.37249, $
61              30,        180,        192,  34.50724, $
62              31,        180,        192,  32.64199, $
63              32,        180,        192,  30.77674, $
64              33,        192,        192,  28.91149, $
65              34,        192,        192,  27.04623, $
66              35,        192,        192,  25.18098, $
67              36,        192,        192,  23.31573, $
68              37,        192,        192,  21.45047, $
69              38,        192,        192,  19.58521, $
70              39,        192,        192,  17.71996, $
71              40,        192,        192,  15.85470, $
72              41,        192,        192,  13.98944, $
73              42,        192,        192,  12.12418, $
74              43,        192,        192,  10.25892, $
75              44,        192,        192,   8.39366, $
76              45,        192,        192,   6.52840, $
77              46,        192,        192,   4.66314, $
78              47,        192,        192,   2.79788, $
79              48,        192,        192,   0.93262]
80;
81  n48 = reform(n48, 4, 48, /over)
82  n48 = reform(n48[3, *], /over)
83  n48 = [n48, -reverse(n48)]
84
85  return, n48
86end
Note: See TracBrowser for help on using the repository browser.