1ldmConnect() ldmConnect()
2
3
4
6 ldmConnect pieces together segmented zone forecasts or other segmented
7 products with WMO segment identifiers PAA, PAB, etc. For more informa‐
8 tion about the segmentation of large products and the use of bulletin
9 segment heading lines utilizing the Pxx Indicator Group, see
10
11 http://www.nws.noaa.gov/oso/bbb.shtml#part
12
13
14
16 ldmConnect [-a] [-s] [-l] -e ext
17
19 The "ldmConnect" script orders and combines bulletin segments in memo‐
20 ry, strips out extra headers, and then writes the completed bulletin.
21 If "ldmConnect" exits, it writes an "inProgress" file to maintain the
22 current state of processing. When restarted, "ldmConnect" reads the
23 "inProgress" file first. Non split reports are written directly.
24
25
27 perl5.003 installed on the system, located in /usr/local/bin
28
29
31 Usage with input on STDIN:
32
33
34 -a locates bulletin in dir structure "station ID"/"bulletin ID"/
35
36
37 -s strips out control characters (other than newline)
38
39
40 -l turns on logging to create log files of the form "connect‐
41 Log.<PID>.wmo"
42
43
44 -e sets the file extension, default is "_for.wmo". File format is:
45 yyyymmddhh + extension.
46
47
48 yyyymm is the current year and month. Current yyyymm is default.
49
50
51 datadir
52 is the output directory for data, inProgress, and log files.
53
54
56 Command line:
57 % ldmConnect 9704 . < 96040100_for.wmo
58
59
60 pqact.conf:
61
62 # ldmConnect, joins split bulletins, writes all bulletins
63
64 DDS|PPS ^F[PTXEQWZ].... .... ([0-3][0-9])
65 PIPE /usr/local/ldm/decoders/ldmConnect
66 (1:yyyy)(1:mm) data/forecasts
67
68
69
71 If you have problems with this program, then you should first examine
72 the decoders email archive for similar problems and how they were
73 solved. The email archive is available via the following World Wide
74 Web URL:
75
76 http://www.unidata.ucar.edu/packages/decoders
77
78 If this does not suffice and your site is a member of the Unidata pro‐
79 gram, then send an inquiry via email -- together will all relevant in‐
80 formation -- to
81
82 support@unidata.ucar.edu
83
84
85
86 ldmConnect()