comparison artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentLoadProcessor.java @ 8098:09725b65955a

Add new and simplyfied SedimentLoadFacet The SedimentLoadFacet is intended to work with the Measurement stations. It uses the same mechanismn to access the Mesurement station values as the calculation does. SedimentLoadLS values need a different facet that will come soon.
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 15 Aug 2014 18:27:19 +0200
parents 963ede7b32bb
children ca072278ad02
comparison
equal deleted inserted replaced
8097:6f3cf934ae99 8098:09725b65955a
43 theme); 43 theme);
44 Object data = bundle.getData(context); 44 Object data = bundle.getData(context);
45 String facetName = bundle.getFacetName(); 45 String facetName = bundle.getFacetName();
46 double [][] points; 46 double [][] points;
47 47
48 logger.debug("Do out for: " + facetName);
48 if (FacetTypes.IS.SEDIMENT_LOAD_M3A(facetName) || 49 if (FacetTypes.IS.SEDIMENT_LOAD_M3A(facetName) ||
49 FacetTypes.IS.SEDIMENT_LOAD_TA(facetName)) { 50 FacetTypes.IS.SEDIMENT_LOAD_TA(facetName)) {
50 points = (double[][]) data; 51 points = (double[][]) data;
51 } else if (FacetTypes.IS.SEDIMENT_LOAD_UNKNOWN(facetName)) { 52 } else if (FacetTypes.IS.SEDIMENT_LOAD_UNKNOWN(facetName)) {
52 SedimentLoadLSData load = (SedimentLoadLSData) data; 53 SedimentLoadLSData load = (SedimentLoadLSData) data;

http://dive4elements.wald.intevation.org