src/java/cfa/guiBaseflow_Model.java
@@ -25,7 +25,7 @@ |
import org.jfree.chart.title.LegendTitle; |
import org.jfree.data.time.Day; |
import org.jfree.data.time.TimeSeries; |
-import utils.BinUtils; |
+import csip.utils.BinUtils; |
|
/** |
* Last Updated: 5-February-2014 |
@@ -937,6 +937,7 @@ |
|
//Call graphing function for the outputs of the BFLOW model |
graphBFLOWresults(mainFolder, organizationName, stationID, stationName, sortedData_user); |
+ |
}else if(modelType.equalsIgnoreCase("HYSEP")){ |
//Reformat data for HYSEP |
ArrayList<String> inputFlowData = reformatHYSEPdata(sortedData, drainageArea); |
src/java/cfa/guiDrought_Model.java
@@ -1147,7 +1147,7 @@ |
*/ |
public void writeSummary(String[] dynamicSummary, String partialpath) throws IOException{ |
//Intialize the file writer |
- String path = partialpath + File.separator + "drought_summary.txt"; |
+ String path = partialpath + File.separator + getResult().getName(); |
FileWriter writer = new FileWriter(path, false); |
PrintWriter print_line = new PrintWriter(writer); |
|
src/java/cfa/guiLOADEST_Model.java
@@ -13,7 +13,7 @@ |
import java.util.Calendar; |
import java.util.Date; |
import oms3.util.ProcessComponent; |
-import utils.BinUtils; |
+import csip.utils.BinUtils; |
|
/** |
* Last Updated: 5-February-2014 |
src/java/m/cfa/Baseflow_V1_0.java
@@ -16,7 +16,7 @@ |
import org.apache.commons.io.FileUtils; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("baseflow") |
src/java/m/cfa/Download_V1_0.java
@@ -15,7 +15,7 @@ |
import oms3.annotations.VersionInfo; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("download") |
src/java/m/cfa/Drought_V1_0.java
@@ -16,7 +16,7 @@ |
import org.apache.commons.io.FileUtils; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("drought") |
src/java/m/cfa/DurationCurve_V1_0.java
@@ -16,7 +16,7 @@ |
import org.apache.commons.io.FileUtils; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("durationcurve") |
src/java/m/cfa/Flood_V1_0.java
@@ -16,7 +16,7 @@ |
import org.apache.commons.io.FileUtils; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("flood") |
src/java/m/cfa/LOADEST_V1_0.java
@@ -11,7 +11,7 @@ |
import oms3.annotations.VersionInfo; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("loadest") |
src/java/m/cfa/Timeseries_V1_0.java
@@ -12,7 +12,7 @@ |
import org.apache.commons.io.FileUtils; |
import org.apache.commons.io.IOUtils; |
import org.codehaus.jettison.json.*; |
-import utils.JSONUtils; |
+import csip.utils.JSONUtils; |
import csip.ServiceConst; |
|
@Name("timeseries") |