@@ -52,13 +52,14 @@ |
@Override |
protected void postProcess() throws Exception { |
// files |
- putResult(new File(model.getEffectiveDischargeGraph()), |
- new File(model.getSedimentYieldGraph()), |
- new File(model.getHistogram()), |
- new File(model.getRatingCurveGraph_sediment()), |
- new File(model.getRatingCurveGraph_area()), |
- new File(model.getRatingCurveGraph_depth()), |
- new File(model.getRatingCurveGraph_hydRadius()), |
+ File wd = getWorkspaceDir(); |
+ putResult(new File(wd, model.getEffectiveDischargeGraph()), |
+ new File(wd, model.getSedimentYieldGraph()), |
+ new File(wd, model.getHistogram()), |
+ new File(wd, model.getRatingCurveGraph_sediment()), |
+ new File(wd, model.getRatingCurveGraph_area()), |
+ new File(wd, model.getRatingCurveGraph_depth()), |
+ new File(wd, model.getRatingCurveGraph_hydRadius()), |
//Below are the result graph files for use by JHighCharts on eRAMS for duplicating the above graphs |
model.getEffectiveDischargeOutput(), |
model.getCummulativeSedimentYieldOutput(), |
@@ -41,10 +41,11 @@ |
|
@Override |
protected void postProcess() throws Exception { |
- putResult(new File(model.getElevationGraph()), |
- new File(model.getSummary()), |
- //Below are the result graph files for use by JHighCharts on eRAMS for duplicating the above graphs |
- model.getElevationGraphOutput()); |
+ File wd = getWorkspaceDir(); |
+ putResult(new File(wd, model.getElevationGraph()), |
+ new File(wd, model.getSummary()), |
+ //Below are the result graph files for use by JHighCharts on eRAMS for duplicating the above graphs |
+ model.getElevationGraphOutput()); |
} |
} |
|