A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Climate Change Informed Species Selection

A Biogeoclimatic Ecosystem Classification-based analysis framework built to anticipate the change climate implications to tree species environmental suitability at a site specific level.
https://github.com/bcgov/cciss_shinyapp

Category: Biosphere
Sub Category: Deforestation and Reforestation

Keywords

flnr shinyapps

Keywords from Contributors

climate-data rstats-package

Last synced: about 13 hours ago
JSON representation

Repository metadata

CCISS RMD knitr report graphics and Shiny App

README.md

Welcome to CCISS!

Lifecycle:Maturing

This is the main github repo for the CCISS web tool.

What is CCISS?

Climate Change Informed Species Selection (CCISS – pronounced ‘kiss’) is a Biogeoclimatic Ecosystem Classification-based analysis framework built to anticipate the change climate implications to tree species environmental suitability at a site specific level. The CCISS tool is a web-based application that makes this analysis accessible to practitioners to help guide climate change adaptation in reforestation decisions.

Understanding climate- and site-level species suitability is one of the foundational pieces of information that practitioners require for the creation of silvicultural prescriptions that will lead to successful reforestation over a rotation period. Climate change will affect this goal by progressively altering environmental conditions and therefore the suitability of tree species established on a site over time.

To address this challenge, the CCISS tool projects changes to species environmental suitability at a site series level for any user selected location in the province and estimates the future suitability of a tree species to this changing climate. To account for future climate uncertainty the tool looks at a wide range of global climate change models and emissions scenarios to capture the range of plausible climate futures for any location in BC in 20-year periods out to 2100.

To assist users, the tool compares the current species selection guidance in the Chief Foresters Reference Guide with the future forecast from the CCISS analysis. Reports from the tool highlight where currently acceptable species are stable/improving or declining/unsuitable and where new species have become suitable and could be considered as candidates for assisted migration.

Usage

Install shiny

install.packages("shiny")

Run locally

  • Clone repository
  • Setup environment variables
  • Open project
  • Run shiny::runApp("./app")

.Renviron

The app requires the following environment variables.

BCGOV_USR={postgres user}
BCGOV_PWD={postgres password}
BCGOV_DB={postgres database}
BCGOV_HOST={postgres host}
BCGOV_TILESERVER={tileserver gl x, y, z url template}
BCGOV_TILELAYER={tileserver layer}
BCGOV_MAPBOX_TOKEN={mapbox api key}
BCGOV_MAPBOX_LABELS_STYLE={mapbox labels style ref user/styleref}
BCGOV_MAPBOX_HILLSHADE_STYLE={mapbox hillshade style ref user/styleref}

Repository structure

R packages folders

Special

.gitignore

Tells git which files to ignore.
See git documentation.

.Rbuildignore

Tells R which files to ignore when it builds the package.
See Writing R extension.

.github

Github actions workflows.

  • Package checks (R-CMD-check)
  • Online documentation (pkgdown),
  • Tests coverages report (test-coverage)
  • Style code / run roxygen2 (pr-commands)
    You can read more about actions from r-lib/actions

Workflows are setup or updated with the following instruction.

usethis::use_tidy_github_actions()

Custom modifications made.

  • Reduce the number of target for R CMD check.

To disable a workflow,
go the github actions tab, select a workflow, click on the ... dots on the right
and select disable workflow.


Copyright 2021 Province of British Columbia

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 664
Total Committers: 11
Avg Commits per committer: 60.364
Development Distribution Score (DDS): 0.718

Commits in past year: 158
Committers in past year: 6
Avg Commits per committer in past year: 26.333
Development Distribution Score (DDS) in past year: 0.544

Name Email Commits
Kiri Daust k****t@g****m 187
cmahony c****y@g****a 143
Will MacKenzie 3****n 115
Bruno Tremblay m****z@n****m 104
Obrist D****t@g****a 72
Comeau V****u@g****a 19
CeresBarros c****s@g****a 12
Daust K****t@g****a 6
Courtney Collins C****s@g****a 4
Destany Crane 1****e 1
Bruno Tremblay b****y@l****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 109
Total pull requests: 13
Average time to close issues: 4 months
Average time to close pull requests: 3 months
Total issue authors: 10
Total pull request authors: 6
Average comments per issue: 1.6
Average comments per pull request: 1.54
Merged pull request: 9
Bot issues: 5
Bot pull requests: 1

Past year issues: 39
Past year pull requests: 0
Past year average time to close issues: 21 days
Past year average time to close pull requests: N/A
Past year issue authors: 6
Past year pull request authors: 0
Past year average comments per issue: 0.67
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/bcgov/cciss_shinyapp

Top Issue Authors

  • cmahony (39)
  • whmacken (22)
  • meztez (12)
  • kdaust (9)
  • Vcomea (7)
  • destanycrane (6)
  • repo-mountie[bot] (5)
  • CeresBarros (4)
  • debobrist (4)
  • psolymos (1)

Top Pull Request Authors

  • meztez (6)
  • CeresBarros (2)
  • cmahony (2)
  • aammd (1)
  • kdaust (1)
  • repo-mountie[bot] (1)

Top Issue Labels

  • Type: Enhancement (17)
  • Release: v1.0 (15)
  • Type: Bug (13)
  • Type: Documentation (7)
  • Release: v0.6 (3)
  • bug (2)
  • Priority: Urgent (2)
  • Release: v2.0 (2)
  • help wanted (1)

Top Pull Request Labels

Score: 6.035481432524756