Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SIMO_output
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
clblatte
SIMO_output
Commits
4a93fd93
Commit
4a93fd93
authored
4 years ago
by
clblatte
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.jyu.fi:clblatte/simo_output
parents
fa6a7b83
3d716a12
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
structure_SIMO_rslDB_FBE_function.R
+1
-1
1 addition, 1 deletion
structure_SIMO_rslDB_FBE_function.R
structure_SIMO_rslDB_SA_function.R
+1
-1
1 addition, 1 deletion
structure_SIMO_rslDB_SA_function.R
with
2 additions
and
2 deletions
structure_SIMO_rslDB_FBE_function.R
+
1
−
1
View file @
4a93fd93
...
...
@@ -120,7 +120,7 @@ create_table_UNIT <- 'Create Table UNIT AS SELECT u.*,
(CASE WHEN u.Main_sp is 4 THEN 1 ELSE 0 END) as Bpub_DOM,
(CASE WHEN u.Main_sp is 6 THEN 1 ELSE 0 END) as Alnus_DOM,
o.SCAR,o.PLANTING,o.SEEDING,
u.BM_total*0.5 + u.Carbon_soil+u.CARBON_STORAGE_Ojanen+u.PEAT*300000 as CARBON_STORAGE_Update,
u.BM_total*0.5 + u.Carbon_soil+
ifnull(
u.CARBON_STORAGE_Ojanen
,0)
+u.PEAT*300000 as CARBON_STORAGE_Update,
FROM comp_unit u, data_link l
left outer join branch_desc b on l.branch = b.branch and l.id = b.id
...
...
This diff is collapsed.
Click to expand it.
structure_SIMO_rslDB_SA_function.R
+
1
−
1
View file @
4a93fd93
...
...
@@ -69,7 +69,7 @@ create_table_UNIT <- 'Create Table UNIT AS SELECT u.*,
0 as income_biomass,
0 as Biomass,
0 as THIN,
u.BM_total*0.5 + u.Carbon_soil+u.CARBON_STORAGE_Ojanen+u.PEAT*300000 as CARBON_STORAGE_UPDATE,
u.BM_total*0.5 + u.Carbon_soil+
ifnull(
u.CARBON_STORAGE_Ojanen
,0)
+u.PEAT*300000 as CARBON_STORAGE_UPDATE,
FROM comp_unit u, data_link l
left outer join branch_desc b on l.branch = b.branch and l.id = b.id
cross join max_v m on l.id = m.id
...
...
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