comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculator.java @ 8978:b5600453bb8f

SINFO Calculations: do not produce result rows if some input data has missing values. Also check for years of waterlevels in flow depth development calculation.
author gernotbelger
date Thu, 05 Apr 2018 11:57:54 +0200
parents a4f1ac81f26d
children d5802f22e4f5
comparison
equal deleted inserted replaced
8977:bf8a9df86f32 8978:b5600453bb8f
75 75
76 // REMARK: access the location once only during calculation 76 // REMARK: access the location once only during calculation
77 final String location = this.riverInfoProvider.getLocation(station); 77 final String location = this.riverInfoProvider.getLocation(station);
78 row.putValue(SInfoResultType.location, location); 78 row.putValue(SInfoResultType.location, location);
79 79
80 this.tkhCalculator.calculateTkh(station, row); 80 if (this.tkhCalculator.calculateTkh(station, row))
81 81 this.rows.add(row);
82 this.rows.add(row);
83 } 82 }
84 } 83 }

http://dive4elements.wald.intevation.org