File: coop_cdf_example.html

package info (click to toggle)
ferret-vis 6.9-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 236,276 kB
  • ctags: 21,705
  • sloc: fortran: 203,172; ansic: 52,976; csh: 2,913; java: 1,755; makefile: 1,461; sh: 1,435; pascal: 571; sed: 184; lisp: 122; awk: 26
file content (305 lines) | stat: -rw-r--r-- 13,952 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<HTML><HEAD><title>COARDS example netCDF file</title>
<BASE HREF="http://ferret.pmel.noaa.gov/noaa_coop/coop_cdf_example.html"></HEAD>
<BODY>
<PRE>

// Example CDL file for the NOAA COOP profile - 12/94 

netcdf coop_cdf_profile {

dimensions:
	XAX1D = 1 ;
	YAX1D = 1 ;
	ZAXMBARS = 7 ;
	ZAXMETER = 20 ;

	XAX2D = 180 ;
	YAX2D = 90 ;

	COADSX = 180 ;
	COADSY = 90 ;
	MONTHS = 12 ; 

	PSXU = 160 ;
	PSYU = 100 ;
	PSXT = 160 ;
	PSYT = 100 ;
	PSZ  = 27 ;
	TIME_SERIES = UNLIMITED ; // (7 currently)

variables:

// POINT_TEMP - a vertical profile of atmospheric temperature
// at a particular lat/long position in an annual climatology
// Note that the latitude and longitude positions are represented by
// single point coordinate variables. 
// Note further that the vertical coordinate variable ZAXMBARS is identifiable
// from its units of pressure.

	double XAX1D(XAX1D) ;
		XAX1D:units = "degrees_east" ;
	double YAX1D(YAX1D) ;
		YAX1D:units = "degrees_north" ;
	double ZAXMBARS(ZAXMBARS) ;
		ZAXMBARS:units = "millibars" ;

	float POINT_TEMP(ZAXMBARS, YAX1D, XAX1D) ;
		POINT_TEMP:missing_value = -1e+10f ;
		POINT_TEMP:long_name = "Climatological Temperature" ;
		POINT_TEMP:units = "degC" ;

// EQUATORIAL_TEMP - a vertical profile of **ocean** temperature on the
// the same latitude coordinates as POINT_TEMP but globally averaged
// in longitude.  Note that the latitude position, only, is represented by a
// single point coordinate variable.
// Note further that the vertical coordinate variable ZAXMETER has
// the attribute 'ZAXMETER:positive = "down" ;' to indicate the orientation
// and direction of the axis.

	double ZAXMETER(ZAXMETER) ;
		ZAXMETER:units = "meters" ;
		ZAXMETER:positive = "down" ;

	float EQUATORIAL_TEMP(ZAXMETER, YAX1D) ;
		EQUATORIAL_TEMP:missing_value = -1e+10f ;
		EQUATORIAL_TEMP:long_name = "Zonally Averaged Temperature" ;
		EQUATORIAL_TEMP:units = "degC" ;


// ROSE - global relief of the surface of the earth: a 2-dimensional field
// Note that two different flags for missing values have been specified.

	float XAX2D(XAX2D) ;
		XAX2D:units = "degrees_east" ;
	float YAX2D(YAX2D) ;
		YAX2D:units = "degrees_north" ;

	double ROSE(YAX2D, XAX2D) ;
		ROSE:missing_value = -9.999e+10f ;
		ROSE:_FillValue =  -8.888e+10f ;
		ROSE:long_name = "RELIEF OF THE SURFACE OF THE EARTH" ;
		ROSE:units = "METERS" ;

// SST - a 12 month climatology of global Sea Surface Temperature
// Note that this variable has been packed into a 16 bit "short" data type
// and the add_offset and scale_factor have been provided for unpacking.
// Add_offset and scale_factor are in the intended unpacked data type (float). 
// The missing_value attribute is given in the data type of the packed data.
// Note also that the MONTHS coordinate variable is encoded as dates that
// begin in the year 0000.

	float COADSX(COADSX) ;
		COADSX:units = "degrees_east" ;
	float COADSY(COADSY) ;
		COADSY:units = "degrees_north" ;
	double MONTHS(MONTHS) ;
		MONTHS:units = "hours since 0000-01-01" ;

	short SST(MONTHS, COADSY, COADSX) ;
		SST:missing_value = 32000 ;  // of type short //
		SST:long_name = "SEA SURFACE TEMPERATURE" ;
		SST:units = "degC" ;
		SST:add_offset = 20.0f ;     // of the unpacked data type //
		SST:scale_factor = .0005f ;  // of the unpacked data type //

// U - a 4-dimensional velocity field
// Note that the variable U is defined on the UNLIMITED time axis so
// the file can be extended with additional time steps of this variable

	double PSXU(PSXU) ;
		PSXU:units = "degrees_east" ;
	double PSYU(PSYU) ;
		PSYU:units = "degrees_north" ;
	double PSZ(PSZ) ;
		PSZ:units = "METERS" ;
		PSZ:positive = "down" ;
	double TIME_SERIES(TIME_SERIES) ;
		TIME_SERIES:units = "hours since 1976-01-14 14:00:00" ;

	float U(TIME_SERIES, PSZ, PSYU, PSXU) ;
		U:_FillValue = -9.9999998e+33f ;
		U:long_name = "ZONAL VELOCITY" ;
		U:units = "cm/sec" ;

// SALT - a 4-dimensional salinity field
// Note that the variables SALT and U (above) are defined on staggered
// grids such that the latitude and longitude coordinates of the two
// variables are interleaved but the variables share common vertical
// and time coordinates.

	double PSXT(PSXT) ;
		PSXT:units = "degrees_east" ;
	double PSYT(PSYT) ;
		PSYT:units = "degrees_north" ;

	float SALT(TIME_SERIES, PSZ, PSYT, PSXT) ;
		SALT:_FillValue = 0.0099999998f ;
		SALT:long_name = "(SALINITY(ppt) - 35) /1000" ;

// global attributes:
		:history = "created by FERRET V3.20 13-Dec-94" ;
		:Conventions = "COARDS"; 

// Cooperative Ocean/Atmosphere Research Data Service

data:


 XAX1D = 179.5 ;

 YAX1D = -0.5 ;

 ZAXMBARS = 100, 150, 225, 350, 500, 650, 800 ;

 ZAXMETER = 0, 10, 20, 30, 50, 75, 100, 150, 200, 300, 400, 600, 800, 1000, 
    1200, 1500, 2000, 3000, 4000, 5000 ;

 XAX2D = 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 
    53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 
    89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 
    121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 
    149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 
    177, 179, 181, 183, 185, 187, 189, 191, 193, 195, 197, 199, 201, 203, 
    205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 
    233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, 259, 
    261, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 
    289, 291, 293, 295, 297, 299, 301, 303, 305, 307, 309, 311, 313, 315, 
    317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 337, 339, 341, 343, 
    345, 347, 349, 351, 353, 355, 357, 359, 361, 363, 365, 367, 369, 371, 
    373, 375, 377, 379 ;

 YAX2D = -89, -87, -85, -83, -81, -79, -77, -75, -73, -71, -69, -67, -65, 
    -63, -61, -59, -57, -55, -53, -51, -49, -47, -45, -43, -41, -39, -37, 
    -35, -33, -31, -29, -27, -25, -23, -21, -19, -17, -15, -13, -11, -9, -7, 
    -5, -3, -1, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 
    33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 
    69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89 ;

 COADSX = 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 
    55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 
    91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 
    121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 
    149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 
    177, 179, 181, 183, 185, 187, 189, 191, 193, 195, 197, 199, 201, 203, 
    205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 
    233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255, 257, 259, 
    261, 263, 265, 267, 269, 271, 273, 275, 277, 279, 281, 283, 285, 287, 
    289, 291, 293, 295, 297, 299, 301, 303, 305, 307, 309, 311, 313, 315, 
    317, 319, 321, 323, 325, 327, 329, 331, 333, 335, 337, 339, 341, 343, 
    345, 347, 349, 351, 353, 355, 357, 359, 361, 363, 365, 367, 369, 371, 
    373, 375, 377, 379 ;

 COADSY = -89, -87, -85, -83, -81, -79, -77, -75, -73, -71, -69, -67, -65, 
    -63, -61, -59, -57, -55, -53, -51, -49, -47, -45, -43, -41, -39, -37, 
    -35, -33, -31, -29, -27, -25, -23, -21, -19, -17, -15, -13, -11, -9, -7, 
    -5, -3, -1, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 
    33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 
    69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89 ;

 MONTHS = 366, 1096.485, 1826.97, 2557.455, 3287.94, 4018.425, 4748.91, 
    5479.395, 6209.88, 6940.365, 7670.85, 8401.335 ;

 PSXU = 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 
    145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 
    159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 
    173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 
    187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 
    201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 
    215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 
    229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 
    243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 
    257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 
    271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 
    285, 286, 287, 288, 289, 290 ;

 PSYU = -27.6721439361572, -25.3877544403076, -23.1883945465088, 
    -21.1119174957275, -19.1907978057861, -17.4507274627686, 
    -15.909481048584, -14.5761461257935, -13.4507236480713, 
    -12.5241250991821, -11.7785758972168, -11.1883859634399, 
    -10.721076965332, -10.3387994766235, -9.99998760223388, 
    -9.66665458679199, -9.33332061767578, -8.99998664855957, 
    -8.66665267944335, -8.33331966400146, -7.99998569488525, 
    -7.66665172576904, -7.33331823348999, -6.99998474121093, 
    -6.66665124893188, -6.33331823348999, -5.99998474121093, 
    -5.66665172576904, -5.33331823348999, -4.99998474121093, 
    -4.66665172576904, -4.33331823348999, -3.99998497962951, 
    -3.66665172576904, -3.33331847190856, -2.99998521804809, 
    -2.66665196418762, -2.33331847190856, -1.99998533725738, 
    -1.66665184497833, -1.33331847190856, -0.99998503923416, 
    -0.66665166616439, -0.33331826329231, 1.515448275e-05, 0.33334857225418, 
    0.66668194532394, 1.00001537799835, 1.33334875106811, 1.66668212413787, 
    2.00001549720764, 2.33334898948669, 2.66668272018432, 3.00001621246337, 
    3.33334970474243, 3.6666829586029, 4.00001621246337, 4.33334970474243, 
    4.66668272018432, 5.00001621246337, 5.33334922790527, 5.66668272018432, 
    6.00001621246337, 6.33334922790527, 6.66668272018432, 7.00001573562622, 
    7.33334970474243, 7.66668319702148, 8.00001716613769, 8.3333511352539, 
    8.6666841506958, 9.00001811981201, 9.33335208892822, 9.66668605804443, 
    10.0000190734863, 10.3358526229858, 10.6916217803955, 11.0869522094727, 
    11.5408391952515, 12.0713586807251, 12.6953773498535, 13.4282865524292, 
    14.2837600708008, 15.2735414505005, 16.4072513580322, 17.6922454833984, 
    19.1334934234619, 20.7334957122803, 22.4922523498535, 24.4072608947754, 
    26.4735546112061, 28.6837768554688, 31.0283031463623, 33.4953994750977, 
    36.0713844299316, 38.7408676147461, 41.4869842529297, 44.2916526794434, 
    47.1358833312988, 50.0000534057617 ;

 PSZ = 5, 15, 25, 35, 45, 55, 65, 75, 85, 95, 106.25, 120, 136.25, 155, 
    177.5, 205, 240, 288.5, 362.5, 483.5, 680, 979.5, 1395.5, 1916, 2524, 
    3174, 3824 ;

 TIME_SERIES = 67305, 67378, 67451, 67524, 67597, 67670, 67743 ;

 PSXT = 130.5, 131.5, 132.5, 133.5, 134.5, 135.5, 136.5, 137.5, 138.5, 139.5, 
    140.5, 141.5, 142.5, 143.5, 144.5, 145.5, 146.5, 147.5, 148.5, 149.5, 
    150.5, 151.5, 152.5, 153.5, 154.5, 155.5, 156.5, 157.5, 158.5, 159.5, 
    160.5, 161.5, 162.5, 163.5, 164.5, 165.5, 166.5, 167.5, 168.5, 169.5, 
    170.5, 171.5, 172.5, 173.5, 174.5, 175.5, 176.5, 177.5, 178.5, 179.5, 
    180.5, 181.5, 182.5, 183.5, 184.5, 185.5, 186.5, 187.5, 188.5, 189.5, 
    190.5, 191.5, 192.5, 193.5, 194.5, 195.5, 196.5, 197.5, 198.5, 199.5, 
    200.5, 201.5, 202.5, 203.5, 204.5, 205.5, 206.5, 207.5, 208.5, 209.5, 
    210.5, 211.5, 212.5, 213.5, 214.5, 215.5, 216.5, 217.5, 218.5, 219.5, 
    220.5, 221.5, 222.5, 223.5, 224.5, 225.5, 226.5, 227.5, 228.5, 229.5, 
    230.5, 231.5, 232.5, 233.5, 234.5, 235.5, 236.5, 237.5, 238.5, 239.5, 
    240.5, 241.5, 242.5, 243.5, 244.5, 245.5, 246.5, 247.5, 248.5, 249.5, 
    250.5, 251.5, 252.5, 253.5, 254.5, 255.5, 256.5, 257.5, 258.5, 259.5, 
    260.5, 261.5, 262.5, 263.5, 264.5, 265.5, 266.5, 267.5, 268.5, 269.5, 
    270.5, 271.5, 272.5, 273.5, 274.5, 275.5, 276.5, 277.5, 278.5, 279.5, 
    280.5, 281.5, 282.5, 283.5, 284.5, 285.5, 286.5, 287.5, 288.5, 289.5 ;

 PSYT = -28.8360729217529, -26.5299491882324, -24.2880744934082, 
    -22.1501560211182, -20.1513576507568, -18.3207626342773, 
    -16.6801033020019, -15.2428140640259, -14.0134353637695, 
    -12.9874248504639, -12.1513509750366, -11.4834814071655, 
    -10.9547319412231, -10.5299386978149, -10.1693935394287, 
    -9.83332061767578, -9.49998760223388, -9.16665363311767, 
    -8.83331966400146, -8.49998569488525, -8.16665267944335, 
    -7.83331871032714, -7.49998474121093, -7.16665124893188, 
    -6.83331823348999, -6.49998521804809, -6.16665172576904, 
    -5.83331823348999, -5.49998521804809, -5.16665172576904, 
    -4.83331871032714, -4.49998521804809, -4.16665172576904, 
    -3.83331871032714, -3.49998521804809, -3.16665172576904, 
    -2.83331847190856, -2.49998521804809, -2.16665196418762, 
    -1.83331859111785, -1.49998521804809, -1.16665184497833, 
    -0.83331835269927, -0.49998494982719, -0.1666515469551, 0.16668185591697, 
    0.50001525878906, 0.83334869146347, 1.16668212413787, 1.50001549720764, 
    1.83334898948669, 2.16668248176574, 2.5000159740448, 2.83334946632385, 
    3.1666829586029, 3.50001621246337, 3.83334970474243, 4.16668319702148, 
    4.50001621246337, 4.83334970474243, 5.16668319702148, 5.50001621246337, 
    5.83334970474243, 6.16668272018432, 6.50001621246337, 6.83334970474243, 
    7.16668272018432, 7.50001668930053, 7.83335018157959, 8.1666841506958, 
    8.50001811981201, 8.8333511352539, 9.16668510437011, 9.50001907348632, 
    9.83335304260253, 10.1679363250732, 10.5137376785278, 10.8892869949341, 
    11.3138961791992, 11.8060989379883, 12.3833675384522, 13.0618314743042, 
    13.8560228347778, 14.7786512374878, 15.8403968811035, 17.0497493743896, 
    18.4128704071045, 19.9334945678711, 21.6128730773926, 23.4497566223144, 
    25.4404067993164, 27.5786647796631, 29.8560409545898, 32.2618522644043, 
    34.783390045166, 37.4061241149902, 40.1139259338379, 42.8893203735352, 
    45.7137718200684, 48.5679702758789 ;

//Data has been omitted here

}

</PRE>

</BODY>
</HTML>