Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Ostberg
WM_LPJmL_indicators
Commits
a5836b42
Commit
a5836b42
authored
Nov 19, 2021
by
Sebastian Ostberg
Browse files
update output path again
parent
dc2b1ec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
risk_yield_loss.R
View file @
a5836b42
...
...
@@ -824,17 +824,17 @@ risk_category_var <- ncvar_def(
)
# Generate output NetCDF files
if
(
!
dir.exists
(
"output"
))
dir.create
(
"output"
)
if
(
!
dir.exists
(
"
../
output"
))
dir.create
(
"
../
output"
)
# First file
print
(
paste
(
"Save gridded yield loss risk indicator variable to"
,
"utput/yield_loss_risk.nc"
"
../o
utput/yield_loss_risk.nc"
)
)
nc
<-
nc_create
(
filename
=
"output/yield_loss_risk.nc"
,
filename
=
"
../
output/yield_loss_risk.nc"
,
vars
=
list
(
yield_loss_risk_var
,
crop_var
,
...
...
@@ -845,11 +845,11 @@ nc <- nc_create(
print
(
paste
(
"Save gridded crop area at risk variable to"
,
"output/harvested_area_at_risk.nc"
"
../
output/harvested_area_at_risk.nc"
)
)
nc2
<-
nc_create
(
filename
=
"output/harvested_area_at_risk.nc"
,
filename
=
"
../
output/harvested_area_at_risk.nc"
,
vars
=
list
(
harvested_area_var
,
crop_var
,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment