Wildfire Predictive Services

Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery.
https://github.com/bcgov/wps

Category: Biosphere
Sub Category: Wildfire

Keywords

bcws cffdrs dds fastapi flnr hacktoberfest javascript postgis postgres postgresql python react typescript weather wildfire

Keywords from Contributors

psu

Last synced: about 16 hours ago
JSON representation

Repository metadata

Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery

README.md

Issues
MIT License
Lifecycle
codecov

Wildfire Predictive Services

Description

Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery.

Getting Started

Dependencies

Installing

Running the application locally in docker:

  1. Create .env file in web using web/.env.example as a sample.
  2. Create .env.docker file in api/app using api/app/.env.example as a sample.
  3. Run docker compose build and then docker compose up
  4. Open http://localhost:8080 to view the front end served up from a static folder by the python api.
  5. Open http://localhost:3000 to view the front end served up in developer mode by node.

Developing the application in a dev container, using vscode:

  • Open up the project: Remote-Containers: Open Folder in Container, select docker-compose.vscode.yml
  • Sometimes VSCode doesn't pick up you've changed the docker container: Remote-Containers: Rebuild Container
  • Install extensions into the container, as needed.
  • You can point the API database to: host.docker.internal
  • You can start up other services outside of vscode, e.g.: docker compose up db and docker compose up redis

Running the api alone

Refer to backend/packages/wps-api/README.md.

Running the front end alone

Refer to web/README.md

Documentation

License

Apache 2.0 License - see the LICENSE.md

Contributing

PRs

Your Github PR is required to pass all our CI checks, including our test coverage threshold via CodeCov: https://docs.codecov.com/docs/about-code-coverage

Resources

Acknowledgments

SonarCloud


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 10 days ago

Total Commits: 2,034
Total Committers: 17
Avg Commits per committer: 119.647
Development Distribution Score (DDS): 0.747

Commits in past year: 345
Committers in past year: 7
Avg Commits per committer in past year: 49.286
Development Distribution Score (DDS) in past year: 0.687

Name Email Commits
Conor Brady c****d@g****m 515
renovate[bot] 2****] 352
dgboss d****s@g****a 226
Sybrand Strauss s****s@g****a 211
dependabot[bot] 4****] 165
bcgov-wps B****s@g****a 154
Brett Edwards b****s@g****a 134
Andrea Williams 5****s 101
Derek Roberts 4****s 67
Kyubin Han k****1@g****m 56
JulianForeman 7****n 24
Nkuruba 4****a 9
Jacques Metevier j****r@g****m 8
jakemorr 6****r 6
repo-mountie[bot] 4****] 3
Jason Ernst e****1@g****m 2
Nicolas Livanos N****s@g****a 1

Committer domains:


Issue and Pull Request metadata

Last synced: 7 days ago

Total issues: 2,195
Total pull requests: 3,346
Average time to close issues: 6 months
Average time to close pull requests: 3 days
Total issue authors: 30
Total pull request authors: 16
Average comments per issue: 3.71
Average comments per pull request: 2.03
Merged pull request: 2,222
Bot issues: 118
Bot pull requests: 899

Past year issues: 254
Past year pull requests: 639
Past year average time to close issues: 14 days
Past year average time to close pull requests: 2 days
Past year issue authors: 9
Past year pull request authors: 7
Past year average comments per issue: 2.78
Past year average comments per pull request: 1.96
Past year merged pull request: 394
Past year bot issues: 26
Past year bot pull requests: 218

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

Top Issue Authors

  • jakemorr (314)
  • conbrad (292)
  • NicolasLivanos (289)
  • Sybrand (281)
  • tessmgood (234)
  • nealmcloughlin (116)
  • github-actions[bot] (98)
  • andrea-williams (97)
  • dgboss (90)
  • DerekRoberts (82)
  • jowand (66)
  • bradyholliday (44)
  • rajpersram (32)
  • brettedw (30)
  • BAAlexK (23)

Top Pull Request Authors

  • conbrad (890)
  • renovate[bot] (595)
  • dgboss (524)
  • dependabot[bot] (303)
  • bcgov-wps (299)
  • brettedw (246)
  • Sybrand (237)
  • andrea-williams (134)
  • jmetev1 (31)
  • Kyubinhan (31)
  • JulianForeman (27)
  • DerekRoberts (21)
  • compscidr (3)
  • NicolasLivanos (3)
  • ghost (1)

Top Issue Labels

  • Task (1,045)
  • User Story (523)
  • Ready (429)
  • 4Refinement (326)
  • Bug (205)
  • UX/Research (172)
  • User Requested (93)
  • Epic (72)
  • Duplicate (69)
  • Declined (56)
  • Decision (37)
  • OCP4 (33)
  • Spike (21)
  • Good First Issue (17)
  • SM (13)
  • ASA GO MVP = July 23 (10)
  • UX-Design (9)
  • Urgent (7)
  • Dumping Ground (7)
  • Collaboration Required (7)
  • ASA MVP (6)
  • UX-Research (5)
  • Architecture (3)
  • Keep - Do not Discard (3)
  • javascript (3)
  • dependencies (1)
  • enhancement (1)

Top Pull Request Labels

  • dependencies (303)
  • python (177)
  • javascript (124)
  • Task (11)
  • Bug (2)
  • github_actions (2)
  • hacktoberfest-accepted (1)
  • Ready (1)

Dependencies

.github/workflows/cleanup.yml actions
  • actions/checkout v3 composite
.github/workflows/deployment.yml actions
  • actions/checkout v3 composite
  • zaproxy/action-baseline v0.7.0 composite
.github/workflows/integration.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-node v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • codecov/codecov-action v3 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/post_merge_integration.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-node v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • codecov/codecov-action v3 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/pr_description.yml actions
  • actions/checkout v3 composite
  • actions/github-script v6 composite
.github/workflows/production.yml actions
  • actions/checkout v3 composite
  • actions/github-script v6 composite
.github/workflows/renovate.yml actions
  • actions/checkout v3.3.0 composite
  • renovatebot/github-action v34.102.8 composite
.github/workflows/zap_scan.yml actions
  • actions/checkout v3 composite
  • zaproxy/action-baseline v0.7.0 composite
Dockerfile docker
  • ${DOCKER_IMAGE} latest build
api/Dockerfile docker
  • ubuntu 22.04 build
docker-compose.api-noreload.yml docker
  • postgis/postgis latest
docker-compose.yml docker
  • nats latest
  • postgis/postgis latest
  • redis latest
openshift/patroni-postgis/docker/Dockerfile docker
  • image-registry.openshift-image-registry.svc 5000/bcgov/patroni-postgres build
openshift/s3-backup/docker/Dockerfile docker
  • centos/postgresql-12-centos7 latest build
openshift/wps-api-base/docker/Dockerfile docker
  • ${DOCKER_IMAGE} latest build
web/Dockerfile docker
  • node 19 build
web/package.json npm
  • @cypress/code-coverage ^3.10.0 development
  • @cypress/instrument-cra ^1.4.0 development
  • @testing-library/dom ^8.13.0 development
  • @testing-library/jest-dom ^5.14.1 development
  • @testing-library/react ^12.1.0 development
  • @testing-library/user-event ^14.1.1 development
  • @types/jest ^29.0.0 development
  • @types/recharts ^1.8.23 development
  • cypress ^12.0.0 development
  • eslint ^8.12.0 development
  • eslint-plugin-react-hooks ^4.4.0 development
  • react-scripts ^5.0.1 development
  • start-server-and-test ^1.11.4 development
  • ts-sinon ^2.0.2 development
  • @emotion/react ^11.8.2
  • @emotion/styled ^11.8.1
  • @mui/icons-material ^5.5.1
  • @mui/lab ^5.0.0-alpha.75
  • @mui/material ^5.5.3
  • @mui/styles ^5.5.3
  • @mui/x-date-pickers ^5.0.13
  • @reduxjs/toolkit ^1.8.0
  • @types/esri-leaflet ^2.1.6
  • @types/leaflet ^1.7.0
  • @types/lodash ^4.14.173
  • @types/luxon ^3.0.0
  • @types/ol ^6.4.2
  • @types/react 18.0.26
  • @types/react-dom ^17.0.3
  • @types/react-plotly.js ^2.2.4
  • @types/react-router-dom ^5.3.0
  • @types/webpack-env ^1.15.1
  • @typescript-eslint/eslint-plugin ^5.17.0
  • @typescript-eslint/parser ^5.17.0
  • axios ^0.21.1
  • clsx ^1.1.0
  • date-fns ^2.28.0
  • eslint-config-prettier ^8.3.0
  • eslint-plugin-prettier ^4.0.0
  • eslint-plugin-react ^7.29.4
  • esri-leaflet 3.0.9
  • filefy ^0.1.11
  • jwt-decode ^3.1.2
  • keycloak-js ^20.0.0
  • leaflet ^1.7.1
  • lodash ^4.17.21
  • luxon ^3.0.0
  • ol ^7.0.0
  • plotly.js ^2.5.1
  • prettier ^2.4.1
  • react ^17.0.2
  • react-dom ^17.0.2
  • react-plotly.js ^2.5.1
  • react-redux ^8.0.0
  • react-router-dom ^6.0.0
  • recharts ^2.1.8
  • typescript ^4.4
web/yarn.lock npm
  • 1744 dependencies
api/poetry.lock pypi
  • 197 dependencies
api/pyproject.toml pypi
  • autopep8 ^2 develop
  • coverage ^6 develop
  • jsonpickle ^3.0.0 develop
  • jupyter ^1 develop
  • matplotlib ^3 develop
  • notebook ^6 develop
  • pycodestyle ^2 develop
  • pytest ^7 develop
  • pytest-mock ^3 develop
  • pytest-testmon ^1.2.3 develop
  • pytest-watch ^4.2.0 develop
  • pytest-xdist ^3 develop
  • pytest_bdd ^5 develop
  • rope ^1 develop
  • affine ^2.3.1
  • aiobotocore ^2.0.0
  • aiodns ^3
  • aiofiles ^22
  • aiohttp ^3
  • alembic ^1
  • asyncpg ^0.27.0
  • cryptography ^39.0
  • fastapi ^0
  • geoalchemy2 ^0
  • geopandas ^0
  • gunicorn ^20.1.0
  • hiredis ^2.0.0
  • httpx ^0.23.1
  • jinja2 ^3
  • nats-py ^2.1.7
  • numpy ^1.21.1
  • pandas ^1
  • pdfkit ^1.0.0
  • postgres ^4
  • psycopg2 ^2
  • pyjnius ^1.3.0
  • pyjwt ^2
  • pylint ^2
  • python >=3.10.4,<3.11
  • python-decouple ^3
  • python-multipart ^0.0.5
  • rasterio ^1.3.2
  • redis ^4.0.0
  • requests ^2
  • requests_ntlm ^1
  • rpy2 ^3.4.5
  • scikit-learn ^1.1.3
  • scipy ^1
  • setuptools ^65.3.0
  • sqlalchemy ^1
  • uvicorn ^0
openshift/s3-backup/docker/poetry.lock pypi
  • astroid 2.11.7 develop
  • atomicwrites 1.4.1 develop
  • colorama 0.4.5 develop
  • dill 0.3.4 develop
  • importlib-metadata 4.8.3 develop
  • iniconfig 1.1.1 develop
  • isort 5.10.1 develop
  • lazy-object-proxy 1.7.1 develop
  • mccabe 0.7.0 develop
  • packaging 21.3 develop
  • platformdirs 2.4.0 develop
  • pluggy 1.0.0 develop
  • py 1.11.0 develop
  • pylint 2.13.9 develop
  • pyparsing 3.0.9 develop
  • pytest 7.0.1 develop
  • tomli 1.2.3 develop
  • typed-ast 1.5.4 develop
  • zipp 3.6.0 develop
  • aiobotocore 2.3.4
  • aiohttp 3.8.3
  • aioitertools 0.11.0
  • aiosignal 1.2.0
  • async-generator 1.10
  • async-timeout 4.0.2
  • asynctest 0.13.0
  • attrs 22.1.0
  • botocore 1.24.21
  • charset-normalizer 2.1.1
  • frozenlist 1.2.0
  • idna 3.4
  • idna-ssl 1.1.0
  • jmespath 0.10.0
  • multidict 5.2.0
  • python-dateutil 2.8.2
  • python-decouple 3.6
  • six 1.16.0
  • typing-extensions 4.1.1
  • urllib3 1.26.13
  • wrapt 1.14.1
  • yarl 1.7.2
openshift/s3-backup/docker/pyproject.toml pypi
  • pylint ^2.11.1 develop
  • pytest ^7.0.0 develop
  • aiobotocore ^2.0.0
  • python >=3.6.8,<=3.6.15
  • python-decouple ^3.5
sfms/pyproject.toml pypi
  • python 2.7.18
tileserv/poetry.lock pypi
  • aiobotocore 2.4.2
  • aiohttp 3.7.4.post0
  • aioitertools 0.11.0
  • alembic 1.9.2
  • async-timeout 3.0.1
  • attrs 22.2.0
  • botocore 1.27.59
  • botocore-stubs 1.29.50
  • certifi 2022.12.7
  • chardet 4.0.0
  • charset-normalizer 3.0.1
  • colorama 0.4.6
  • exceptiongroup 1.1.0
  • geoalchemy2 0.12.5
  • greenlet 2.0.1
  • idna 3.4
  • iniconfig 2.0.0
  • jmespath 1.0.1
  • mako 1.2.4
  • markupsafe 2.1.1
  • multidict 6.0.4
  • numpy 1.24.1
  • packaging 23.0
  • pandas 1.5.2
  • pluggy 1.0.0
  • psycopg2-binary 2.9.5
  • pytest 7.2.1
  • python-dateutil 2.8.2
  • python-decouple 3.7
  • pytz 2022.7.1
  • requests 2.28.2
  • shapely 1.8.5.post1
  • six 1.16.0
  • sqlalchemy 1.4.46
  • tomli 2.0.1
  • types-aiobotocore 2.4.2
  • types-aiobotocore-s3 2.4.2
  • types-awscrt 0.16.4
  • typing-extensions 4.4.0
  • urllib3 1.26.14
  • wrapt 1.14.1
  • yarl 1.8.2
tileserv/pyproject.toml pypi
  • aiobotocore ^2.4.1
  • alembic ^1.8.1
  • geoalchemy2 ^0.12.5
  • pandas ^1.5.2
  • psycopg2-binary ^2.9.5
  • pytest ^7.2.0
  • python ^3.10
  • python-decouple ^3.6
  • pytz ^2022.6
  • requests ^2.28.1
  • shapely ^1.8.5.post1
  • sqlalchemy ^1.4.44
  • types-aiobotocore ^2.4.1
openshift/s3-backup/docker/docker-compose.yml docker
sfms/poetry.lock pypi

Score: 9.1539816383068