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

Remove debug left in accidently

parent 6bbbb598
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ import java.util.Map;
import ac.ed.lurg.ModelConfig;
import ac.ed.lurg.Timestep;
import ac.ed.lurg.utils.LogWriter;
import ac.sac.raster.RasterHeaderDetails;
import ac.sac.raster.RasterKey;
import ac.sac.raster.RasterSet;
......@@ -29,9 +28,6 @@ public class IrrigationRasterSet extends RasterSet<IrrigationItem> {
Map<RasterKey, Double> lpjIrrigConstraints = getIrrigFromLpjRunoff(timestep.getYear(), false);
for (Map.Entry<RasterKey, IrrigationItem> entry : entrySet()) {
if (entry.getKey().getCol() == 521 & entry.getKey().getRow()==121)
LogWriter.println("Found bit of Nepal");
IrrigationItem irrigItem = entry.getValue();
if (irrigItem != null) {
Double lpjConstraint = lpjIrrigConstraints.get(entry.getKey());
......@@ -50,9 +46,6 @@ public class IrrigationRasterSet extends RasterSet<IrrigationItem> {
Map<RasterKey, Double> lpjIrrigConstraints = getIrrigFromLpjRunoff(ModelConfig.ELLIOTT_BASEYEAR, true);
for (Map.Entry<RasterKey, IrrigationItem> entry : entrySet()) {
if (entry.getKey().getCol() == 521 & entry.getKey().getRow()==121)
LogWriter.println("Found bit of Nepal");
IrrigationItem irrigItem = entry.getValue();
if (irrigItem != null) {
Double d = lpjIrrigConstraints.get(entry.getKey());
......@@ -70,9 +63,6 @@ public class IrrigationRasterSet extends RasterSet<IrrigationItem> {
Collection<WaterBasin> waterBasins = fpuManager.getWaterBasins();
for (WaterBasin basin : waterBasins) {
if (basin.toString().contains("87"))
LogWriter.println("Found Nepal");
Collection<RasterKey> rasterKeys = fpuManager.getKeysFor(basin);
RasterSet<IrrigationItem> irrigData = createSubsetForKeys(rasterKeys);
double basinRunOff = 0.0, otherUses = 0.0, areaOfBasin = 0.0;
......
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