Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PLUM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Land Use Lab
PLUM
Commits
37f9fd05
Commit
37f9fd05
authored
1 year ago
by
Bart Arendarczyk
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix.
parent
2d43a333
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/countries.csv
+1
-1
1 addition, 1 deletion
data/countries.csv
src/ac/ed/lurg/ModelMain.java
+2
-2
2 additions, 2 deletions
src/ac/ed/lurg/ModelMain.java
with
3 additions
and
3 deletions
data/countries.csv
+
1
−
1
View file @
37f9fd05
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/ac/ed/lurg/ModelMain.java
+
2
−
2
View file @
37f9fd05
...
@@ -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
f
ile
=
new
File
(
filePath
);
File
lccF
ile
=
new
File
(
filePath
);
if
(
f
ile
.
exists
())
{
if
(
lccF
ile
.
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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment