Issue #2378 improve 3/6 hr precip decoding

Change-Id: I115e2be022a7ca12c149bbb927011038047512b6

Former-commit-id: 7eeadd3966 [formerly 835b164444] [formerly 71393966c9b9ea94119df677cf525bb704f5a564 [formerly 9133509529]] [formerly 9bb1db8888 [formerly 9133509529 [formerly db5c004194645231b1591b67bbef3d3d14cce208]]]
Former-commit-id: 9bb1db8888
Former-commit-id: 55531e91acaf77b9d969ee219763be594e62f252 [formerly 7d5398c3b3]
Former-commit-id: d7daf2c89d
This commit is contained in:
Nate Jensen 2013-09-17 16:24:23 -05:00
parent c2e71b5292
commit ba10032ad8

View file

@ -78,6 +78,7 @@ import com.vividsolutions.jts.geom.impl.CoordinateArraySequence;
* handle CB/TCU and /// data.
* Nov 11, 2008 1684 chammack Camel refactor.
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
* Sep 17, 2013 2378 njensen Improve 3/6 hr precip decoding
* </pre>
*
* @author bphillip
@ -157,11 +158,11 @@ public class MetarDecoder extends AbstractDecoder {
/** Regular expression for the 3 hour precipitation */
public static final Pattern PRECIP_3HR_EXP = Pattern
.compile("\\s6(\\d{3,4}|////)\\s");
.compile("\\s6(\\d{4}|////)\\s");
/** Regular expression for the 3 hour precipitation */
/** Regular expression for the 24 hour precipitation */
public static final Pattern PRECIP_24HR_EXP = Pattern
.compile("\\s7(\\d{3,4}|////)\\s");
.compile("\\s7(\\d{4}|////)\\s");
/** Regular expression for the 3 hour pressure change */
public static final Pattern PRESS_CHANGE_EXP = Pattern