diff backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java @ 7886:952b57b43e2f

Importer: depths are always numbers assumed to represent centimeters.
author Tom Gottfried <tom@intevation.de>
date Fri, 16 May 2014 17:51:55 +0200
parents a575eaae7899
children 07cc4cd9233e
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java	Fri May 16 17:12:36 2014 +0200
+++ b/backend/src/main/java/org/dive4elements/river/importer/parsers/PorosityParser.java	Fri May 16 17:51:55 2014 +0200
@@ -38,7 +38,7 @@
         NumberFormat.getInstance(DEFAULT_LOCALE);
 
     public static final Pattern META_DEPTH =
-        Pattern.compile("^Tiefe: (\\w++)-(\\w++)( (\\w++))?.*");
+        Pattern.compile("^Tiefe: (\\d++)-(\\d++).*");
 
     public static final Pattern META_TIMEINTERVAL =
         Pattern.compile("^Zeitraum: (\\d{4})-(\\d{4}).*");

http://dive4elements.wald.intevation.org