Mercurial > dive4elements > river
annotate flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java @ 5022:a9243df307b1 mapgenfix
Move all classes of mapfile generation to de.intevation.flys.mapserver package.
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 19 Feb 2013 13:41:20 +0100 |
parents | f8217f1fef2e |
children |
rev | line source |
---|---|
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.artifacts.states.extreme; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 import de.intevation.artifactdatabase.state.Facet; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 import de.intevation.artifacts.CallContext; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 import de.intevation.flys.artifacts.FLYSArtifact; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
9 import de.intevation.flys.artifacts.access.ExtremeAccess; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
10 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
11 import de.intevation.flys.artifacts.model.CalculationResult; |
4479
5fc7df736634
WINFOArtifact: Compute extreme values for cross sections too. Add CS-Facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4411
diff
changeset
|
12 import de.intevation.flys.artifacts.model.CrossSectionWaterLineFacet; |
4406
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
13 import de.intevation.flys.artifacts.model.DataFacet; |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
14 import de.intevation.flys.artifacts.model.FacetTypes; |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
15 import de.intevation.flys.artifacts.model.ReportFacet; |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
16 import de.intevation.flys.artifacts.model.WaterlevelFacet; |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
17 import de.intevation.flys.artifacts.model.WQKms; |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
18 |
4315
e7b923cf3a9c
ExtremeCompute: Add ExtremeCurveFacet in this state.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4302
diff
changeset
|
19 import de.intevation.flys.artifacts.model.extreme.ExtremeCurveFacet; |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
20 import de.intevation.flys.artifacts.model.extreme.ExtremeCalculation; |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
21 import de.intevation.flys.artifacts.model.extreme.ExtremeResult; |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
22 |
4367
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
23 import de.intevation.flys.artifacts.resources.Resources; |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
24 import de.intevation.flys.artifacts.states.DefaultState; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
25 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
26 import java.util.List; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
27 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
28 import org.apache.log4j.Logger; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
29 |
4404
193f11d20bd8
ExtremeCompute: Whitespace-cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4382
diff
changeset
|
30 |
4043
eb5564662e19
Cosmetics, documentation.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3775
diff
changeset
|
31 /** State in which to deliver extreme value analysis result. */ |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
32 public class ExtremeCompute |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
33 extends DefaultState |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
34 implements FacetTypes |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
35 { |
4043
eb5564662e19
Cosmetics, documentation.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3775
diff
changeset
|
36 /** Private logger. */ |
4301
1f304cb5729b
ExtremeCompute: Renamed log to logger.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4043
diff
changeset
|
37 private static Logger logger = Logger.getLogger(ExtremeCompute.class); |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
38 |
4404
193f11d20bd8
ExtremeCompute: Whitespace-cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4382
diff
changeset
|
39 |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
40 public ExtremeCompute() { |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
41 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
42 |
4404
193f11d20bd8
ExtremeCompute: Whitespace-cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4382
diff
changeset
|
43 |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
44 @Override |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
45 public Object computeAdvance( |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
46 FLYSArtifact artifact, |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
47 String hash, |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
48 CallContext context, |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
49 List<Facet> facets, |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
50 Object old |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
51 ) { |
4301
1f304cb5729b
ExtremeCompute: Renamed log to logger.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4043
diff
changeset
|
52 logger.debug("ExtremeCompute.computeAdvance"); |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
53 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
54 CalculationResult res; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
55 |
4825
f8217f1fef2e
ExtremeAccess, RangeAccess and callers: Refactored, moved getStep to RangeAccess.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4479
diff
changeset
|
56 ExtremeAccess access = new ExtremeAccess(artifact, context); |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
57 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
58 if (old instanceof CalculationResult) { |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
59 res = (CalculationResult)old; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
60 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
61 else { |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
62 ExtremeCalculation calc = new ExtremeCalculation(access); |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
63 res = calc.calculate(); |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
64 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
65 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
66 if (facets == null) { |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
67 return res; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
68 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
69 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
70 if (res.getReport().hasProblems()) { |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
71 facets.add(new ReportFacet()); |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
72 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
73 |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
74 ExtremeResult eres = (ExtremeResult) res.getData(); |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
75 WQKms [] wqkms = (WQKms []) eres.getWQKms(); |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
76 |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
77 if (wqkms == null) { |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
78 logger.error("No computation result!"); |
4411
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
79 return res; |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
80 } |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
81 |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
82 for (int i = 0; i < wqkms.length; i++) { |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
83 String name = wqkms[i].getName(); |
4411
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
84 // The name already contains "W(...)". |
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
85 String qname = name.replace("W(","Q="); |
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
86 qname = qname.substring(0,qname.length()-1); |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
87 |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
88 Facet w = new WaterlevelFacet( |
4411
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
89 i, LONGITUDINAL_W, name, ComputeType.ADVANCE, id, hash); |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
90 Facet q = new WaterlevelFacet( |
4411
3296021f0bf5
ExtremeCompute: Further naming improvements on facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4406
diff
changeset
|
91 i, LONGITUDINAL_Q, qname, ComputeType.ADVANCE, id, hash); |
4479
5fc7df736634
WINFOArtifact: Compute extreme values for cross sections too. Add CS-Facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4411
diff
changeset
|
92 Facet csFacet = new CrossSectionWaterLineFacet(i, name); |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
93 |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
94 facets.add(w); |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
95 facets.add(q); |
4479
5fc7df736634
WINFOArtifact: Compute extreme values for cross sections too. Add CS-Facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4411
diff
changeset
|
96 facets.add(csFacet); |
4302
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
97 } |
ce10b846bc86
ExtremeCompute: Generate LS-Facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4301
diff
changeset
|
98 |
4406
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
99 |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
100 facets.add( |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
101 new DataFacet(CSV, "CSV data", ComputeType.ADVANCE, hash, id)); |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
102 facets.add( |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
103 new DataFacet(PDF, "PDF data", ComputeType.ADVANCE, hash, id)); |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
104 facets.add( |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
105 new DataFacet(WST, "WST data", ComputeType.ADVANCE, hash, id)); |
bfb6464ecbb6
ExtremeCompute: Add DataFacets (csv, wst, defunc pdf).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4404
diff
changeset
|
106 |
4367
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
107 facets.add(new ExtremeCurveFacet(Resources.getMsg(context.getMeta(), |
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
108 "extreme_wq_curve", "extreme_wq_curve"))); |
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
109 facets.add(new ExtremeCurveFacet(Resources.getMsg(context.getMeta(), |
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
110 "extreme_wq_base_curve", "extreme_wq_base_curve") |
8d568bc22765
Even better Extreme W/Q Facet names. i18n thereof.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4360
diff
changeset
|
111 , true)); |
3775
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
112 |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
113 return res; |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
114 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
115 } |
d52c4ca93ffb
More infrastructure stuff for the "Auslagerung extremer Wasserspiegellagen".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
116 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |