Skip to content
Snippets Groups Projects
Commit 37f9fd05 authored by Bart Arendarczyk's avatar Bart Arendarczyk
Browse files

Bug fix.

parent 2d43a333
No related branches found
No related tags found
No related merge requests found
...@@ -169,7 +169,7 @@ TKM,Turkmenistan,795,6158.42,TKM,Other former USSR ...@@ -169,7 +169,7 @@ TKM,Turkmenistan,795,6158.42,TKM,Other former USSR
UGA,Uganda,800,42949.08,UGA,Uganda UGA,Uganda,800,42949.08,UGA,Uganda
UKR,Ukraine,804,44211.094,UKR,Ukraine UKR,Ukraine,804,44211.094,UKR,Ukraine
ARE,United Arab Emirates,784,9211.657,ARE,Middle East other ARE,United Arab Emirates,784,9211.657,ARE,Middle East other
GBR,United Kingdom of Great Britain and Northern Ireland,826,66778.659,GBR,United Kingdom GBR,United Kingdom,826,66778.659,GBR,United Kingdom
TZA,United Republic of Tanzania,834,59872.579,TZA,United Republic of Tanzania TZA,United Republic of Tanzania,834,59872.579,TZA,United Republic of Tanzania
USA,United States of America,840,334319.671,USA,United States of America USA,United States of America,840,334319.671,USA,United States of America
URY,Uruguay,858,3428.409,URY,Paraguay & Uruguay URY,Uruguay,858,3428.409,URY,Paraguay & Uruguay
......
...@@ -882,8 +882,8 @@ public class ModelMain { ...@@ -882,8 +882,8 @@ public class ModelMain {
private void forceLandCoverChanges(Timestep timestep) { private void forceLandCoverChanges(Timestep timestep) {
String filePath = ModelConfig.FORCED_LCC_FILES_DIR + File.separator + "forcedLcc" + timestep.getYear() + ".txt"; String filePath = ModelConfig.FORCED_LCC_FILES_DIR + File.separator + "forcedLcc" + timestep.getYear() + ".txt";
File file = new File(filePath); File lccFile = new File(filePath);
if (file.exists()) { if (lccFile.exists()) {
RasterSet<ForcedLccItem> forcedLccRaster = new RasterSet<ForcedLccItem>(desiredProjection) { RasterSet<ForcedLccItem> forcedLccRaster = new RasterSet<ForcedLccItem>(desiredProjection) {
protected ForcedLccItem createRasterData() { protected ForcedLccItem createRasterData() {
return new ForcedLccItem(); return new ForcedLccItem();
......
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