Skip to content

Commit

Permalink
Merge pull request #22 from adamlilith/upgrade_to_grass78
Browse files Browse the repository at this point in the history
Upgrade to grass78
  • Loading branch information
Adam B. Smith authored Oct 15, 2020
2 parents da6c4b3 + bced9ea commit 5e19b23
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/fasterRaster.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' Create an issue on \href{https://github.com/adamlilith/fasterRaster/issues}{GitHub}.
#'
#' @details
#' @section Raster-only operations:
#' @section Raster operations:
#' \code{\link{fasterBufferRast}}: Add buffer to cells in a raster (using GRASS).\cr
#' \code{\link{fasterContour}}: Calculate contour vectors from a raster.\cr
#' \code{\link{fasterConvertDegree}}: Convert degrees from GRASS format (0 = east, 90 = north) to standard (0 = north, 90 = east) (using GRASS).\cr
Expand All @@ -25,6 +25,9 @@
#' \code{\link{fasterVectorize}}: Convert raster to spatial points, lines, or polygons (using GRASS).\cr
#' \code{\link{fasterVectToRastDistance}}: Distance between raster cells and a vector (using GRASS).\cr
#'
#' @section Generic "faster" operations:
#' \code{\link{faster}}: Generic call to a GRASS module.\cr
#'
#' @section Normal-speed raster processing:
#' \code{\link{fragmentation}}: Calculate landscape fragmentation indices as per Riitter et al. (2000 Conservation Ecology 4:3)
#'
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ NB: If for some reason this command does not work, you can install the package b
* `fasterVectorize`: Convert raster to spatial points, lines, or polygons (using GRASS).
* `fasterVectToRastDistance`: Distance between raster cells and a vector (using GRASS).

### Generic "faster" operations: ##
* `faster`: Generic call to a GRASS module.

### Normal-speed raster processing ##
* `fragmentation`: Calculate landscape fragmentation indices as per Riitter et al. (2000 Conservation Ecology 4:3)

Expand Down Expand Up @@ -94,4 +97,11 @@ Here is an example of chaining with the *faster* function. The second function u
`ll3 <- stack(latRast, longRast)`
`plot(ll3)`

### Citation ###
As of October, 2020, there is not a package-specific citation for *fasterRaster*, but the package was first used in:

Morelli*, T.L., Smith*, A.B., Mancini, A.N., Balko, E. A., Borgenson, C., Dolch, R., Farris, Z., Federman, S., Golden, C.D., Holmes, S., Irwin, M., Jacobs, R.L., Johnson, S., King, T., Lehman, S., Louis, E.E. Jr., Murphy, A., Randriahaingo, H.N.T., Lucien, Randriannarimanana, H.L.L., Ratsimbazafy, J., Razafindratsima, O.H., and Baden, A.L. 2020. The fate of Madagascar’s rainforest habitat. Nature Climate Change 10:89-96. * Equal contribution https://doi.org/10.1038/s41558-019-0647-x

Abstract. Madagascar has experienced extensive deforestation and overharvesting, and anthropogenic climate change will compound these pressures. Anticipating these threats to endangered species and their ecosystems requires considering both climate change and habitat loss effects. The genus Varecia (ruffed lemurs), which is composed of two Critically Endangered forest-obligate species, can serve as a status indicator of the biodiverse eastern rainforest of Madagascar. Here, we combined decades of research to show that the suitable habitat for ruffed lemurs could be reduced by 29–59% from deforestation, 14–75% from climate change (representative concentration pathway 8.5) or 38–93% from both by 2070. If current protected areas avoid further deforestation, climate change will still reduce the suitable habitat by 62% (range: 38–83%). If ongoing deforestation continues, the suitable habitat will decline by 81% (range: 66–93%). Maintaining and enhancing the integrity of protected areas, where rates of forest loss are lower, will be essential for ensuring persistence of the diversity of the rapidly diminishing Malagasy rainforests.

~ Adam

0 comments on commit 5e19b23

Please sign in to comment.