Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone.jl
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone.jl
Commits
7f3949e8
Commit
7f3949e8
authored
1 year ago
by
xo30xoqa
Browse files
Options
Downloads
Patches
Plain Diff
Added script for runtime profiling
closes #38
parent
f6e8b026
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+2
-1
2 additions, 1 deletion
.gitignore
Makefile
+6
-1
6 additions, 1 deletion
Makefile
README.md
+1
-0
1 addition, 0 deletions
README.md
docs/src/index.md
+4
-2
4 additions, 2 deletions
docs/src/index.md
with
13 additions
and
4 deletions
.gitignore
+
2
−
1
View file @
7f3949e8
TODO.md
docs/planning
*results*/
\ No newline at end of file
*results*/
profile*txt
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
6
−
1
View file @
7f3949e8
...
...
@@ -2,7 +2,7 @@ SHELL = /bin/bash
.PHONY
:
run test docs release install
run
:
# run
ning
example simulation
# run
an
example simulation
if
[
-d
"example_results"
]
;
then
rm
-r
example_results
;
fi
./run.jl
-o
example_results
src/analysis/analyse_nature.R example_results
...
...
@@ -19,6 +19,11 @@ docs:
sed
-i
-e
"s/
\*
Last updated:.*/
\*
Last updated:
${
commit
}
\*
/"
docs/src/index.md
cd
docs
;
julia builddocs.jl
profile
:
# run and profile an example simulation
if
[
-d
"example_results"
]
;
then
rm
-r
example_results
;
fi
./runprofile.jl
-o
example_results
container
:
echo
"Not yet implemented (#43)"
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
0
View file @
7f3949e8
...
...
@@ -61,6 +61,7 @@ If you are on Linux or MacOS, you can also use `make`:
```
> make run # run a simulation with default values
> make test # run the test suite
> make profile # run and profile a default simulation
> make docs # build the documentation
> make release # create a release
```
...
...
This diff is collapsed.
Click to expand it.
docs/src/index.md
+
4
−
2
View file @
7f3949e8
...
...
@@ -51,8 +51,6 @@ of parameters):
[core]
configfile = "src/parameters.toml" # location of the configuration file
landcovermap = "data/landcover_jena.tif" # location of the landcover map
farmfieldsmap = "data/fields_jena.tif" # location of the field geometry map
outdir = "results" # location and name of the output folder
overwrite = "ask" # overwrite the output directory? (true/false/"ask")
loglevel = "debug" # verbosity level: "debug", "info", "warn"
...
...
@@ -62,6 +60,10 @@ seed = 2 # seed value for the RNG (0 -> random value)
startdate = 2022-01-01
enddate = 2022-12-31
[world]
landcovermap = "data/landcover_jena.tif" # location of the landcover map
farmfieldsmap = "data/fields_jena.tif" # location of the field geometry map
[farm]
farmmodel = "FieldManager" # which version of the farm model to use (not yet implemented)
...
...
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