Issue #2378 improve 3/6 hr precip decoding

Change-Id: I115e2be022a7ca12c149bbb927011038047512b6

Former-commit-id: 835b164444 [formerly 9133509529] [formerly 9bb1db8888 [formerly db5c004194645231b1591b67bbef3d3d14cce208]]
Former-commit-id: 9bb1db8888
Former-commit-id: 7d5398c3b3
This commit is contained in:
Nate Jensen 2013-09-17 16:24:23 -05:00
parent 0ba44c3e92
commit d7daf2c89d

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