comparison flys-artifacts/ChangeLog @ 751:8d5bd3a08dd1

merged flys-artifacts/2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:14 +0200
parents b24be063f8d2
children 9e72d1c95b85
comparison
equal deleted inserted replaced
618:6fd6c223b81e 751:8d5bd3a08dd1
1 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
2
3 Tagged RELEASE 2.4
4
5 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
6
7 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
8 src/main/java/de/intevation/flys/exports/WstWriter.java:
9 Append the corrected W column (if existing) to the WST export.
10
11 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
12
13 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
14 Guessing increaing w is not based on direct neighbors any more.
15 The second to be compared with is choosen by random of
16 the values before the first one. This makes the guessing
17 more robust against 'plateaus' of equal w values.
18
19 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
20
21 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array
22 for constructing the spline was too large leading to non-increasing
23 values.
24
25 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
26
27 Fix for flys/issue150
28
29 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
30 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
31 Invert the x axis if its guessed that water is increasing.
32
33 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
34
35 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing):
36 Added a method to guess based on a given factor of the size (default 0.05)
37 if the water levels are increasing. Needed to determine in which direction
38 the water level curve should be orientated. Based on random to avoid
39 running over large dataset each time a diagram is generated.
40
41 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
42
43 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers)
44
45 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
46 Commented out code to generate time ranges for series names. There
47 seems to be a problem while loading the discharge tables of a gauge or
48 while determining the start and/or end time of such discharge tables.
49
50 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
51
52 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace.
53
54 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
55
56 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
57 Removed dead code.
58
59 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
60
61 Fix for flys/issue173
62
63 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
64 Fixed the way the gauge was found for a given interval.
65 The old way does not work because it was just tested if
66 the station point was inside the segments which is not
67 necessarily true. The obvious solution to simply check
68 the overlapping intervals does not work either because
69 the gauge ranges touch each other and so more than
70 one gauge are returned in these cases. The River.maxOverlap()
71 is now used to find the gauge with the max overlapping
72 range.
73
74 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
75
76 Fix for flys/issue147
77
78 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
79 Removed the 'kmUp' flag. It was an left over from former
80 WSP calculations (w/o ref km) leading to wrong results now.
81
82 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
83 Don't pass the kmUp flag to the calculation.
84
85 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
86 Added debug output to see the value of 'wq_free'.
87
88 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
89
90 Fix for flys/issue86
91
92 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
93 The reference gauge for calculations "am Pegel" was determined
94 wrong.
95
96 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
97
98 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
99 Conversion w->q was broken. This should fix a number of issues
100 around "W am Pegel" calculations.
101
102 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
103 Issue an error report if a w->q conversion fails.
104
105 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
106 The gauge to convert w->q with its discharge table was determined wrong.
107
108 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
109
110 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms
111 anders dargestellt als bei Ansicht auf gesamten Wertebereich)
112
113 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
114 The chart will now have upper margins again.
115
116 2011-06-24 Ingo Weinzierl <ingo@intevation.de>
117
118 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen)
119
120 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
121 Charts of this type will have the lower X value set to "0".
122
123 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
124
125 * src/main/java/de/intevation/flys/exports/ATWriter.java:
126 Results are now in cm. Made it more robust against corner cases.
127
128 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
129 Removed superfluous import.
130
131 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
132
133 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml:
134 Added facet config for AT exports.
135
136 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
137 Added 'at' facet type.
138
139 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
140 Generate AT facets.
141
142 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
143
144 * src/main/java/de/intevation/flys/exports/ATExporter.java: New.
145 Exporter for AT facets. Needs testing.
146
147 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
148
149 * src/main/java/de/intevation/flys/exports/ATWriter.java: New.
150 Writer for AT files. New code because our data model differs
151 from Desktop-FLYS. Needs testing.
152
153 2011-06-23 Ingo Weinzierl <ingo@intevation.de>
154
155 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
156
157 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
158 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
159 Moved the method that adjusts the X-axis to include the "0" value from
160 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both
161 charts will include the "0" on the X-axis.
162
163 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
164
165 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
166 Based on WQ now to make it exportable as AT.
167
168 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
169
170 * src/main/java/de/intevation/flys/artifacts/model/WQ.java:
171 New. Base class for WQKms.
172
173 TODO 1: make it a base class for WQDay, too,
174 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven"
175 calculations. This will save memory.
176
177 AT exporter will get instances of this class as data model
178
179 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
180 Add default constructor to ease inheritance.
181
182 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
183 Based on WQ now. Removed code allready defined in base class.
184
185 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
186
187 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports
188 of "Abflusskurven am Pegel". Maybe we don't need them?
189
190 * doc/conf/conf.xml: Configure report for each calculated output type.
191
192 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
193
194 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur)
195
196 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
197 Create the items with range information for W and Q which allows the
198 client to validate the user inserted values.
199
200 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
201
202 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
203 Arguments in filling datastructure were flip. Now
204 the "Abflusskurve am Pegel" looks correct again.
205
206 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
207 Removed superfluous imports.
208
209 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
210
211 Improved situtation on rendering "Abflusskurve am Pegel". Not
212 fully working, yet.
213
214 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too.
215
216 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled
217 the facet which prevented the facets from being to the outputs.
218
219 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java:
220 Extended to store the hash and the state id of the producing artifact/state
221 else it results in NPEs because the data is calculated on later (wrong) states.
222
223 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
224 Store the state id and the hash in the facet, too.
225
226 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two
227 method to do calculations for a state the artifact is currently not in
228 and fetching the current state id.
229
230 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
231
232 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel"
233 Not working by now. :-/
234
235 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type
236 for "Abflusskurven am Pegel"
237
238 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation
239 in the artifact not in the output generator.
240
241 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
242 Generate the new facets.
243
244 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
245 Fetch data from facet.
246
247 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
248
249 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0)
250
251 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
252 The Q axis (which is the second y axis) initially contains the 0 value.
253 After a zoom action has taken place, this behaviour is no longer
254 supported.
255
256 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
257
258 Draw correction curve again.
259
260 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
261 Use correction curve to map plot to axes. Not doing so prevented
262 the correction curve from being drawn!
263 Smaller code cleanups and simplifications.
264
265 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
266 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
267 Added methods to directly access the components w, q and c
268 at a given index.
269
270 * src/main/java/de/intevation/flys/exports/ChartGenerator.java:
271 Attribute access via DOM instead of XPath.
272
273 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
274 Code simplification.
275
276 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
277
278 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve)
279
280 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted
281 up zooming for x and y axes to be able to override specific axis
282 zoom behaviour.
283
284 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
285 The lower bound of the x axis (which is the Q axis in such chart) is
286 always 0.
287
288 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
289
290 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben)
291
292 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
293 Added a margin between chart data and chart axes.
294
295 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
296
297 Fix for flys/issue158
298
299 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
300 Checks for right class now.
301
302 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
303
304 Fix for flys/issue154
305
306 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
307 Checks for right class now.
308
309 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
310
311 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
312 Only generate 'outs' if they have facets.
313
314 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
315 'boolean ? true : false' <=> 'boolean'
316
317 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
318
319 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
320 Added the time-to-live to the DESCRIBE document.
321
322 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
323
324 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets.
325
326 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
327
328 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
329 Return the report.
330
331 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
332 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
333 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
334 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java:
335 Generate report facets if there are problems with the calculations.
336 TODO: Adjust winfo.xml to configure the facets.
337
338 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
339
340 * src/main/java/de/intevation/flys/exports/ReportGenerator.java:
341 New. Generator for calculation reports.
342
343 * doc/conf/conf.xml: Added ReportGenerator.
344
345 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
346 Added type 'report'.
347
348 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java:
349 Specialized facet for serving reports. TODO: Added them to the
350 calculation states.
351
352 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
353 Looped through CallMeta for i18n purposes. TODO: do i18n
354
355 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
356 Removed superfluous import.
357
358 * src/main/java/de/intevation/flys/exports/AbstractExporter.java:
359 Added some override annotations.
360
361 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
362
363 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java:
364 New. Used to transport the data and the error report.
365
366 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
367 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java,
368 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java,
369 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java,
370 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java,
371 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
372 src/main/java/de/intevation/flys/artifacts/model/Calculation.java,
373 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
374 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
375 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
376 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
377 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
378 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
379 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
380 Use the CalculationResult now.
381
382 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
383
384 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
385 Allow an explicit reference km to enable calculation "am Pegel".
386
387 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
388 If a calculation "am Pegel" is done, take start km of the
389 calculation range and find the gauge in which range it is located.
390 Take the station of the gauge as the reference km. If no gauge
391 is found the calcualtion falls back to calculation "auf freier Strecke".
392
393 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
394 Replaced another inefficient attribute extraction via XPath
395 with direct DOM access.
396
397 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
398
399 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
400 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java,
401 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
402 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
403 Removed dead code.
404
405 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
406
407 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java
408 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java,
409 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java,
410 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
411 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
412 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
413 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
414 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java,
415 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
416 Only generate facets when needed.
417
418 * src/main/java/de/intevation/flys/collections/OutputParser.java:
419 Removed more XPath for simply accessing attributes of an element.
420
421 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough,
422 LRU as eviction strategy is sufficent.
423
424 * src/main/java/de/intevation/flys/collections/AttributeWriter.java,
425 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use
426 more 'standard' Java naming conventions.
427
428 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
429
430 Merged in the facet-slt branch to bring in the 'facet' feature.
431
432 * doc/conf/artifacts/winfo.xml: Fixed some facets.
433
434 * doc/conf/cache.xml: Added a "computed.values" cache to store the
435 results of the WINFO calculations.
436
437 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java:
438 Add support for index per facet to make them unique and identifiable.
439
440 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java:
441 New. Inteface to be used to access the facet names of the configuration.
442
443 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New.
444 A facet to be used to have raw access to the computed data of an artifact.
445 Useful to export things like CSV and WST.
446
447 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New.
448 Specialized facet to access the water level data stored in WQKms arrays.
449
450 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New.
451 Specialized facet to access the duration data stored in WQDay data structures.
452
453 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are
454 now generated dynamically from the current available ones stored with
455 the artifact.
456
457 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added
458 methods computeAdvance() and computeFeed() called if artifact is fed or
459 adance. This overwritten in subclasses to do the state depending calculations.
460
461 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
462 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
463 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
464 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
465 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These
466 states overwrites the computeAdvance() and computeFeed() methods to do
467 the corresponding WINFO calculations.
468
469 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls
470 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized
471 the caching mechanism.
472
473 * src/main/java/de/intevation/flys/exports/AbstractExporter.java,
474 src/main/java/de/intevation/flys/collections/AttributeParser.java,
475 src/main/java/de/intevation/flys/collections/OutputParser.java,
476 src/main/java/de/intevation/flys/collections/AttributeWriter.java,
477 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
478 Adjusted the code to cope with the indices of the facets. Used
479 DOM to access the attributes instead of XPath. Removed smaller bugs
480 concerning position generation.
481
482 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java,
483 src/main/java/de/intevation/flys/exports/ChartGenerator.java,
484 src/main/java/de/intevation/flys/exports/OutGenerator.java:
485 Forwarded facet references.
486
487 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
488 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
489 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
490 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
491 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java,
492 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
493 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
494 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
495 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
496 Uses facets to fetch data and generate output now.
497
498 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
499
500 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that
501 determines the mode of calculation 1. If it is "false" (default),
502 the calculation should be bound to a gauge.
503
504 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
505 method to retrieve the information about the "wq_free" parameter.
506
507 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
508
509 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in
510 computation 4.
511
512 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
513
514 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
515 Got rid of namespace in result document.
516
517 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
518
519 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien)
520
521 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
522 Give the curves in the chart names.
523
524 * src/main/resources/messages.properties,
525 src/main/resources/messages_de_DE.properties,
526 src/main/resources/messages_en.properties,
527 src/main/resources/messages_de.properties: Added titles for duration
528 chart curves.
529
530 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
531
532 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
533 Write top 'Oberkante' and bottom 'Unterkante' to out going XML
534 if they exist.
535
536 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
537
538 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
539 Write the min/max W/Q ranges as art:range elements into the DESCRIBE.
540
541 2011-06-14 Ingo Weinzierl <ingo@intevation.de>
542
543 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
544 This state that is used to retrieve locations will now write the
545 kilometer range of the selected river into the DESCRIBE document.
546
547 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
548
549 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java:
550 New. Factored out version of "Wasserspiegellage" calculation.
551 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
552
553 Removed some dead code.
554
555 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
556 Added Override annotation and used quick access method.
557
558 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
559 Looped through error reporting use by interpolate.
560
561 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
562 Used factored out version of calculation 1. Removed dead code.
563
564 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
565
566 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java:
567 New. Factored out version of "Abflusskurve".
568
569 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
570 Loop errors through w/q at km interpolation.
571
572 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
573 Use factored out version of calculation 2.
574
575 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
576
577 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java:
578 New. Factored out version of "Dauerzahlen".
579
580 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
581 Loop errors through for q->w interpolations.
582
583 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
584 Added constructor to directly create with calculated results.
585
586 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
587 Added method to return the number of problems.
588
589 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
590 Use factored out version of calculation 3.
591
592 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
593
594 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java,
595 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java,
596 src/main/java/de/intevation/flys/artifacts/model/WQDay.java:
597 Added methods to remove NaN values.
598
599 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
600
601 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java:
602 New. Base class for calculations. Used to collect problems occuring
603 during calculation.
604
605 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
606 Extends Calculation now. Looped through the problem reports to
607 base class.
608
609 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
610 Looped through the problem reports.
611
612 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
613
614 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
615 Append the min/max range and a transformation matrix for each axis.
616
617 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
618 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance.
619
620 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
621 Changed the zoom operation. The zoom values defined in the chart request
622 document are no longer absolute values for a specific axis. Those values
623 represent percental values for the start and end point of x and y axes.
624 E.g. a chart has three axes with the following ranges:
625 - x axis : 0 - 10
626 - y axis 1: 20 - 40
627 - y axis 2: 40 - 90
628 - zoom values for x: 0.1 - 0.9 (10% - 90%)
629 - zoom values for y: 0.2 - 0.8 (20% - 80%)
630 The produced chart will have the following ranges:
631 - x axis : 1 - 9
632 - y axis 1: 24 - 36
633 y axis 2: 50 - 80
634
635 2011-06-09 Ingo Weinzierl <ingo@intevation.de>
636
637 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
638 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
639 Map datasets to axes correctly.
640
641 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
642
643 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
644 Determine the gauges by their station positions. This hopfully
645 fixes the problem with wrong assigned gauges and invalid segments.
646
647 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
648
649 * src/main/java/de/intevation/flys/artifacts/model/Segment.java,
650 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
651 Added more debug output.
652
653 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
654
655 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz)
656
657 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
658 Selected values are formatted with the current locale. The static part
659 of the DESCRIBE document will now contain i18n formatted numbers.
660
661 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
662
663 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren)
664
665 * src/main/resources/messages_de_DE.properties,
666 src/main/resources/messages_de.properties: Changed the name of
667 calculation 4.
668
669 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
670
671 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
672 Made the range determination more robust against NaN values.
673
674 2011-06-08 Ingo Weinzierl <ingo@intevation.de>
675
676 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
677 The second y axis is set to position "1". It was set to "2" before, but
678 in that case, there was no position "1".
679
680 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
681
682 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
683 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
684 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
685 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
686 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
687 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
688 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
689 s@m³/s@m\\u00b3/s@
690
691 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
692
693 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
694 Only generate an axis element if a axis really exists.
695
696 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
697
698 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
699 Simpified array swapping.
700
701 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
702
703 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
704 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
705 Use java.util.List instead of java.util.Vector
706
707 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
708 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
709 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
710 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
711 Removed superfluous imports.
712
713 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
714
715 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
716 createItem() is not abstract any longer to avoid code repetitionin sub classes.
717
718 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java,
719 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
720 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
721 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
722 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java,
723 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
724 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java,
725 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
726 Removed duplicated code, inserted default constructors and Override annotations.
727
728 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
729
730 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
731 Append axes range information to the info document.
732
733 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
734
735 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
736 If feed() fails do not store invalid values in database.
737
738 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
739
740 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
741 Removed asymmetrical "- 1" from width calculation.
742
743 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
744
745 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
746 Fixed problem when more than one value per segment are given.
747
748 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de>
749
750 Refactored version of "Berechnung 4"
751
752 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
753 Added instance fields for a reference point (= location of gauge)
754 and backup of values (needed for naming).
755
756 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java:
757 Added a constructor to be created from a WQKms. This is helpful
758 if a WQKms is replaced by a back jump correction.
759
760 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java:
761 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt".
762 Much cleaner now and it should have a better handling of the corner
763 cases.
764
765 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
766 Removed the linear interpolation stuff. It is now in Linear. Removed
767 the LinearRemap interpolation method because it is not needed any
768 longer. Added a method to interpolate a given km with a given
769 function.
770
771 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
772 Removed the old calc 4 and used the new one.
773
774 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
775 Deleted. Not needed any longer.
776
777 * src/main/java/de/intevation/flys/artifacts/math/Function.java:
778 New. Interface for a uni-variate real function.
779
780 * src/main/java/de/intevation/flys/artifacts/math/Identity.java:
781 New. Implements Function with f(x) = x
782
783 * src/main/java/de/intevation/flys/artifacts/math/Linear.java:
784 New. Implements Function with f(x) = m*x + b
785
786 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
787 Factored some stuff out to DoubleUtil. Removed some dead code.
788 Does some rounding correct.
789
790 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New.
791 Centralized utils surrounding common double operations.
792
793 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
794 Removed superfluous imports.
795
796 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
797
798 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben)
799
800 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
801 Determine the ranges of x and y axes. If no zoom ranges are given, we
802 will determine the min and max xy values in the dataset manually,
803 because JFreeCharts adds a margin to the left and right of the data
804 area automatically..
805
806 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
807
808 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved
809 the chart creation into an own public method. This lets the
810 ChartInfoGenerator create charts without duplicating code.
811
812 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
813 Limited the possible class for generators to XYChartGenerator. This
814 enables the ChartInfoGenerator class to do the whole chart creation
815 stuff itself without outsourcing the code to concrete subclasses.
816
817 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
818 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
819 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
820 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
821 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
822 Removed the code to generate charts - this is done in ChartInfoGenerator
823 now.
824
825 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
826
827 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
828 methods to extract the x and y ranges from request document.
829
830 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
831 method that zooms the chart to the specified x and y ranges.
832
833 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
834
835 * doc/conf/conf.xml: Set collection ttl to 6 hours.
836
837 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
838
839 * src/main/java/de/intevation/flys/artifacts/model/Segment.java:
840 New. Parse segments only once.
841
842 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
843 Expose new parser to artifacts. TODO: Use it.
844
845 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
846
847 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
848 Changed interpolation methods to interpolate to an arbitrary position
849 in a given double result array as a preparation for segment independent
850 calculation.
851
852 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
853 Removed superfluous import.
854
855 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
856 Fixed cause for crashing: Run back too far in some siutations.
857
858 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
859 Refactored range code a bit. Needs more work.
860
861 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
862
863 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java:
864 Interchange the lower and upper x value of the chart if the x-axis is
865 inverted before the matrix values are computed. Now, the matrix is able
866 to work with charts that have an inverted x-axis.
867
868 2011-06-01 Ingo Weinzierl <ingo@intevation.de>
869
870 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A
871 chart info generator generates a document that contains meta information
872 for a specific chart. Concrete instances of this abstract class need to
873 instantiate concrete ChartGenerators and dispatch nearly all methods of
874 an OutGenerator (init(), doOut(), setMaster()) to this instance. The
875 generate() method is implemented in the ChartInfoGenerator itself. It
876 creates a chart with help of the ChartGenerator instance and builds a
877 document that contains meta information of this chart.
878
879 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New.
880 This helper is used to create the chart info document. At the moment,
881 the only information that is included in this document is a
882 transformation matrix to transform image coordinates into chart
883 coordinates.
884
885 NOTE: The transformation matrix creation needs some work to support
886 charts with inverted X axis.
887
888 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java,
889 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java,
890 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java,
891 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java,
892 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java:
893 Concrete instances of ChartInfoGenerator that create the chart info for
894 the currently supported chart types.
895
896 * doc/conf/conf.xml: Registered new OutGenerators.
897
898 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
899
900 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
901 Added support for the 'type' paramter of the collection's out()
902 operation.
903
904 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
905
906 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
907 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
908 Use an explicit reference km for interpolation now.
909
910 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
911
912 * doc/conf/cache.xml: Introduced cache to store the distance info per river.
913 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs.
914
915 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo
916
917 $ cat distances.xml
918 <?xml version="1.0" encoding="UTF-8"?>
919 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river>
920
921 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added
922 an iterator result to avoid construction expensive interim lists.
923
924 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use
925 the cache if configured.
926
927 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
928
929 flys/issue82
930
931 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
932 Only successful interpolations are named.
933
934 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
935
936 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
937 Make it work independent of river flow direction.
938
939 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
940 Fixed bug in ordering segments
941
942 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled
943 calculation of the back jump correction. Fixed more flow direction issues.
944
945 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
946
947 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
948 Removed call of XMLDebug class which is not in the version control.
949
950 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
951
952 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
953 Moved the code part that skips themes right after the part that sets the
954 master artifact for the OutGenerator. We need this master artifact to
955 display empty charts - master artifact is used to create titles and
956 axes.
957
958 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
959
960 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
961 Deactivated themes are not put into the chart.
962
963 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
964
965 * src/main/java/de/intevation/flys/collections/AttributeParser.java:
966 Repaired broken XPath expressions to find the output modes in an
967 attribute document of a collection.
968
969 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This
970 writer will now create a document that has a root node art:attribute.
971 Before these changes, the document's root node was art:outputs which is
972 part of the attribute document but not the right root node.
973
974 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
975 Adapted some XPath expressions and corrected the the process to create
976 attribute documents.
977
978 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
979
980 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
981 Made it work independent of from/to order.
982
983 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
984 Added method to extract the ranges correctly from data.
985
986 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
987 Use the correct ranges. Comment out backjump detection temporarily.
988
989 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
990
991 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
992 Generate fields for w/q input depend on flow direction.
993
994 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
995 Moved km up question out of loop.
996 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
997
998 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
999 Take the flow direction into account.
1000
1001 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
1002 Prevent NPE.
1003
1004 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java:
1005 Allow to be 'from' greater than 'to' in ranges.
1006
1007 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate
1008 step if 'from' is greater than 'to'.
1009
1010 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1011
1012 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1013 Round exploded values to a precision of 1e-6.
1014
1015 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1016
1017 Qs are now stored in ranges for each column.
1018
1019 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
1020 Deleted.
1021
1022 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
1023 Was WstValueTableFactory2.
1024
1025 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
1026 node linking bug. Removed dead code.
1027
1028 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1029 Q values are now stored in range trees by each column. The qs of the rows
1030 are removed and the calculations are adjusted. Removed dead code.
1031
1032 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1033
1034 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
1035 Moved cache name to WstValueTableCacheKey. Do not cache null references.
1036
1037 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
1038 Moved cache name into this class.
1039
1040 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1041 Store QRangeTree for each column of value table. TODO: Use them!
1042
1043 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java:
1044 Intended as a replacement for WstValueTableFactory, but is work in progress.
1045
1046 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed
1047 index errors and added methods to dump as graphviz graph.
1048
1049 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
1050
1051 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
1052 Improved the validation of WQ values.
1053
1054 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the
1055 correct input data object to determine the selected WQ mode (range or
1056 single input).
1057
1058 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
1059
1060 ISSUE-40 (part I/II)
1061
1062 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
1063 Write default values (values already selected by the user before) of the
1064 input data items into DESCRIBE.
1065
1066 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
1067
1068 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
1069 Removed needless imports.
1070
1071 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
1072
1073 ISSUE-85 (part III/III)
1074
1075 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
1076 Added a static function that returns the kilometer values (double[])
1077 from locations input (whitespace separated double values).
1078
1079 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted
1080 the getKms() method. It will now return a computed array of kilometers
1081 if we had inserted a range, or it will return the inserted kilometers if
1082 we had inserted locations.
1083
1084 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1085
1086 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
1087 Moved cache key to separate class.
1088
1089 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java:
1090 New. The new cache key class.
1091
1092 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1093
1094 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java:
1095 Model to store the q values of a WST column efficiently. First
1096 building block not to store the q values directly aside the
1097 w values.
1098
1099 2011-05-24 Ingo Weinzierl <ingo@intevation.de>
1100
1101 ISSUE-85 (part I/III)
1102
1103 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and
1104 'ld_locations' to the range/locations state to track the selected mode
1105 and locations.
1106
1107 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
1108 Added methods to validate the user inserted locations.
1109
1110 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
1111 method to determine of a range or locations have been inserted.
1112
1113 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
1114
1115 ISSUE-62 (part II/II)
1116
1117 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the
1118 artifacts state/data in DEBUG mode in describe().
1119
1120 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
1121 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java,
1122 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
1123 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
1124 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java,
1125 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java,
1126 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
1127 States will no longer store data. The only reason for states storing
1128 StateData is to know about the necessary data for this state. If a State
1129 needs to access the user input for a specific StateData object, it needs
1130 to query the FLYSArtifact which stores the data.
1131
1132 2011-05-23 Ingo Weinzierl <ingo@intevation.de>
1133
1134 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
1135 method to dump the artifacts state(s)/data.
1136
1137 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1138
1139 flys/issue84
1140
1141 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
1142 Forget to select wst kind.
1143
1144 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1145
1146 flys/issue81
1147
1148 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1149 weights for kms were swapped.
1150
1151 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
1152
1153 Tagged RELEASE 2.3.1
1154
1155 2011-05-20 Ingo Weinzierl <ingo@intevation.de>
1156
1157 * Changes: Prepared changes for the upcoming release.
1158
1159 2011-05-20 Hans Plum <hans@intevation.de>
1160
1161 * NEWS:
1162 Hint to Release 2.3.1. For further information look into module
1163 flys-client/NEWS
1164
1165 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1166
1167 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues):
1168 Increment kms array size by one to take the end of range, too.
1169
1170 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1171
1172 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
1173 Sort by rows (should not be necessary).
1174
1175 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1176 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem
1177 that some kms were not found.
1178
1179 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
1180
1181 flys/issue66
1182
1183 * src/main/resources/messages_en.properties: Fixed broken template.
1184
1185 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
1186
1187 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1188 Set the name of the computed discharge curve objects.
1189
1190 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1191 The curves of this chart will now have names that consist of the word
1192 'Discharge Curve', the river name and the kilometer that has been used
1193 for the computation.
1194
1195 * src/main/resources/messages.properties,
1196 src/main/resources/messages_de_DE.properties,
1197 src/main/resources/messages_en.properties,
1198 src/main/resources/messages_de.properties: Added i18n strings for the
1199 computed discharge curves.
1200
1201 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1202
1203 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1204 Added convenience method isQ() to determine if we are
1205 doing Q calculations.
1206
1207 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1208 Reintroduced titles for the "W for unausgeglichene Abfluesse".
1209
1210 2011-05-19 Ingo Weinzierl <ingo@intevation.de>
1211
1212 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1213 The curves will now have names that consist of the gauge name and its
1214 valid time range.
1215
1216 * src/main/resources/messages.properties,
1217 src/main/resources/messages_de_DE.properties,
1218 src/main/resources/messages_en.properties,
1219 src/main/resources/messages_de.properties: Added i18n strings for the
1220 discharge curves.
1221
1222 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1223
1224 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1225 Removed dead code.
1226
1227 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1228
1229 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1230 Use the correct method to generate kms.
1231
1232 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
1233 Added some logging to test the map in debug mode.
1234
1235 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1236
1237 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
1238 Made getExplodedValues static.
1239
1240 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1241 Use new logic to calculate "W für ungleichwertige Abfluesse".
1242 Not working, yet.
1243
1244 * ChangeLog: Fixed former entry.
1245
1246 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
1247
1248 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge
1249 longitudinal sections.
1250
1251 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the
1252 names of the discharge longitudinal section computation results.
1253
1254 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java:
1255 The W/Q curves in the chart will now have names.
1256
1257 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
1258 The WstWriter is filled with column names in an own method. So, we are
1259 able to override this process in subclasses.
1260
1261 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
1262 Adapted the column names for the WST export.
1263
1264 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1265
1266 Work on flys/issue69
1267
1268 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1269 Use new logic to calculate "Wasserstand/Wasserspiegellage".
1270 Compared to desktop FLYS are the results are structurally right
1271 but a bit off in the positions after the decimal points.
1272 Maybe a result of the interpolation? Need to debug this.
1273
1274 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
1275
1276 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1277 W and Q curves will now have names based on the defined W or Q values
1278 for the waterlevel computation.
1279
1280 2011-05-18 Ingo Weinzierl <ingo@intevation.de>
1281
1282 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java:
1283 New. This object is used to give objects a name.
1284
1285 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit
1286 from NamedObject now. Because we need to display names for those objects
1287 in different places.
1288
1289 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms
1290 objects returned by a waterlevel computation will now have names.
1291
1292 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
1293 Insert the column names for the WSTs into the WstWriter.
1294
1295 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column
1296 names are written into the head of the WSTs now.
1297
1298 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
1299
1300 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This
1301 class is used to store the W/Q values of a specific kilometer of a WST.
1302
1303 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer
1304 that creates WSTs.
1305
1306 TODO: The header of the WSTs is not finished. The Q descriptions are
1307 missing.
1308
1309 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java:
1310 Enabled WST exports.
1311
1312 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels.
1313
1314 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
1315
1316 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class
1317 supports functions to retrieve formatters for specific types of data
1318 used in FLYS.
1319
1320 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
1321 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
1322 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java,
1323 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
1324 Removed the formatter declaration - the whole formatter stuff is done in
1325 Formatter now.
1326
1327 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
1328
1329 ISSUE-72
1330
1331 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
1332 Repaired broken XPath expressions to extract start and end kilometer.
1333
1334 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1335
1336 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1337 Removed the Hibernate loading stuff.
1338
1339 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java:
1340 New. The Hibernate loading.
1341
1342 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1343 Use the WstValueTableFactory for loading now.
1344
1345 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
1346
1347 Tagged RELEASE 0.1 aka Version 2.3.0
1348
1349 2011-05-16 Hans Plum <hans@intevation.de>
1350
1351 * NEWS:
1352 New. Giving some user specific perspective to new functionality and
1353 changes. This file references releases dates only; details can be find
1354 in the client module at flys-client.
1355
1356 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1357
1358 First step to calculate "W fuer ungleichwertige Abfluesse" correctly.
1359 flys/issue55
1360
1361 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java:
1362 New. Remaps "gleichwertige" Q values to the corresponding
1363 "ungleichwertige" Q values depending on km.
1364
1365 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1366 Remap the Q values "ungleichwertig" depending on the
1367 "gleichwertige" ones.
1368
1369 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1370
1371 First step to fix flys/issue69
1372
1373 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1374 New code path to implement the calculation of "Wasserstand/Wasspiegellage"
1375 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code.
1376
1377 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
1378
1379 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes
1380 file to get to know about the changes of the version numbers.
1381
1382 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
1383
1384 ISSUE-37
1385
1386 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This
1387 state would be happy if there is a UI provider called "river_panel".
1388
1389 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
1390
1391 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new
1392 methods that return the requested chart size as integer array [width,
1393 height]. The requested size is read from the incomding request document.
1394
1395 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size
1396 of a chart is no longer static. The requested size is fetched using
1397 ChartGenerator.getSize().
1398
1399 2011-05-11 Ingo Weinzierl <ingo@intevation.de>
1400
1401 ISSUE-52
1402
1403 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1404 The X-Axis of such a chart is inverted, if the head of the river is not
1405 at kilometer 0. This type of charts always have the head of the river at
1406 the left side.
1407
1408 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1409
1410 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
1411 Make incoming XML symmetric to DistanceInfoService.
1412
1413 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1414
1415 ISSUE-47
1416
1417 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java,
1418 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
1419 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1420 Adjusted temporarily the color of the W, Q and corrected W curves to
1421 distinguish each other.
1422
1423 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1424
1425 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java:
1426 Adjusted the plot of xy charts - the gridlines are displayed now.
1427
1428 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1429
1430 ISSUE-53
1431
1432 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
1433 Added a method that returns the preferred locale based on the available
1434 locales of the server and the desired locales of the request (CallMeta).
1435
1436 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a
1437 method that creates a number formatter with minimum and maximum digits.
1438
1439 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
1440 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
1441 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
1442 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
1443 Formatted the number values of the CSV exports.
1444
1445 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1446
1447 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java:
1448 New. A data structure that enables us to save a data triple: a range
1449 that consist of lower and upper double value and a set of values that
1450 belong to this range.
1451
1452 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1453 Implemented the validation of W/Q values.
1454
1455 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1456
1457 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New
1458 method to retrieve i18n messages based on keys.
1459
1460 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java,
1461 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java,
1462 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java,
1463 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
1464 Added headers for CSV exports.
1465
1466 * src/main/resources/messages.properties,
1467 src/main/resources/messages_de_DE.properties,
1468 src/main/resources/messages_en.properties,
1469 src/main/resources/messages_de.properties: Added new i18n strings for
1470 CSV headers.
1471
1472 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1473
1474 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
1475 Fetches river name from incoming XML document. If no river is given all
1476 infos about all rivers are listed.
1477
1478 * src/main/resources/metadata/template.xml: Templates honors the 'river'
1479 parameter.
1480
1481 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
1482 Extended to pass parameters to the templating. Added support for
1483 type conversion.
1484
1485 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
1486 Take parameters as an initial stack frame.
1487
1488 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java:
1489 New. Converts types off stacked variables.
1490
1491 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1492
1493 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a
1494 method to add subtitles to charts. The implementation in this class does
1495 not add any subtitle. Concrete subclasses may override this method to
1496 add some.
1497
1498 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
1499 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1500 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1501 Add subtitles to charts.
1502
1503 * src/main/resources/messages.properties,
1504 src/main/resources/messages_de_DE.properties,
1505 src/main/resources/messages_en.properties,
1506 src/main/resources/messages_de.properties: Added i18n templates for
1507 compound messages (chart subtitles).
1508
1509 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1510
1511 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
1512 Added new methods to retrieve translated compound messages.
1513
1514 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1515
1516 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a
1517 method to set the master artifact that should be used for some special
1518 operations.
1519
1520 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1521 src/main/java/de/intevation/flys/exports/AbstractExporter.java:
1522 Implement the setMasterArtifact() method of the interface.
1523
1524 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1525 Call OutGenerator.setMasterArtifact().
1526
1527 NOTE: The determination of the master artifact needs to be implemented!
1528
1529 2011-05-10 Ingo Weinzierl <ingo@intevation.de>
1530
1531 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed
1532 hard coded dev code that defined a WQ mode.
1533
1534 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1535
1536 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
1537 Stripped ugly extra whitespace from output introduced by
1538 templating.
1539
1540 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1541
1542 * src/main/resources/metadata/template.xml: Added forgotten
1543 columns of fixation WSTs.
1544
1545 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
1546
1547 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a
1548 method to retrieve i18n strings.
1549
1550 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java,
1551 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java,
1552 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1553 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1554 Enabled i18n support for chart title and axes labels.
1555
1556 * src/main/resources/messages.properties,
1557 src/main/resources/messages_de_DE.properties,
1558 src/main/resources/messages_en.properties,
1559 src/main/resources/messages_de.properties: Added i18n strings for the
1560 chart types above.
1561
1562 2011-05-09 Ingo Weinzierl <ingo@intevation.de>
1563
1564 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java:
1565 New. This OutGenerator exports the data of a discharge longitudinal
1566 section computation.
1567
1568 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter.
1569
1570 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the
1571 discharge_longitudinal_section state.
1572
1573 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1574
1575 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
1576 Added code to make back jump correction work with both
1577 potential flow directions.
1578
1579 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1580
1581 * src/main/resources/metadata/template.xml:
1582 Added data cage configuration for 'Längsschnitt'.
1583
1584 2011-05-06 Ingo Weinzierl <ingo@intevation.de>
1585
1586 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge
1587 longitudinal sections.
1588
1589 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A
1590 derived dataset to store W/Q values with corrected Ws for a kilometer
1591 range.
1592
1593 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new
1594 methods and a new constructor to initialize this data object with a
1595 predefined set of values.
1596
1597 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
1598 methods to retrieve the W/Q values for the 'discharge longitudinal
1599 section' computation.
1600
1601 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New
1602 methods to retrieve and compute data used for the 'discharge
1603 longitudinal section' computation.
1604
1605 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
1606
1607 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java:
1608 Bugfix: just write the ranges of gauges into the DESCRIBE if the
1609 'wq_values' data item is required.
1610
1611 * src/main/resources/messages.properties,
1612 src/main/resources/messages_de_DE.properties,
1613 src/main/resources/messages_en.properties,
1614 src/main/resources/messages_de.properties: Added i18n messages used in
1615 the DESCRIBE of the WQAdapted state.
1616
1617 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
1618
1619 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1620 Changed the title of the y-axis (now 'W [NN+m]').
1621
1622 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
1623
1624 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the
1625 output state for creating 'discharge longitudinal section' charts.
1626
1627 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a
1628 method that returns all gauges of the selected river based on a the
1629 given kilometer range.
1630
1631 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New.
1632 This state creates a set of elements for the DESCRIBE that consist of a
1633 tuple of kilometer values. The number of elements depend on the number
1634 of gauges intersected by the given kilometer range.
1635
1636 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java:
1637 New. This state is the output state that is reached after the 'discharge
1638 longitudinal section' computation has been chosen.
1639
1640 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
1641
1642 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default
1643 step width between two kilometers added - if no step width is given,
1644 this default width is used.
1645
1646 2011-05-05 Ingo Weinzierl <ingo@intevation.de>
1647
1648 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1649 Fixed a potential NullPointerException if there is just a single
1650 kilometer given to create a longitudinal section.
1651
1652 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1653
1654 * pom.xml: Added http://repository.jboss.org/maven2 repo
1655 to fix flys/issue30
1656
1657 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1658
1659 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1660 To make diagram generation possible ws are now generated from qs
1661 because they are many ws having different qs.
1662
1663 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
1664
1665 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
1666 Fetch the WQ data from WINFO artifact and write those values into the
1667 CSV export.
1668
1669 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
1670
1671 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
1672 methods to compute and retrieve the data for discharge curves (computed).
1673
1674 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1675 Fetch the computed discharge curve data from WINFOArtifact and add the
1676 values into the JFreeChart dataset.
1677
1678 2011-05-04 Ingo Weinzierl <ingo@intevation.de>
1679
1680 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable
1681 the WINFO artifact for computing discharge curves.
1682
1683 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge
1684 curves and exports for its data.
1685
1686 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java:
1687 New. This state is reached if the user chose the computed discharge
1688 curve.
1689
1690 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java:
1691 New. This is only a stub implementation at the moment. This
1692 OutGenerator should create computed discharge curves later. It extends
1693 the DischargeCurveGenerator which should do the same stuff for discharge
1694 curves for gauges.
1695
1696 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java:
1697 New. This is only a stub implementation at the moment. This OutGenerator
1698 should create the exports of the discharge curve computation.
1699
1700 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1701
1702 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration
1703 curve state (CSV export).
1704
1705 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve
1706 computations.
1707
1708 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New.
1709 This abstract OutGenerator represents the base class for exporting
1710 computed data. Currently, the CSV export is supported.
1711
1712 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved
1713 the most code to export to CSV into the AbstractExporter.
1714
1715 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java:
1716 New. This exporter exports the computed data of a duration computation.
1717
1718 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1719
1720 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1721 Modified a wrong debug statement which would confuse the user.
1722
1723 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1724
1725 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel
1726 state (CSV export).
1727
1728 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels.
1729
1730 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New.
1731 This OutGenerator exports the data of a waterlevel computation. Note:
1732 It is necessary to specify the desired facet (e.g.
1733 'waterlevel_export.csv').
1734
1735 * pom.xml: Added a dependency to OpenCSV.
1736
1737 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1738
1739 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1740 Introduced an "export" output target. If the target is "export", a
1741 facet (read from the incoming xml document) is a necessary parameter
1742 that determines which facets are written to the output.
1743
1744 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1745
1746 * src/main/resources/messages_en.properties: Bugfix: replaced german
1747 string (copy & paste mistake).
1748
1749 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1750
1751 * src/main/resources/messages.properties,
1752 src/main/resources/messages_de_DE.properties,
1753 src/main/resources/messages_en.properties,
1754 src/main/resources/messages_de.properties: Added new i18n strings for
1755 for the location selection.
1756
1757 2011-05-03 Ingo Weinzierl <ingo@intevation.de>
1758
1759 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java:
1760 New. An OutGenerator for creating duration curves.
1761
1762 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A
1763 model class to store necessary data for creating W and Q facets of a
1764 duration curve. This model stores W, Q and Days.
1765
1766 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
1767 Added a function to retrieve tuples of (day, q) based on a given gauge -
1768 these tuples are necessary for creating duration curves.
1769
1770 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
1771 methods to compute and retrieve the data necessary for creating duration
1772 curves.
1773
1774 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
1775 Bugfix: improved the access to the location array (avoid
1776 NullPointerException).
1777
1778 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves.
1779
1780 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1781
1782 * contrib/visualize-transitions.xsl: State quoting was done wrong.
1783
1784 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1785
1786 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the
1787 final state for creating duration curves.
1788
1789 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java:
1790 New. This state should be reached to just insert an array of locations.
1791
1792 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java:
1793 New. This state is reached if the duration curve calculation is
1794 selected.
1795
1796 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted
1797 getDistance() so that it takes care on inserted locations - not just
1798 inserted ranges.
1799
1800 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1801
1802 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
1803 Flush/persist caches at program exists.
1804
1805 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1806 Commented out too eloquent debug output.
1807
1808 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1809
1810 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1811 Uses the methods of FLYSArtifact to retrieve the necessary information
1812 rivername and selected distance.
1813
1814 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1815
1816 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1817 Added interpolateW method to take reference to result ws array
1818 as an argument to avoid expensive array allocations in km iterating
1819 loops.
1820
1821 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
1822 Added a constructor to create backing trove datastructure
1823 with the right capacity.
1824
1825 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
1826 Move allocation of result ws out of km loop.
1827
1828 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1829
1830 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ
1831 selection state. Those items are necessary to store the information
1832 about the selected mode (range/single selection) and the values of the
1833 single selection.
1834
1835 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If
1836 there is no value for a data item, this item is not written into the
1837 static DESCRIBE part.
1838
1839 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java,
1840 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
1841 Renamed the method to validate upper and lower values.
1842
1843 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This
1844 state can now handle values inserted in the single selection. Therefore,
1845 new validate methods has been added.
1846
1847 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
1848 methods getWs() and getWs() take care on the values inserted in the
1849 single insert mode of the client which enables the user to insert single
1850 W and Q.
1851
1852 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1853
1854 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
1855 Repaired getQForW() by calculating indices on right dimension.
1856
1857 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1858
1859 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New
1860 methods for retrieving selected W values (getWs()).
1861
1862 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
1863 method for retrieving waterlevel data takes care on selected Ws, now.
1864 The selected Ws are transformed using the DischargeTables.getQForW()
1865 into Q values.
1866
1867 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1868
1869 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
1870 Removed an unused parameter 'result' of getQForW().
1871
1872 2011-05-02 Ingo Weinzierl <ingo@intevation.de>
1873
1874 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed
1875 the getDataset() method and replaced it with a addDataset() method.
1876 On this way, concrete subclasses of this OutGenerator can have multiple
1877 datasets (e.g. different datasets for W and Q). This abstract method is
1878 called after the chart generation is finished.
1879
1880 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1881 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1882 Both classes implement the addDataset() method. The
1883 LongitudinalSectionGenerator has already multiple datasets for W and Q.
1884 Both are added to the chart - both have an own range axis.
1885
1886 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1887
1888 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
1889 Use the cache for the wst value table if configured.
1890
1891 * doc/conf/cache.xml: Choose a more precise name for the
1892 wst value table cache.
1893
1894 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1895
1896 * pom.xml: Added dependency to Ehcache. Apache 2.0 license.
1897
1898 * doc/conf/conf.xml: Added configuration of ehcache.
1899
1900 * doc/conf/cache.xml: New. Cache configurations.
1901
1902 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java:
1903 New. Factory to access caches.
1904
1905 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1906
1907 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
1908 Forgot to add.
1909
1910 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java:
1911 New. Given a database connection and a XML template it generates
1912 an output with meta data about the database.
1913
1914 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java:
1915 New. Holds prepared statements optimized to be run in the stack of
1916 contextes.
1917
1918 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java:
1919 New. Model to hold a hierarchical scope of variables.
1920
1921 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java:
1922 New. Stores data set fetched from a sql select to be iterated in
1923 a context.
1924
1925 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java,
1926 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1927 Removed superfluous imports.
1928
1929 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1930
1931 * doc/conf/conf.xml: Added meta data service.
1932
1933 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java:
1934 Stub for the meta data service.
1935
1936 * src/main/resources/metadata/template.xml: Initial template for
1937 the meta data service.
1938
1939 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1940
1941 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1942 Bugfix: Now, curves for Q values are drawn into a longitudinal section
1943 chart as well. Therefore, it was necessary to change the datastructure
1944 of the inner class ThemeList that stores all themes included in a chart
1945 in an ordered list (stored in a java.util.Vector now).
1946
1947 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1948
1949 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An
1950 abstract base class for ChartGenerators that create XY charts.
1951
1952 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1953 Sourced the generate() method out to the XYChartGenerator.
1954
1955 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
1956 Implemented the methods to add W and Q facets to the chart.
1957
1958 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1959
1960 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved
1961 the calculation of the step with for ranges.
1962
1963 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1964
1965 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a
1966 method that returns the number of elements stored in the data pool.
1967
1968 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1969
1970 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java:
1971 Added a get() method which takes destination array as an
1972 argument.
1973
1974 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1975
1976 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the
1977 data structure to store w, q and kms values from List<Double> to
1978 TDoubleArrayList which stores native double values instead of big
1979 Double values.
1980
1981 * pom.xml: Added the GNU Trove dependency.
1982
1983 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1984
1985 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the
1986 name a the requested facet to doOut(). Concrete generators should just
1987 create output for this facet now.
1988
1989 * src/main/java/de/intevation/flys/exports/ChartGenerator.java,
1990 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java,
1991 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
1992 Adapted the method signature of doOut().
1993
1994 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
1995 Adapted the method call of OutGenerator.doOut().
1996
1997 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
1998
1999 * doc/conf/themes.xml: Added mappings for the facets
2000 longitudinal.section.w and longitudinal.section.q.
2001
2002 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
2003
2004 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some
2005 methods to retrieve necessary information for computing the data of a
2006 waterlevel.
2007
2008 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
2009 methods to compute and retrieve the data of a waterlevel computation.
2010
2011 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
2012
2013 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This
2014 model class represents a pool of data triples that consist of W, Q and
2015 Kms information. This class might be used to compute data for creating
2016 longitudinal section curves (which are based on those W, Q and Kms
2017 values).
2018
2019 2011-04-29 Ingo Weinzierl <ingo@intevation.de>
2020
2021 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2022 Bugfix: Removed endless loop and a bug while iterating over Hibernate
2023 results.
2024
2025 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2026
2027 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java:
2028 New. An OutGenerator that creates longitudinal section curves.
2029
2030 NOTE: This is just the stub - the out creation needs to be implemented!
2031
2032 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator.
2033
2034 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2035
2036 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section.
2037
2038 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2039
2040 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New.
2041 This state should be reached if the 'calc.surface.curve' calculation
2042 method has been chosen.
2043
2044 * doc/conf/artifacts/winfo.xml: Modified a transition and added the
2045 WaterlevelState. This state is reached if the 'calc.surface.curve'
2046 calculation method has been chosen. It currently has 1 output - a
2047 longitudinal section that is not implemented yet!
2048
2049 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2050
2051 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java:
2052 New. This transition is valid if the a data object of the current
2053 artifact equals/notequals a configured value in the transition model.
2054
2055 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2056
2057 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2058 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes:
2059 - Adapted the parameters of the isStateReachable() call - added the
2060 artifact and the current state.
2061 - Append the outputs of a current state if the state is filled with
2062 valid data.
2063
2064 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2065
2066 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
2067 Added the missing init() method that has been introduced in the
2068 interface some commits ealier.
2069
2070 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
2071 Call init() after a Transition has been created.
2072
2073 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2074
2075 * src/main/java/de/intevation/flys/collections/AttributeWriter.java:
2076 Bugfix: Introduced a <art:outputs> node in the attribute document of a
2077 Collection that contains further <art:output> nodes - instead of having
2078 multiple <art:output> nodes at toplevel of the document.
2079
2080 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2081 Adapted the XPath to retrieve the outputs in the attribute document of a
2082 Collection.
2083
2084 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2085
2086 * contrib/visualize-transitions.xsl: Added to create a
2087 Graphviz digraph out of the config.xml. Usage:
2088
2089 $ xsltproc --stringparam base-dir ../doc/conf/ \
2090 contrib/visualize-transitions.xsl \
2091 doc/conf/conf.xml > transitions.dot
2092
2093 $ dot -Tsvg -o transitions.svg transitions.dot
2094
2095 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2096
2097 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
2098 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
2099 If no data has been inserted so far, an IllegalArgumentException is
2100 thrown.
2101
2102 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
2103
2104 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java::
2105 A lot of new methods to retrieve the theme of a facet - used while
2106 creating the output of a facet/artifact. If a facet has no theme yet, it
2107 is initialized.
2108
2109 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
2110
2111 * src/main/java/de/intevation/flys/collections/AttributeParser.java,
2112 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed
2113 useless imports.
2114
2115 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
2116
2117 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An
2118 abstract OutGenerator that might be used to create chart output. Some
2119 basic things that are equal in all charts should be done here!
2120
2121 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
2122 This OutGenerator no longer implements the OutGenerator directly, but it
2123 extends the ChartGenerator now.
2124
2125 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
2126
2127 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2128 Restructured the out() operation of a collection: Now, we collect a list
2129 of artifacts/facets and use this for the OutGenerator. Its doOut()
2130 method gets the attribute of an artifact - the position and the active
2131 state is managed by the Collection itself.
2132
2133 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
2134
2135 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New.
2136 a specialized facet that stores information about its position and its
2137 state (active/inactive) in an output of a collection.
2138
2139 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New.
2140 This parser takes the attributes (XML) of a collection and extracts the
2141 contained outputs with its facets. The result is a Map<String, Output>.
2142
2143 * src/main/java/de/intevation/flys/collections/OutputParser.java: New.
2144 This parser is used to query the artifact's DESCRIBE and to extract the
2145 supported outputs. The result is a Map<String, Output>.
2146
2147 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New.
2148 This writer merges the outputs contained in an attribute of a collection
2149 with the outputs of a collection's artifacts.
2150
2151 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2152 The attributes of a collection are written into its DESCRIBE document
2153 now. The OutputParser and AttributeParser are used to read the supported
2154 attributes by the collection and its artifacts - the AttributeWriter is
2155 used to merge both attributes and create a final attribute document.
2156
2157 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
2158
2159 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java,
2160 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
2161 The facet-2-theme mappings are initialized at startup and stored in the
2162 FLYSContext.
2163
2164 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a
2165 function that retrieves a theme from FLYSContext based on its name.
2166
2167 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2168
2169 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2170 Corrected a silly c&p mistake.
2171
2172 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2173
2174 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java:
2175
2176 Implementation of the "Ruecksprungkorrektur" to be done in
2177 "W fuer angepassten Abflusslaengschnitt".
2178
2179 All tests show the expected results. In some corner cases the
2180 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur"
2181 has some definition shortcomings:
2182
2183 a - What should happend when you cannot find point 2 because
2184 you cannot step back one quarter from point 3 because there
2185 is no data there any more (river too short in this direction)?
2186 The implemented algorithm raises point 3' only to an
2187 according factor. E.g. If you can step back the whole quarter
2188 distance the elevation is the full quarter. If you can
2189 step back only the half of the quarter the elevation is
2190 only an eighth.
2191
2192 b - If the water heights between point 2 and 3 are constant then
2193 the algorithm will produce a spline interpolation that
2194 lowers those values. Is this intended?
2195
2196 For real data the back jumps are expected to be more in the middle
2197 of the distance ranges so the corner cases are maybe not so
2198 important.
2199
2200 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2201 Removed superfluous import.
2202
2203 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
2204
2205 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug
2206 code that has been commited by accident.
2207
2208 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
2209
2210 * doc/conf/themes.xml: New. A first small theme configuration.
2211
2212 * doc/conf/conf.xml: Added a link to the theme configuration.
2213
2214 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
2215 Defined a key that is used to store a themes map in the FLYSContext.
2216
2217 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
2218 The theme configuration is read at startup and the themes are stores in
2219 the FLYSContext.
2220
2221 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
2222
2223 * src/main/java/de/intevation/flys/themes/Theme.java,
2224 src/main/java/de/intevation/flys/themes/DefaultTheme.java:
2225 New. The interface and its default implementation that represents themes
2226 used to style charts and maps.
2227
2228 * src/main/java/de/intevation/flys/themes/ThemeField.java,
2229 src/main/java/de/intevation/flys/themes/DefaultThemeField.java:
2230 New. The interface and its default implementation that represents fields
2231 in themes. A theme might be "Lines" and one of its field might be
2232 "Color" or "Size".
2233
2234 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory
2235 that creates new themes based on a theme configuration.
2236
2237 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2238
2239 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2240 Implementation of "Abflusskurve/Abflusstafel" calculation.
2241
2242 Added method interpolateWQ() which takes an km and results in a
2243 tuple of two double arrays containing the w/q values interpolated
2244 between the surrounding w/q values of the table.
2245 w values are interpolated linear, q values with a cubic spline.
2246
2247 Drawing w over q gives you the discharge table at the given km.
2248
2249 !!! This code needs testing !!!
2250
2251 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2252
2253 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0)
2254
2255 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2256
2257 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2258 Fix problem when sorting by q (copied w instead of q).
2259
2260 2011-04-20 Ingo Weinzierl <ingo@intevation.de>
2261
2262 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2263 Fixed broken HQL statement.
2264
2265 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2266
2267 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2268 add a method interpolateW() which takes an array of
2269 q values and returns an equal sized array of w values.
2270 This is essentially the "Wasserstand/Wasserspiegellagen" calculation
2271 of desktop FLYS.
2272
2273 If you want to do a calculation with given w values you have
2274 to convert the w values with DischargeTables.getQForW() first.
2275
2276 !!! This code needs heavy testing !!!
2277
2278 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2279
2280 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2281 We need a getQForW() method and not getWForQ() because when
2282 doing a "Wasserstand/Wasserspiegellagen" calculation with given
2283 w values these values need to be translated to q values with
2284 the master discharge table.
2285
2286 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2287
2288 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2289 Sorting of q values was done wrong.
2290
2291 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
2292
2293 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
2294 Ordered the list of annotations returned by this factory based on its
2295 range.
2296
2297 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
2298
2299 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java:
2300 New. This service returns an XML document that includes the main values
2301 of a gauge based on a river name, a start and an end point.
2302
2303 * doc/conf/conf.xml: Registered the MainValuesService.
2304
2305 2011-04-19 Ingo Weinzierl <ingo@intevation.de>
2306
2307 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java:
2308 A factory that provides methods to return MainValues.
2309
2310 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2311
2312 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2313 Added static method getWForQ() to interpolate a w value for
2314 a given q value based on a given discharge table.
2315
2316 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2317
2318 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2319 Added convenience constructors/methods to ease the access to the master
2320 discharge table of a gauge.
2321
2322 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2323
2324 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2325 Moved the query complexity into view 'wst_value_table' and
2326 used this instead.
2327
2328 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2329
2330 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
2331 Fetches w/q value tables from the backend. TODO: Move this
2332 to the backend and use a view.
2333
2334 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2335
2336 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
2337 the error key that is thrown if no input data was found so that the key
2338 is usable for GWT's i18n mechanism.
2339
2340 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2341
2342 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2343 The inserted river is validated now (overrides validate() of
2344 DefaultState).
2345
2346 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2347
2348 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
2349 The inserted calculation method is validated now (overrides validate()
2350 of DefaultState).
2351
2352 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2353
2354 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2355 The input data of feed() are validated using the DefaultStates
2356 validate() method.
2357
2358 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2359 New method validate() that needs to be overidden by concrete subclasses.
2360 It should return true, if the data of the State is fine, otherwise it
2361 should raise an exception.
2362
2363 NOTE: The exceptions are not translated in the server but in the client!
2364
2365 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New.
2366 This abstract class exists to provide some methods for handling ranges.
2367 Currently, there is a method that validates a given range based on
2368 min/max values.
2369
2370 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java,
2371 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
2372 Implemented input data validation for ranges.
2373
2374 NOTE: The input validation of concrete values has not been implemented
2375 yet!
2376
2377 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2378
2379 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2380 Removed debug code that has been commited by accident :-/
2381
2382 2011-04-18 Ingo Weinzierl <ingo@intevation.de>
2383
2384 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
2385 getGauge() method returns the first gauge based on the given start and
2386 end point of the river.
2387
2388 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
2389 Fixed potential bugs: if no gauge could be determined, the default
2390 values for W and Q are the minimum and maximum double values.
2391
2392 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
2393
2394 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills
2395 the DESCRIBE with default values for W and Q.
2396
2397 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
2398
2399 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java:
2400 New. Returns Wst object - based on a river.
2401
2402 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
2403
2404 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now
2405 provides some methods that return some basic objects inserted while
2406 parameterization: River, Gauge and so on.
2407
2408 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
2409
2410 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
2411 src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
2412 Bugfix: Repaired broken imports of the SessionHolder.
2413
2414 2011-04-15 Ingo Weinzierl <ingo@intevation.de>
2415
2416 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
2417 Moved this class to flys-backend.
2418
2419 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
2420 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
2421 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
2422 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java,
2423 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
2424 Adapted imports of the SessionHolder.
2425
2426 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2427
2428 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java,
2429 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
2430 Acquire/release sessions in services to avoid db connection leaks.
2431
2432 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2433
2434 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2435 Changed some method signatures - added a reference to the owner
2436 Artifact.
2437
2438 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
2439 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java,
2440 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
2441 Modified method signatures based on the changes in DefaultState.
2442
2443 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
2444 Added default values to the dynamic part of DESCRIBE.
2445
2446 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2447
2448 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
2449 Added a function that returns a River object based on a given river
2450 name.
2451
2452 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2453
2454 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
2455 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java,
2456 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java,
2457 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
2458 Static methods are using the SessionHolder, too.
2459
2460 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2461
2462 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
2463 Added the setup() method that has been added to the interface
2464 description in the last commits.
2465
2466 * doc/conf/conf.xml: Registered the SessionCallContextListener as
2467 CallContext.Listener.
2468
2469 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2470
2471 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
2472 Bugfix: Call correct method to retrieve an instance of
2473 SessionFactoryProvider.
2474
2475 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2476
2477 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java:
2478 New. Contains thread local session holder for hibernate sessions.
2479
2480 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
2481 Uses session from SessionHolder.
2482
2483 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
2484 Interacts with SessionHolder now.
2485
2486 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
2487 Removed superfluous import.
2488
2489 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2490
2491 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java:
2492 Implementation of a CallContext.Listener to open/close Hibernate
2493 Sessions for each request.
2494
2495 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2496
2497 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2498 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2499 Some modifications related to the last commit - modification of the
2500 describe() signature of a State.
2501
2502 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
2503
2504 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java:
2505 Removed. We do not need a state to select a gauge - the selection takes
2506 place by choosing a start and an end point.
2507
2508 2011-04-13 Ingo Weinzierl <ingo@intevation.de>
2509
2510 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2511 Bugfix: added missing label node to root node and a namespace to the
2512 data node.
2513
2514 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
2515
2516 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2517 The name of the artifact 'winfo' is written into the DESCRIBE document
2518 now. We need this to have a proper way to distinguish between different
2519 artifacts in the UI.
2520
2521 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
2522
2523 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
2524 States are filled with data before they describe themself.
2525
2526 2011-04-11 Ingo Weinzierl <ingo@intevation.de>
2527
2528 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
2529 New. A factory that returns the annotations of a specific river.
2530
2531 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java:
2532 New. This service provides a document that contains information about
2533 distances of a river.
2534
2535 * doc/conf/conf.xml: Registered the DistanceInfoService.
2536
2537 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
2538
2539 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2540 This collection overrides the out() operation now. The incoming request
2541 document is read and the related OutGenerator is used to create the
2542 output.
2543
2544 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
2545 the code to create discharge curves. It has moved to the
2546 DischargeCurveGenerator which now does this work.
2547
2548 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
2549
2550 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The
2551 generate() method throws an IOException now.
2552
2553 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java:
2554 New. This OutGenerator creates discharge curves.
2555
2556 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
2557
2558 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
2559 the visibility of the getData() method. It's now public, because the
2560 OutGenerator needs an artifact's data.
2561
2562 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2563
2564 * src/**/*.java: Removed trailing whitespace.
2565
2566 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2567
2568 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2569 Make project compilable again by
2570 commenting out a not existing XMLDebug reference.
2571
2572 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
2573
2574 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
2575 Added code to parse the configured OutGenerators and to save them (in a
2576 map) in the FLYSContext.
2577
2578 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java:
2579 Added a key that is used to save the OutGenerators Map in the context.
2580
2581 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
2582
2583 * src/main/java/de/intevation/flys/exports/OutGenerator.java:
2584 New. This interface is used to generator different types of output.
2585 ArtifactCollections will make use of this interface to create a
2586 collected output of all its artifacts.
2587
2588 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
2589
2590 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2591 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase
2592 operations instead.
2593
2594 * TODO: Removed 'remove Backend reference' TODO.
2595
2596 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
2597
2598 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the
2599 discharge curve output mode. This output now provides three facets - W,
2600 Q and the curve itself.
2601
2602 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
2603
2604 Tagged RELEASE 0.1
2605
2606 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
2607
2608 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO
2609 artifact configuration.
2610
2611 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
2612
2613 * src/main/resources/messages_de_DE.properties,
2614 src/main/resources/messages_de.properties: Changed a german string.
2615
2616 2011-03-29 Ingo Weinzierl <ingo@intevation.de>
2617
2618 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
2619 Modified the available calculation modes and its order in the DESCRIBE
2620 document.
2621
2622 * src/main/resources/messages.properties,
2623 src/main/resources/messages_de_DE.properties,
2624 src/main/resources/messages_en.properties,
2625 src/main/resources/messages_de.properties: Adapted the names of
2626 calculation modes.
2627
2628 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
2629
2630 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2631 Added the hash code of an artifact to the artifact part of the
2632 collection's DESCRIBE document.
2633
2634 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
2635
2636 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed
2637 the background color of discharge curves to white.
2638
2639 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2640
2641 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2642 Cache the scale, too. Otherwise two calls to getValues() with
2643 different arguments will result in the same output.
2644
2645 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
2646
2647 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2648 Introduced a 'scale' parameter in the getValues() method.
2649
2650 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled
2651 the out() operation with code that draws a discharge table of one or
2652 more gauges specified by the given range in entered in a previous state.
2653
2654 2011-03-28 Ingo Weinzierl <ingo@intevation.de>
2655
2656 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java:
2657 New. A helper class to exports charts.
2658
2659 * pom.xml: Added dependencies to iText, Batik and JFreeChart.
2660
2661 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2662
2663 * src/main/java/de/intevation/flys/importer/PegelGltParser.java:
2664 Fixed swap of operands.
2665
2666 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2667
2668 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java:
2669 New. Load gauges for a river and filter them for given
2670 ranges.
2671
2672 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2673
2674 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2675 Store data in a double [][] instead of interleaved double []
2676 to be compatible with org.jfree.data.xy.DefaultXYDataset.
2677
2678 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
2679
2680 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove
2681 the Backend reference from FLYSArtifactCollection.
2682
2683 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
2684
2685 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2686 Added missing artifact namespace of an attribute in the DESCRIBE
2687 document.
2688
2689 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
2690
2691 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
2692 New. This ArtifactCollection overrides the DefaultArtifactCollection to
2693 implement FLYS specific describe() and out() operations.
2694
2695 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the
2696 DefaultArtifactCollection for this application.
2697
2698 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2699
2700 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java:
2701 New. Fetches values of discharge tables in form of packed
2702 w/q double arrays for given gauges.
2703
2704 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
2705 Removed needless import.
2706
2707 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
2708
2709 * src/main/resources/messages_de_DE.properties: Added a german resource
2710 bundle to avoid exceptions in the flys artifacts. Sometimes, the
2711 Resources class is not able to find a 'de_DE' bundle and throws an
2712 exception. This is really strange, because it should use the 'de' bundle
2713 in that case, but it doesn't.
2714
2715 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
2716
2717 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added
2718 some code to append the output modes of previous states to the DESCRIBE
2719 document.
2720
2721 TODO: Determine if the current state is already filled with data and
2722 append its output modes as well!
2723
2724 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
2725
2726 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with
2727 an output mode 'discharge_table'.
2728
2729 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
2730
2731 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2732 Write human readable strings as label attribute into the DESCRIBE
2733 output. Those labels are used to be displayed in the GUI.
2734
2735 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
2736
2737 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
2738 Added some further calculation types.
2739
2740 * src/main/resources/messages.properties,
2741 src/main/resources/messages_en.properties,
2742 src/main/resources/messages_de.properties: Added i18n strings for the
2743 calculation types
2744
2745 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
2746
2747 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2748 Implemented the step-back part of the advance() operation.
2749
2750 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
2751
2752 * src/main/resources/messages_de.properties: Fixed a german umlaut.
2753
2754 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2755
2756 * doc/conf/artifacts/winfo.xml: Added new states for entering a
2757 location/distance and w/q.
2758
2759 * src/main/resources/messages.properties,
2760 src/main/resources/messages_en.properties,
2761 src/main/resources/messages_de.properties: New string for the
2762 location/distance and w/q input states.
2763
2764 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2765
2766 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java:
2767 New. A state for the W/Q input of the WINFO parameterization.
2768
2769 2011-03-18 Ingo Weinzierl <ingo@intevation.de>
2770
2771 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2772 Append an attribute 'uiprovider' to the dynamic UI node.
2773
2774 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java:
2775 New. A state for the location/distance selection of the WINFO
2776 parameterization.
2777
2778 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
2779
2780 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2781 Added a new method getUIProvider() that might be overriden by concreted
2782 subclasses that should be rendered with a specific UIProvider.
2783
2784 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
2785
2786 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2787 The static UI part is created by the previous states now. This makes it
2788 possible to group the data objects (which is necessary to group the
2789 objects in the ui).
2790
2791 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2792 Added a describeStatic() method that creates a node that contains the
2793 data of that state.
2794
2795 2011-03-17 Ingo Weinzierl <ingo@intevation.de>
2796
2797 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
2798 Removed TODO: the document contains the rivers provided by the backend
2799 now.
2800
2801 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2802
2803 * pom.xml: Added dependency to flys backend.
2804
2805 * src/main/java/de/intevation/flys/artifacts/model/River.java:
2806 Removed. We are using the backend model now.
2807
2808 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java:
2809 Fetches the rivers from the backend.
2810
2811 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2812 Import fixes.
2813
2814 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2815
2816 * doc/conf/conf.xml: Added section for database backend configuration.
2817
2818 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2819
2820 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
2821 Fixed build error coming from different import of XMLUtils.
2822
2823 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2824
2825 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2826 Appended the missing label node that contains the human readable name of
2827 the data item.
2828
2829 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2830
2831 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java,
2832 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2833 I18N of strings for the DESCRIBE document.
2834
2835 * src/main/resources/messages.properties,
2836 src/main/resources/messages_en.properties,
2837 src/main/resources/messages_de.properties: I18N strings for the
2838 calculcation mode state.
2839
2840 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2841
2842 * doc/conf/artifacts/winfo.xml: Modified the winfo states.
2843
2844 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted
2845 the artifact regarding the changes of the last commit. The states
2846 describe() method creates the dynamic UI node - the artifact needs to
2847 apply this node.
2848
2849 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
2850 New. The state for choosing the calculation mode.
2851
2852 * src/main/resources/messages.properties,
2853 src/main/resources/messages_en.properties,
2854 src/main/resources/messages_de.properties: Added i18n strings for the
2855 calculation mode state.
2856
2857 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2858
2859 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java:
2860 New. This is the base state for the FLYS application. It provides a
2861 method that creates the dynamic ui node for the DESCRIBE.
2862
2863 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
2864 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both
2865 classes extend the abstract base class DefaultState.
2866
2867 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2868
2869 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java:
2870 New. This class retrieves the i18n strings from a ResourceBundle.
2871
2872 * src/main/resources/messages.properties,
2873 src/main/resources/messages_en.properties,
2874 src/main/resources/messages_de.properties: Resource files for german and
2875 english translation.
2876
2877 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
2878
2879 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended
2880 the data that have been inserted in former states into the static node
2881 of the DESCRIBE.
2882
2883 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
2884
2885 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The
2886 operations feed() and advance() return the description of the artifact
2887 using the describe() operation. This avoids additional server round trips
2888 in the client - the clients gets to know about the new state of the
2889 artifact immediately.
2890
2891 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
2892
2893 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2894 Implemented a part (step forward) of the advance operation.
2895
2896 * TODO: Implement Step-Back in advance operation.
2897
2898 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
2899
2900 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java:
2901 Implemented the abstract method getName(). It returns the constant
2902 'winfo' string.
2903
2904 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java:
2905 Implemented the feed action. The data of an incoming feed() operation is
2906 stored in StateData objects that are saved in a map in the artifact.
2907
2908 NOTE: There is no input validation and no i18n of error messages (see
2909 TODO).
2910
2911 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
2912
2913 * TODO: This file contains some open points that need to be done.
2914
2915 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
2916
2917 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This
2918 artifact serves as the default artifact for the FLYS application.
2919
2920 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This
2921 artifact now inherits from FLYSArtifact. Furthermore, there is one big
2922 change: we don't store the State objects itself in the artifact, but
2923 just the identifier of those. This makes the artifact smaller and more
2924 compatible agains previous versions of the software.
2925
2926 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
2927
2928 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java:
2929 New. This service will retrieve a list of provided rivers.
2930
2931 * doc/conf/conf.xml: Added a configuration for the RiverService.
2932
2933 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
2934
2935 * doc/conf/conf.xml: Added a section user-factory and collection-factory in
2936 the factories part of the configuration.
2937
2938 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
2939
2940 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2941 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider'
2942 attribute.
2943
2944 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
2945
2946 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
2947 RiverSelect state is called to create the UI part of the describe
2948 document.
2949
2950 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java:
2951 Implemented the dynamic UI part of describe(). The static part is not
2952 inserted into the describe document at the moment. We need a reference to
2953 the previous states for this.
2954
2955 2011-02-08 Ingo Weinzierl <ingo@intevation.de>
2956
2957 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java,
2958 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model
2959 class that represents a river and its factory to create concrete river
2960 instances.
2961 NOTE: Currently, this is just a mockup. The factory just returns two
2962 static rivers "Mosel" and "Saar" without a connection to a backend.
2963
2964 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
2965
2966 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The
2967 input data of a state is initialized with empty StateData objects after
2968 the State has been created.
2969
2970 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states
2971 which now fits better to the class name of the implementation.
2972
2973 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
2974
2975 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The
2976 describe document returned by this artifact now contains the current state
2977 and the reachable states.
2978
2979 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
2980
2981 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
2982 The transitions are put into the TransitionEngine with the ID of the state
2983 - not longer with the artifact name. On this way, we are able to fetch
2984 just the transitions for a specific state, instead of all the transitions
2985 of an artifact.
2986
2987 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
2988
2989 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe()
2990 returns the artifact's uuid and hash value. The whole implementation of
2991 describe() is still outstanding.
2992
2993 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
2994
2995 * doc/conf/artifacts/winfo.xml: Removed useless config stuff.
2996
2997 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed
2998 useless methods, and improved the init process - the first state is set as
2999 the current state for this artifact.
3000
3001 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java,
3002 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New.
3003 The states are used in the first two steps of the WINFOArtifact.
3004 Currently, they just implement stubs of the necessary methods setup() and
3005 describe().
3006
3007 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
3008
3009 * src/main/java/de/intevation/flys/artifacts/states/State.java,
3010 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java,
3011 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java:
3012 Removed. These classes are placed in the artifact-database now.
3013
3014 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java,
3015 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
3016 Adapted imports of Transition.
3017
3018 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New.
3019 This factory should be used to create concrete State objects.
3020
3021 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added
3022 a constant key to store the StateEngine in the context.
3023
3024 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
3025 New method that initializes the states at application start.
3026
3027 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
3028
3029 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The
3030 interface description of a state.
3031
3032 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java,
3033 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java:
3034 New. The interface description and a default implementation of a
3035 transition.
3036
3037 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java:
3038 New. The TransitionEngine stores all transitions for each artifact and
3039 should be used to determine, if an artifact can advance from one state to
3040 another.
3041
3042 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java:
3043 New. Transitions should be created by using this class.
3044
3045 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New.
3046 The Flys context. It currently defines keys to store important components
3047 in the context.
3048
3049 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java:
3050 New. The context factory initializes the basic components of the
3051 application. Currently, the TransitionEngine is created and all artifacts
3052 with its transitions are read from the global configuration and stored in
3053 the FLYSContext.
3054
3055 * pom.xml: Added a dependency to the 'artifacts-common' package.
3056
3057 * doc/conf/artifacts/winfo.xml: Corrected the classname of the
3058 DefaultTransition.
3059
3060 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory.
3061
3062 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
3063
3064 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact
3065 server.
3066
3067 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an
3068 WINFO artifact.
3069
3070 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of
3071 an artifact for a WINFO parameterization.
3072
3073 * pom.xml: Set the source code version to 1.5.
3074
3075 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3076
3077 * src/**, pom.xml: Added initial maven project.
3078 * ChangeLog: new.

http://dive4elements.wald.intevation.org