Skip to content

Commit 381c450

Browse files
authored
Merge pull request #3695 from AritraDey-Dev/remove-dir-creation
Quarto: remove manual outdir creation and fix pft outdir
2 parents 0797d85 + 604cc90 commit 381c450

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

documentation/tutorials/Demo_1_Basic_Run/pecan.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<pft>
1212
<name>temperate.coniferous</name>
1313
<posterior.files>pft/temperate.coniferous/prior.distns.Rdata</posterior.files>
14-
<outdir>pft/temperate.coniferous/pft/temperate.coniferous</outdir>
14+
<outdir>pft/temperate.coniferous</outdir>
1515
</pft>
1616
</pfts>
1717
<ensemble>

documentation/tutorials/Demo_1_Basic_Run/run_pecan.qmd

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,6 @@ settings$info <- list(
167167

168168
Editing the more interesting settings to change the PFT (`settings$pfts`) or extend the run (`settings$run$end.date`) is beyond the scope of this demo. You _could_ change the pft or the end date, but you would need a new file containing parameters for that PFT (`settings$pfts$pft$posterior.files`), or a climate file (`settings$run$met$path$path1`) that extends to the desired simulation period.
169169

170-
# Create Output Directory
171-
172-
Before running the workflow, we need to ensure that the output directory specified in the settings exists. This directory will store all the model outputs, configuration files, and results from the simulation.
173-
174-
> **Note:** All outputs will be written to `settings$outdir`. You can change this directory in your `pecan.xml` file or by modifying `settings$outdir` in the notebook before running the workflow. You can also put the `sipnet` executable anywhere you prefer, as long as you update `settings$model$binary`.
175-
176-
```{r create-outdir}
177-
dir.create(settings$outdir, recursive = TRUE, showWarnings = FALSE)
178-
```
179-
180-
181170
The directory structure created by PEcAn for this demo run will look like this:
182171

183172
```

0 commit comments

Comments
 (0)