Skip to content
Snippets Groups Projects
Commit 9cdf2905 authored by R0slyn's avatar R0slyn
Browse files

removing reading in bluewater file

parent 7f273dd3
No related branches found
No related tags found
No related merge requests found
......@@ -561,7 +561,7 @@ public class ModelMain {
};
new IrrigiationCostReader(irigData).getRasterDataFromFile(ModelConfig.IRRIGATION_COST_FILE);
new IrrigationConstraintReader(irigData).getRasterDataFromFile(ModelConfig.IRRIGATION_CONSTRAINT_FILE);
// new IrrigationConstraintReader(irigData).getRasterDataFromFile(ModelConfig.IRRIGATION_CONSTRAINT_FILE);
return irigData;
}
......@@ -570,7 +570,7 @@ public class ModelMain {
String rootDir = timestep.getYearSubDir(ModelConfig.YIELD_DIR);
new IrrigationMaxAmountReader(currentIrrigationData, yieldSurfaces).getRasterDataFromFile(rootDir + File.separator + ModelConfig.IRRIG_MAX_WATER_FILENAME);
new RunOffReader(currentIrrigationData).getRasterDataFromFile(rootDir + File.separator + ModelConfig.IRRIG_RUNOFF_FILE);
fpuManager.handleFPU(currentIrrigationData, timestep);
fpuManager.handleFPU(currentIrrigationData, timestep); //this is altering currentIrrigationData irrigConstraint(s) based on runoff and industrial use through time
return currentIrrigationData;
}
private Map<CropType,Double> getInitialStockLevels(){
......
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