diff --git a/src/ac/ed/lurg/output/LpjgOutputer.java b/src/ac/ed/lurg/output/LpjgOutputer.java index 9d849e6be6756184e447badc57401193aad4ad82..77875f6aa26a1dfc63780e0b2686dd484ca2c3bd 100644 --- a/src/ac/ed/lurg/output/LpjgOutputer.java +++ b/src/ac/ed/lurg/output/LpjgOutputer.java @@ -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()) {