r.pops.spread
r.pops.spread - PoPS model implemented as a GRASS GIS module
Science Score: 85.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 14 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
2 of 4 committers (50.0%) from academic institutions -
✓Institutional organization owner
Organization ncsu-landscape-dynamics has institutional domain (geospatial.ncsu.edu) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Repository
r.pops.spread - PoPS model implemented as a GRASS GIS module
Basic Info
- Host: GitHub
- Owner: ncsu-landscape-dynamics
- License: gpl-2.0
- Language: C++
- Default Branch: main
- Homepage: https://grass.osgeo.org/grass7/manuals/addons/r.pops.spread.html
- Size: 602 KB
Statistics
- Stars: 5
- Watchers: 7
- Forks: 0
- Open Issues: 3
- Releases: 5
Topics
Metadata Files
README.md
r.pops.spread
This is a GRASS GIS module r.pops.spread for simulating spread of pests and pathogens. The module is a GRASS GIS interface to the PoPS (Pest or Pathogen Spread) model implemented in C++ library maintained in the PoPS Core repository.
The purpose of the r.pops.spread module is to provide easy way of running the model in GRASS GIS environment once you have calibrated the model for your purposes. You can obtain the calibration from a colleague or published work or you can calibrate the model manually (in GRASS GIS) or use the R interface to PoPS called rpops to do that.
Note: Earlier versions of this module were called r.spread.pest and r.spread.sod.
How to cite
If you use this software or code, please cite the following paper:
- Jones, C., Jones, S., Petrasova, A., Petras, V., Gaydos, D., Skrip, M., Takeuchi, Y., Bigsby, K., and Meentemeyer, R., 2021. Iteratively forecasting biological invasions with PoPS and a little help from our friends. Frontiers in Ecology and the Environment DOI: 10.1002/fee.2357
In case you are using the automatic management feature in rpops or the steering version of r.pops.spread (from the branch steering), please cite also:
- Petrasova, A., Gaydos, D.A., Petras, V., Jones, C.M., Mitasova, H. and Meentemeyer, R.K., 2020. Geospatial simulation steering for adaptive management. Environmental Modelling & Software 133: 104801. DOI: 10.1016/j.envsoft.2020.104801
In addition to citing the above paper, we also encourage you to reference, link, and/or acknowledge specific version of the software you are using, for example:
- We have used r.pops.spread GRASS module version 1.0.2 from https://github.com/ncsu-landscape-dynamics/r.pops.spread DOI: 10.5281/zenodo.5160179.
You can find the DOI for the specific version you are using at Zenodo.
Download
Download and install
The latest release of the r.pops.spread module is available in GRASS GIS Addons repository and can be installed directly in GRASS GIS through graphical user interface or using the following command:
g.extension r.pops.spread
Alternatively, you can obtain latest source code here and install it from this repository (see below).
Source code download
Just use Git, but note that the
PoPS Core library is in a submodule, so use --recursive when cloning,
for example:
git clone --recursive git@github.com:ncsu-landscape-dynamics/r.pops.spread.git
If you have already cloned, you can obtain the submodules using:
git submodule update --init
Note that downloading as ZIP won't include the source code for the submodule, so downloading as ZIP is not useful for this repo.
Contributing
Please see the pops-core repository for contributing best practices and release policies. Other than that, just open pull requests against this repo.
Updating submodule to latest version
To update the submodule, i.e. update submodule's commit used in this repository, use:
git submodule update --remote
Note that this change is recorded in the repository. In other words, the latest commit of a submodule is part of this repository. The reason for this is that the code in this repository is linked to a particular commit in the submodule repository (rather than the latest version). Git works this way to avoid breaking things unexpectedly due to changes in the submodule repository.
Updating the code of the submodule
cd pops-core
git switch -c new-feature-branch
git add file.hpp
git commit -m "this and that change"
git push
Then create a PR. After the PR is merged, then update the submodule and commit:
cd ..
git submodule update --remote
git commit pops-core -m "update to latest pops commit"
git push
The files
The main.cpp file contains the main program to run.
The model is in pops-core/include/pops-core directory.
To run the model
You can use Linux to run the model in the following way.
Open an terminal and install dependencies:
sudo apt-get install grass grass-dev
Download this repo using Git (see above):
git clone ...
Change the current directory to the model directory:
cd ...
Compile:
grass --tmp-location XY --exec g.extension module=r.pops.spread url=.
Run (assuming you checked how to create a GRASS GIS mapset with our data):
grass .../modeling/scenario1 --exec r.pops.spread ...
Authors and contributors
Authors
(alphabetical order)
- Chris Jones
- Margaret Lawrimore
- Vaclav Petras
- Anna Petrasova
Previous contributors
(alphabetical order)
- Zexi Chen
- Devon Gaydos
- Francesco Tonini
See Git commit history, GitHub insights, or CHANGELOG.md file (if present) for details about contributions.
License
Permission to use, copy, modify, and distribute this software and its documentation under the terms of the GNU General Public License version 2 or higher is hereby granted. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. See the GNU General Public License for more details.
Owner
- Name: NCSU Landscape Dynamics Group
- Login: ncsu-landscape-dynamics
- Kind: organization
- Location: Raleigh, NC, USA
- Website: http://geospatial.ncsu.edu/landscapedynamics/
- Repositories: 21
- Profile: https://github.com/ncsu-landscape-dynamics
Citation (CITATION.cff)
cff-version: 1.1.0
message: If you use this software, please cite it using instructions in the readme file.
authors:
- family-names: Petras
given-names: Vaclav
orcid: https://orcid.org/0000-0001-5566-9236
- family-names: Petrasova
given-names: Anna
orcid: https://orcid.org/0000-0002-5120-5538
- family-names: Jones
given-names: Chris M.
orcid: https://orcid.org/0000-0002-0229-2970
- family-names: Lawrimore
given-names: Margaret A.
orcid: https://orcid.org/0000-0003-2266-3588
date-released: 2021-12-15
title: r.pops.spread - PoPS model implemented as a GRASS GIS module
version: 2.0.0
license: GPL-2.0-or-later
GitHub Events
Total
- Watch event: 1
- Delete event: 3
- Issue comment event: 2
- Push event: 21
- Pull request event: 12
- Create event: 6
Last Year
- Watch event: 1
- Delete event: 3
- Issue comment event: 2
- Push event: 21
- Pull request event: 12
- Create event: 6
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Vaclav Petras | w****s@g****m | 222 |
| Anna Petrasova | k****a@g****m | 46 |
| jay1204 | z****2@n****u | 15 |
| Anna Petrasova | a****c@n****u | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 13
- Total pull requests: 58
- Average time to close issues: 3 months
- Average time to close pull requests: 18 days
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 1.08
- Average comments per pull request: 0.17
- Merged pull requests: 57
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 13
- Average time to close issues: about 2 months
- Average time to close pull requests: 12 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.15
- Merged pull requests: 12
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- wenzeslaus (10)
- petrasovaa (2)
- kellynm (1)
Pull Request Authors
- wenzeslaus (55)
- petrasovaa (13)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v1 composite
- actions/checkout v1 composite
- actions/cache v1 composite
- actions/checkout v1 composite