Mercurial > dive4elements > river
changeset 6415:1bdfc099286e double-precision
Flow Velocity Model Parser: another fix of main value guessing
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Tue, 25 Jun 2013 13:22:25 +0200 (2013-06-25) |
parents | 61e55f36e764 |
children | 9787773e7bee |
files | backend/src/main/java/org/dive4elements/river/importer/parsers/FlowVelocityModelParser.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/FlowVelocityModelParser.java Tue Jun 25 10:57:08 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/FlowVelocityModelParser.java Tue Jun 25 13:22:25 2013 +0200 @@ -40,7 +40,7 @@ Pattern.compile("(.*) Q=(\\w*)m3/s"); private static final Pattern META_MAINVALUE_A = - Pattern.compile("([a-zA-Z]+)+(\\d+)*\\S*"); + Pattern.compile("([a-zA-Z]+)+(\\d+)*[\\w()]*"); private static final Pattern META_MAINVALUE_B = Pattern.compile("(([a-zA-Z]+)+(\\d+)*)\\s*-\\s*(([a-zA-Z]+)+(\\d+)*\\S*)");