comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/SQRelationParser.java @ 5458:e667c127b600

Removed column 'fraction' from sq relation parser and model.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 27 Mar 2013 13:02:53 +0100
parents 3bd786772798
children 9d11717538ec
comparison
equal deleted inserted replaced
5457:1b676aefaf3a 5458:e667c127b600
117 Double rSq = parseDouble(cols[9], line); 117 Double rSq = parseDouble(cols[9], line);
118 Integer nTot = parseInteger(cols[10], line); 118 Integer nTot = parseInteger(cols[10], line);
119 Integer nOutlier = parseInteger(cols[11], line); 119 Integer nOutlier = parseInteger(cols[11], line);
120 Double cFer = parseDouble(cols[12], line); 120 Double cFer = parseDouble(cols[12], line);
121 Double cDuan = parseDouble(cols[13], line); 121 Double cDuan = parseDouble(cols[13], line);
122 if (km == null || a == null || b == null) { 122 if (km == null || a == null || b == null || cols[1].length() == 0) {
123 log.error("Incomplete SQ-relation row (missing km, a or b): " 123 log.error("Incomplete SQ-relation row (missing km, a, b or parameter): "
124 + line); 124 + line);
125 return; 125 return;
126 } 126 }
127 current.addValue(new ImportSQRelationValue( 127 current.addValue(new ImportSQRelationValue(
128 cols[1], 128 cols[1],
129 cols[2],
130 km, 129 km,
131 a, 130 a,
132 b, 131 b,
133 qMax, 132 qMax,
134 rSq, 133 rSq,

http://dive4elements.wald.intevation.org