Skip to content
Snippets Groups Projects
Commit 687a7f1e authored by Peter Alexander's avatar Peter Alexander
Browse files

Put header on irrigation file

parent 98fddef9
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ public class LpjgOutputer {
BufferedWriter fertWriter = null;
BufferedWriter irrigWriter = null;
double refactorMePlease;
try {
String landCoverFileName = outputDir.getPath() + File.separator + "Fert.txt";
fertWriter = new BufferedWriter(new FileWriter(landCoverFileName, false));
......@@ -55,7 +57,7 @@ public class LpjgOutputer {
String cropFractionFileName = outputDir.getPath() + File.separator + "Irrig.txt";
irrigWriter = new BufferedWriter(new FileWriter(cropFractionFileName, false));
fertWriter.write("Lon Lat TeWWirr TeSWirr TeCoirr TrRiirr Pasture");
irrigWriter.write("Lon Lat TeWWirr TeSWirr TeCoirr TrRiirr Pasture");
irrigWriter.newLine();
for (Entry<RasterKey, LandUseItem> entry : landUseRaster.entrySet()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment