rda-python-icoads 1.0.7__py3-none-any.whl → 1.0.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rda-python-icoads might be problematic. Click here for more details.

rda_python_icoads/msg ADDED
@@ -0,0 +1,457 @@
1
+ ===============================================================================
2
+ International Comprehensive Ocean-Atmosphere Data Set (ICOADS): Release 2.4
3
+ Monthly Summary Groups (MSG1) 22 September 2007
4
+ ==========================================================================<msg>
5
+
6
+ Document Revision Information (previous version: 27 February 2004): Updates
7
+ (heading only) for Release 2.4.
8
+
9
+ -------------------------------------------------------------------------------
10
+
11
+
12
+ {1. Introduction}
13
+
14
+ This document provides a technical description of the Monthly Summary Groups
15
+ (MSG) format. This format is designed to store both 1-degree, and 2-degree,
16
+ latitude x longitude monthly summaries (the format also has the capability,
17
+ unused at present, to store 0.5-degree data).
18
+
19
+ MSG products are currently available covering the global domain (1-degree
20
+ and/or 2-degree boxes) and an equatorial domain (1-degree), with 1-degree
21
+ products available only for 1960 forward. The boundaries of the global
22
+ 2-degree boxes fall on even degrees of latitude and longitude (e.g., 0-2E,
23
+ 88-90N). The 2-degree box system is the same as LLN2F1 as described in
24
+ Release 1, supp. G, except omitting the polar boxes (16,200 boxes total).
25
+ The boundaries of the global 1-degree boxes fall on units of latitude
26
+ and longitude (e.g., 0-1E, 89-90N) (64,800 boxes total). The equatorial
27
+ domain comprises the latitude band 10.5N to 10.5S, and is global with
28
+ respect to longitude. The equatorial 1-degree boxes are shifted half a
29
+ degree in latitude (only) in comparison to the global domain, such that
30
+ the center-latitude of the central row of boxes is the equator (e.g., 0-1E,
31
+ 0.5S-0.5N). See <stat_doc> for additional information about the details
32
+ of products and time periods of data currently available in the MSG format.
33
+
34
+ Six "groups" of variables make up MSG (Table 1a). The variables comprise the
35
+ 19 variables that were produced for COADS Release 1 (groups 3-7) plus three
36
+ additional variables that make up group 9: the cube of the wind speed, W**3, as
37
+ well as the zonal and meridional contributions to the latent heat flux, U(QS-Q)
38
+ and V(QS-Q). The ten statistics calculated for each variable are listed in
39
+ Table 1b. Header fields, as defined below Table 1b, precede the statistics in
40
+ the MSG format.
41
+
42
+ The Fortran read program for the MSG format should provide ready access to the
43
+ header fields and statistics included in each group (using the abbreviations
44
+ given in Tables 1a and 1b, and for the header fields as follow Table 1b). As
45
+ background, however, a technical description of the format layout (bit lengths)
46
+ is given in sec. 2, and detailed information about the reconstruction of
47
+ floating point data is given in sec. 3.
48
+
49
+ Each MSG record contains the data for a single year, month and (2- or 1-degree)
50
+ box. The MSG records are labeled with the year, month, and box-size, and
51
+ the latitude/longitude coordinates of the lower-left corner of the box. The
52
+ weighted mean position of all observations within a box can be obtained from
53
+ the corner coordinates plus the longitude and latitude offset statistics, x
54
+ and y, for each variable.
55
+
56
+ MSG records were output only for year-months and boxes containing at least one
57
+ observation of at least one variable. Records are supressed for boxes (and a
58
+ few entire year-months) without any extant data. This provides an inherent
59
+ form of data compression for sparsely populated spatial grids. The records
60
+ are sorted by year, month, and either 2- or 1-degree box. The 2- and 1-degree
61
+ box systems proceed east from the prime meridian (i.e., starting with the
62
+ box with its SW corner longitude at 0E) and spiral down through each zone of
63
+ latitude.
64
+
65
+
66
+ Table 1a. Variables in MSG. Each group contains four variables and ten
67
+ selected statistics (Table 1b) for each variable. Derived variables in groups
68
+ 5-8 are computed as indicated from individual observations of other variables,
69
+ e.g., the wind-stress parameter "X" is the product of W and U. In addition,
70
+ QS denotes saturation Q at SST.
71
+ -------------------------------------------------------------------------------
72
+ Group
73
+ 3 4 5 6 7 9
74
+ ===============================================================================
75
+ Sea sfc. temp. (S) Scalar wind (W) Total cloud. (C) D=S - A I=UA M=FU
76
+ Air temp. (A) Wind U-comp.(U) R E=(S - A)W J=VA N=FV
77
+ Specific hum. (Q) Wind V-comp.(V) X=WU F=QS - Q K=UQ B1=(W**3)*
78
+ Relative hum. (R) SLP (P) Y=WV G=FW L=VQ B2=(W**3)*
79
+ -------------------------------------------------------------------------------
80
+ * B1 and B2 are high- and low-resolution representations of B = W**3 (i.e.,
81
+ data increments of 0.5 or 5 m**3/s**3; see Table 4b).
82
+ ----------
83
+
84
+ Table 1b. Statistics in MSG. Each statistic is assigned a number and a
85
+ lower-case abbreviation (from Release 1, supp. A, Table A1-2).
86
+ -------------------------------------------------------------------------------
87
+ No. Abbrev. Variable
88
+ ===============================================================================
89
+ 9 s1 1/6 sextile (a robust estimate of the mean minus 1 standard dev.)
90
+ 11 s3 3/6 sextile (the median)
91
+ 13 s5 5/6 sextile (a robust estimate of the mean plus 1 standard dev.)
92
+ 6 m mean
93
+ 5 n number of observations
94
+ 7 s standard deviation
95
+ 1 d mean day-of-month of observations
96
+ 2 ht fraction of observations in daylight
97
+ 3 x mean longitude of observations
98
+ 4 y mean latitude of observations
99
+ -------------------------------------------------------------------------------
100
+
101
+ Following is a definition of the MSG header fields preceding the statistics
102
+ in the MSG format:
103
+
104
+ RPTIN
105
+ RPTID
106
+ The RPTIN field is reserved for use of the RPTIN unblocking utility, where
107
+ available (e.g., NCAR), and RPTID indicates the MSG format version number (1).
108
+
109
+ YEAR
110
+ The year can range from 1800 to 2054.
111
+
112
+ MONTH
113
+ 1=January, 2=February, ..., 12=December.
114
+
115
+ BSZ box size
116
+ 0 = 0.5 degree latitude x longitude (not currently used)
117
+ 1 = 1 degree latitude x longitude
118
+ 2 = 2 degree latitude x longitude
119
+
120
+ BLO box left (W) corner longitude (E)
121
+ BLA box lower (S) corner latitude (+N, -S)
122
+ Coordinates (half-degree precision) of the lower-left (SW) corner of the box
123
+ (BSZ gives the box size). For a given variable, the mean sample position
124
+ of the observations within a box can be obtained from:
125
+ mean longitude = BLO + x
126
+ mean latitude = BLA + y
127
+ Note that longitude is always measured in east coordinates. Because the x
128
+ values can range up to two degrees (one degree) for 2-degree (1-degree) boxes,
129
+ the resultant range of mean longitude is 0-360E.
130
+
131
+ PID1 product identification part 1
132
+ PID2 product identification part 2
133
+ Presently, PID1 is unused. PID2:
134
+ 0 = standard statistics (3.5 sigma trimming limits; ship data)
135
+ 1 = enhanced statistics (4.5 sigma trimming limits; ship + other data)
136
+
137
+ GRP group
138
+ Group number (3-7 or 9).
139
+
140
+ CK checksum
141
+ A checksum was computed and stored with each packed summary as a measure of
142
+ reliability during storage and transmission. The Fortran read program will
143
+ recalculate the checksum and compare it to the stored checksum. If
144
+ disagreement is found data processing will stop and an error statement will
145
+ be issued. This problem indicates that the data file is corrupted or the
146
+ access software is not correctly implemented.
147
+
148
+
149
+ {2. Details of Monthly Summary Groups (MSG)}
150
+
151
+ Table 2 shows the bit layout in common to any MSG (regardless of group number);
152
+ Tables 3a through 3f show the bit layout of each of the 64-bit or 16-bit
153
+ sections of groups 3-7 and 9 (note that Tables B1-1b through B1-1f in Release
154
+ 1, supp. B give identical bit layouts for groups 3-7 in the MSTG1 format).
155
+ Each variable is assigned a number and an upper-case abbreviation (from Release
156
+ 1, supp. A, Table A1-1).
157
+
158
+ Example of bit layout: If we denote the lower-case abbreviation for each
159
+ statistic by "a" and the upper-case abbreviation for each variable by "B",
160
+ group 3 contains, in order, RPTIN, RPTID, ..., CK followed by:
161
+ ((aB, B = S,A,Q,R), a = s1,s3,s5,m,n,s,d,ht,x,y)
162
+ I.e., s1 of S, s1 of A,..., s1 of R; s3 of S, s3 of A,..., s3 of R; ... ;
163
+ y of S, y of A,..., y of R.
164
+
165
+ The MSG format was developed as an extension and enhancement to the MSTG
166
+ format; following is a summary of changes in comparison to MSTG2:
167
+ a) Header information (first 64 bits): The 2- and 10-degree box numbers
168
+ are omitted. Instead, the box size and coordinates are specified
169
+ (thus accommodating different box systems within the MSG format).
170
+ Data falling precisely at the North (or theoretically at the South)
171
+ Pole are handled differently in MSG: there are no 2-deg (or 1-deg)
172
+ boxes dedicated to +90 or -90 latitude, as in the 2-degree box system
173
+ used for MSTG. Instead, data are assigned to boxes adjoining the
174
+ poles based on reported longitude and other box inclusivity rules
175
+ (see Release 1, supp. G). Header fields also were added for product
176
+ identification (i.e., standard versus enhanced statistics).
177
+
178
+ b) The 1st and 5th sextiles were added, and the estimated standard
179
+ deviation was replaced by the actual standard deviation; the estimate
180
+ can however still be computed, i.e., (s5 - s1)/2.
181
+
182
+ c) The units and ranges (of true values) of the mean longitude and
183
+ latitude of the observations (x and y) depend on the box size, as
184
+ detailed in sec. 3.
185
+
186
+
187
+ Table 2. The Monthly Summary Group (MSG1) format. Fields added (with respect
188
+ to MSTG2) are marked by a double asterisk (**), and when the number of bits for
189
+ a field has changed (*), the old MSTG2 value is shown in parentheses.
190
+ -------------------------------------------------------------------------------
191
+ No. Abbrev. Description Bits
192
+ ===============================================================================
193
+ Header fields:
194
+ RPTIN (reserved) 12
195
+ RPTID (reserved) 4
196
+ YEAR 8
197
+ MONTH 4
198
+ BSZ box size 3**
199
+ BLO box left (W) corner longitude 10**
200
+ BLA box lower (S) corner latitude 9**
201
+ PID1 product identification part 1 3**
202
+ PID2 product identification part 2 3**
203
+ GRP group 4
204
+ CK checksum 4*(8)
205
+
206
+ Statistics:
207
+ 9 s1 1/6 sextile (est minus 1 sigma) 64**
208
+ 11 s3 3/6 sextile (the median) 64
209
+ 13 s5 5/6 sextile (est plus 1 sigma) 64**
210
+ 6 m mean 64
211
+ 5 n number of observations 64
212
+ 7 s standard deviation 64**
213
+ 1 d mean day-of-month of observations 16
214
+ 2 ht fraction of observations in daylight 16
215
+ 3 x mean longitude of observations 16
216
+ 4 y mean latitude of observations 16
217
+
218
+ total 512*(384) = 64B
219
+ -------------------------------------------------------------------------------
220
+
221
+ Table 3a. Group 3, 64-bit or 16-bit sections.
222
+ -------------------------------------------------------------------------------
223
+ No. Abbr. Variable Bits Bits
224
+ ===============================================================================
225
+ 1 S sea surface temperature 16 4
226
+ 2 A air temperature 16 4
227
+ 8 Q specific humidity 16 4
228
+ 9 R relative humidity 16 4
229
+
230
+ total 64 16
231
+ -------------------------------------------------------------------------------
232
+
233
+ Table 3b. Group 4, 64-bit or 16-bit sections.
234
+ -------------------------------------------------------------------------------
235
+ No. Abbr. Variable Bits Bits
236
+ ===============================================================================
237
+ 3 W scalar wind 16 4
238
+ 4 U vector wind eastward component 16 4
239
+ 5 V vector wind northward component 16 4
240
+ 6 P sea level pressure 16 4
241
+
242
+ total 64 16
243
+ -------------------------------------------------------------------------------
244
+
245
+ Table 3c. Group 5, 64-bit or 16-bit sections.
246
+ -------------------------------------------------------------------------------
247
+ No. Abbr. Variable Bits Bits
248
+ ===============================================================================
249
+ 7 C total cloudiness 16 4
250
+ 9 R relative humidity 16 4
251
+ 14 X WU 16 4
252
+ 15 Y WV (14-15 are wind stress parameters) 16 4
253
+
254
+ total 64 16
255
+ -------------------------------------------------------------------------------
256
+
257
+ Table 3d. Group 6, 64-bit or 16-bit sections.
258
+ -------------------------------------------------------------------------------
259
+ No. Abbr. Variable Bits Bits
260
+ ===============================================================================
261
+ 10 D S - A = sea-air temperature difference 16 4
262
+ 11 E (S - A)W = sea-air temperature difference*wind magnitude 16 4
263
+ 12 F QS - Q = (saturation Q at S) - Q 16 4
264
+ 13 G FW = (QS - Q)W (evaporation parameter) 16 4
265
+
266
+ total 64 16
267
+ -------------------------------------------------------------------------------
268
+
269
+ Table 3e. Group 7, 64-bit or 16-bit sections.
270
+ -------------------------------------------------------------------------------
271
+ No. Abbr. Variable Bits Bits
272
+ ===============================================================================
273
+ 16 I UA 16 4
274
+ 17 J VA 16 4
275
+ 18 K UQ 16 4
276
+ 19 L VQ (16-19 are sensible and latent heat transport parameters) 16 4
277
+
278
+ total 64 16
279
+ -------------------------------------------------------------------------------
280
+
281
+ Table 3f. Group 9, 64-bit or 16-bit sections.
282
+ -------------------------------------------------------------------------------
283
+ No. Abbr. Variable Bits Bits
284
+ ===============================================================================
285
+ 20 M FU 16 4
286
+ 21 N FV 16 4
287
+ 22 B1 B = W**3 (high-resolution representation) 16 4
288
+ 23 B2 B = W**3 (low-resolution representation) 16 4
289
+
290
+ total 64 16
291
+ -------------------------------------------------------------------------------
292
+
293
+
294
+ {3. Reconstruction of floating point data}
295
+
296
+ The Fortran access program provides the logic necessary to transfer binary data
297
+ into memory and then extract into INTEGER variables the bit strings whose
298
+ lengths are given in sec. 2. Refer to Release 1, supp. H for more information
299
+ about the techniques used.
300
+
301
+ Compression was achieved by packing data represented as positive integers
302
+ into fields whose lengths are specified in the bits column of Tables 2 and
303
+ 3a through 3f. To accomplish this, a field's floating point true value
304
+ was divided by its units (the smallest increment of the data that has been
305
+ encoded). Then the base was subtracted to produce, after rounding, a coded
306
+ positive integer, which was finally right-justified with zero fill in the
307
+ field's position within the summary. Using the true value mean of sea surface
308
+ temperature value 28.61 degrees C as an example, (28.61/0.01) - (-501) = 3362.
309
+
310
+ Once a given field has been extracted into the coded value, the true value can
311
+ be reconstructed by reversing the process:
312
+ true value = (coded + base) * units
313
+
314
+ The above true value example is reconstructed by (3362 + (-501)) * 0.01) =
315
+ 28.61 degrees C. NOTE: in each coded value, zero is reserved as an indicator
316
+ of missing data.
317
+
318
+ The coded and true value ranges, the units, and the base associated with each
319
+ header field and statistic will be found in Table 4a. In the case of the first
320
+ and fifth sextiles, median, mean, and standard deviation, these quantities are
321
+ different for each variable, hence cross-reference to Table 4b. Similarly for
322
+ the mean longitude and latitude of the observations, where the units depend on
323
+ box size, hence cross-reference to Table 4c.
324
+
325
+
326
+ Table 4a. Unpacking header fields and statistics. Notation is as follows:
327
+ m:n denotes m through n inclusive; @ is used as a plain text abbreviation for
328
+ the degree symbol. "Units" gives the smallest increment of the data that has
329
+ been encoded; thus a change of one unit in the integer coded value represents
330
+ a change in the true value of one of the units shown (units of 1 are explained
331
+ in the text).
332
+ -------------------------------------------------------------------------------
333
+ Abbr. Description True value Units Base Coded
334
+ ===============================================================================
335
+ Header fields
336
+ --------------------------------------------
337
+ RPTIN (reserved) n/a n/a n/a n/a
338
+ RPTID (reserved) n/a n/a n/a n/a
339
+ YEAR 1800:2054 1 1799 1:255
340
+ MONTH 1:12 1 0 same
341
+ BSZ box size 0:2 1 -1 1:3
342
+ BLO box left (W) corner longitude (E) 0:359.5 0.5@ -1 1:720
343
+ BLA box lower (S) corner latitude (+N, -S) -90.0:90.0 0.5@ -181 1:361
344
+ PID1 product identification part 1 (presently unused)
345
+ PID2 product identification part 2 0:1 1 -1 1:2
346
+ GRP group 3:9 1 0 same
347
+ CK checksum n/a n/a n/a n/a
348
+
349
+ Statistics
350
+ --------------------------------------------
351
+ s1 1/6 sextile (est minus 1 sigma) (all as given in Table 4b)
352
+ s3 3/6 sextile (the median) (all as given in Table 4b)
353
+ s5 5/6 sextile (est plus 1 sigma) (all as given in Table 4b)
354
+ m mean (all as given in Table 4b)
355
+ n number of observations 1:65535 1 0 same
356
+ s (e) standard deviation (or estimate; MSTG) 0:# Table 4b -1 1:#
357
+ d mean day-of-month of observations* 2:30 2 days 0.0 1:15
358
+ ht fraction of observations in daylight 0.0:1.0 0.1 -1 1:11
359
+ x mean longitude of observations Table 4c Table 4c -1 1:11
360
+ y mean latitude of observations Table 4c Table 4c -1 1:11
361
+ -------------------------------------------------------------------------------
362
+ * A coded value of 16, which would otherwise result when the calculated mean
363
+ day-of-month is 31 (e.g., 31/2 = 15.5, rounded = 16), is avoided by changing
364
+ 16 into a coded value of 15 prior to storage. This means that the coded value
365
+ 15 represents a slightly larger numeric interval than the other values.
366
+ # Standard deviations have a true value ranging upwards from zero for all
367
+ variables, thus the base is always -1. Units for each variable are still
368
+ chosen from Table 4b. [NOTE: The MSTG format contains the standard deviation
369
+ estimate instead of the standard deviation about the mean (s); this robust
370
+ estimate is computed from the fifth and first sextiles: e = (s5 - s1)/2.
371
+ For unpacking purposes, e is treated exactly like the corresponding standard
372
+ deviation of each respective variable.]
373
+ ----------
374
+
375
+ Table 4b. Unpacking variables (notation as for Table 4a). Variables 20-23
376
+ are unique to the MSG format; otherwise the information presented here follows
377
+ Release 1, supp. A, Table A2-4b.
378
+ -------------------------------------------------------------------------------
379
+ No. Abbrev. Variable True value* Units Base Coded
380
+ ===============================================================================
381
+ "Observed"
382
+ ------------------------------
383
+ 1 S sea surface temperature -5.00:40.00 0.01 @C -501 1:4501
384
+ 2 A air temperature -88.00:58.00 0.01 @C -8801 1:14601
385
+ 3 W scalar wind 0.00:102.20 0.01 m/s -1 1:10221
386
+ 4 U vector wind eastward comp. -102.20:102.20 0.01 m/s -10221 1:20441
387
+ 5 V vector wind northward comp. -102.20:102.20 0.01 m/s -10221 1:20441
388
+ 6 P sea level pressure 870.00:1074.60 0.01 hPa 86999 1:20461
389
+ 7 C total cloudiness 0.0:8.0 0.1 okta -1 1:81
390
+ 8 Q specific humidity 0.00:40.00 0.01 g/kg -1 1:4001
391
+
392
+ Derived
393
+ ------------------------------
394
+ 9 R relative humidity 0.0:100.0 0.1 % -1 1:1001
395
+ 10 D S - A -63.00:128.00 0.01 @C -6301 1:19101
396
+ 11 E (S - A)W -1000.0:1000.0 0.1 @C m/s -10001 1:20001
397
+ 12 F (saturation Q at S) - Q -40.00:40.00 0.01 g/kg -4001 1:8001
398
+ 13 G FW -1000.0:1000.0 0.1 g/kg m/s -10001 1:20001
399
+ 14 X WU -3000.0:3000.0 0.1 m**2/s**2 -30001 1:60001
400
+ 15 Y WV -3000.0:3000.0 0.1 m**2/s**2 -30001 1:60001
401
+ 16 I UA -2000.0:2000.0 0.1 @C m/s -20001 1:40001
402
+ 17 J VA -2000.0:2000.0 0.1 @C m/s -20001 1:40001
403
+ 18 K UQ -1000.0:1000.0 0.1 g/kg m/s -10001 1:20001
404
+ 19 L VQ -1000.0:1000.0 0.1 g/kg m/s -10001 1:20001
405
+ 20 M FU -1000.0:1000.0 0.1 g/kg m/s -10001 1:20001
406
+ 21 N FV -1000.0:1000.0 0.1 g/kg m/s -10001 1:20001
407
+ 22 B1 B = W**3 (high-resolution) 0.0:32767.0 0.5 m**3/s**3 -1 1:65535
408
+ 23 B2 B = W**3 (low-resolution) 0:327670 5 m**3/s**3 -1 1:65535
409
+ -------------------------------------------------------------------------------
410
+ * Each individual observation is checked against the given range of true values
411
+ (with B1 as an exception, as discussed below), and only individual observations
412
+ within range are included in the statistics. The total cloudiness code N=9 for
413
+ "sky obscured or cloud amount cannot be estimated" is thereby always rejected.
414
+ Generally other variables should fall within the true value ranges due to the
415
+ application of trimming (e.g., Release 1, Table C2-3) and other preprocessing.
416
+ B1 is handled differently, in that each observation of W**3 is checked only
417
+ against the true value column for B2 (not B1). Once final statistics for W**3
418
+ have been calculated, the attempt is made to store each W**3 statistic in both
419
+ B1 and B2. Should a given statistic exceed the highest value allowed for B1,
420
+ it is stored only in B2. Note that in this case one statistic (e.g., m) may
421
+ be stored in both B1 and B2, but another (e.g., s5) only in B2.
422
+ ----------
423
+
424
+ Table 4c. Unpacking mean longitude and latitude (x and y) of the observations,
425
+ depending on box size (BSZ) (notation as for Table 4a). After unpacking, it
426
+ should be noted that the resultant true values corresponding to the lower- and
427
+ upper-most coded values are not centered in the numerical intervals that they
428
+ represent. The lower portion of the table provides information about this
429
+ issue, also listing "best" adjusted values.
430
+ -------------------------------------------------------------------------------
431
+ Abbr. Description True value Units Base Coded
432
+ ===============================================================================
433
+ BSZ = 2 = 2 degree latitude x longitude:
434
+ x mean longitude of observations 0.0:2.0 0.2@ -1 1:11
435
+ y mean latitude of observations 0.0:2.0 0.2@ -1 1:11
436
+ BSZ = 1 = 1 degree latitude x longitude:
437
+ x mean longitude of observations 0.0:1.0 0.1@ -1 1:11
438
+ y mean latitude of observations 0.0:1.0 0.1@ -1 1:11
439
+ BSZ = 0 = 0.5 degree latitude x longitude (not currently used):
440
+ x mean longitude of observations 0.0:0.5 0.05@ -1 1:11
441
+ y mean latitude of observations 0.0:0.5 0.05@ -1 1:11
442
+
443
+ Resultant (and best numeric fit) mappings of coded values into true values:
444
+ Coded 2-degree 1-degree 0.5-degree
445
+ ----- ------------ ------------ ------------
446
+ 1 0.0 (0.05) 0.0 (0.02) 0.0 (0.01)
447
+ 2 0.2 0.1 0.05
448
+ 3 0.4 0.2 0.1
449
+ 4 0.6 0.3 0.15
450
+ 5 0.8 0.4 0.2
451
+ 6 1. 0.5 0.25
452
+ 7 1.2 0.6 0.3
453
+ 8 1.4 0.7 0.35
454
+ 9 1.6 0.8 0.4
455
+ 10 1.8 0.9 0.45
456
+ 11 2.0 (1.95) 1.0 (0.98) 0.5 (0.49)
457
+ -------------------------------------------------------------------------------
@@ -0,0 +1,94 @@
1
+ ##################################################################################
2
+ #
3
+ # Title : msg3.0_subset_readme.txt
4
+ # Author : Zaihua Ji, zji@ucar.edu
5
+ # Date : 08/30/2016
6
+ # 2025-02-28 transferred to package rda_python_icoads from
7
+ # https://github.com/NCAR/rda-icoads.git
8
+ # Purpose : template readme file for sending users the info of subset request
9
+ # of ICOADS 3.0 MSG data
10
+ #
11
+ # Github : https://github.com/NCAR/rda-python-icoads.git
12
+ #
13
+ ##################################################################################
14
+ #
15
+ ---------------------------------------------------
16
+ ICOADS 3.0 MSG Subset Data Summary
17
+ ---------------------------------------------------
18
+
19
+ File naming conventions
20
+ -----------------------
21
+ MSGresol.variable.stattype.startdate.enddate_nn.comp
22
+
23
+ resol - MSG data resolution
24
+ variable - variable identifier, see Table 1a in document file "msg"
25
+ stattype - statistic type, either standard (std) or enhanced (enh),
26
+ see file "R3.0-stat_doc.pdf" for more information on std and enh
27
+ startdate - starting date, yyyymm
28
+ enddate - ending date, yyyymm
29
+ nn - file sequence number, nn = 1,2,....
30
+ {nn = 2 and larger will only exist for large data requests.
31
+ Time increases monotonically in file nn = 1, 2, 3, etc.}
32
+ comp - data file compression suffix, Z = Unix compress, .gz = GNU Zip,
33
+ no suffix means no compression.
34
+
35
+
36
+ File Content
37
+ ------------
38
+ Each subset data file contains only one variable and begins with two header lines. An example is:
39
+ ----------------------------------------------------------------------------------------------------------------
40
+ Variable name : S , description : sea surface temperature 0.01 @C, format(i5,2i4,2f7.1,i5,10f8.2)
41
+ YEAR MON BSZ BLO BLA PID2 S1 S3 S5 M N S D HT X Y
42
+ ----------------------------------------------------------------------------------------------------------------
43
+
44
+ The first line identifies the variable (S in this case), the precision and units,
45
+ and Fortran format. The second line shows data column labels. Other variables
46
+ and statistic definition are found in the document file "msg" in Tables 1a and 1b.
47
+
48
+ Lines three through the end of file are data records. An example is:
49
+
50
+ 1960 1 2 310.0 -26.0 1 26.70 26.70 26.70 26.70 1.00 0.00 14.00 0.00 1.80 0.40
51
+ 1960 1 2 312.0 -26.0 1 25.05 25.60 26.20 25.64 23.00 0.87 16.00 0.30 1.20 0.80
52
+ 1960 1 2 314.0 -26.0 1 23.28 24.50 24.84 24.30 7.00 0.95 16.00 0.30 0.60 1.60
53
+ 1960 1 2 316.0 -26.0 1 25.62 26.10 26.58 26.08 11.00 0.44 16.00 0.50 1.00 1.00
54
+
55
+ Things to NOTE:
56
+
57
+ 1) Only boxes that have observations will have data records. NO
58
+ interpolation is done to fill in temporal or spatial data gaps.
59
+
60
+ 2) Reference longitude and latitude (BLO, BLA) refer to the south
61
+ west corner of the 2x2 or 1x1 box. Longitude is always measured
62
+ in east (E) coordinates, i.e. (0-360).
63
+
64
+ 3) The mean location of the observations within the box is determined
65
+ by, mean longitude = BLO + X, mean latitude = BLA + Y.
66
+
67
+
68
+ Supporting documentation files
69
+ ------------------------------
70
+ R3.0-stat_doc.pdf - general description of various COADS statistic products,
71
+ resolutions, and available time periods
72
+
73
+ msg - specific description of the MSG data product
74
+
75
+
76
+ Variables Selected
77
+ ------------------
78
+ See document file 'msg' for details.
79
+
80
+ __VARLIST__
81
+
82
+ Subsetting Summary
83
+ ------------------
84
+ user name : __USER__
85
+ latitude limits(+N,-S) : __LATS__
86
+ longitude limits(+E only): __LONS__
87
+ date limits(yyyymm) : __DATES__
88
+ data resolution : __RESOL__
89
+ statistic type : __PTYPE__
90
+ records input : __INRECS__
91
+ records output : __OUTRECS__
92
+ size input : __INSIZES__
93
+ size output : __OUTSIZES__
94
+