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: 1 day 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

Note: Docker Compose and the VS Code dev container are currently
unsupported
. Native setup is the recommended (and supported) way to run the
project locally.

Run the backend and front end natively — see the per-component setup docs:

  • Backend: backend/README.md (uv, GDAL, Postgres/PostGIS, Redis). On macOS, setup/mac.sh installs the system dependencies.
  • Frontend: web/README.md (Node/yarn).

Installing

Native setup is the recommended and supported path. The Docker Compose and dev
container flows further down are currently unsupported and may be out of date.

Refer to backend/packages/wps-api/README.md (setup in backend/README.md; on macOS, setup/mac.sh installs the dependencies).

Refer to web/README.md

Running the application locally in docker (currently unsupported)

  1. Create web/.env using web/apps/wps-web/.env.example as a sample.
  2. Create backend/packages/wps-api/src/app/.env.docker using the repo-root .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 (currently unsupported)

  • Open the project and run Dev Containers: Reopen in Container — VS Code picks up .devcontainer/devcontainer.json.
  • Sometimes VSCode doesn't pick up you've changed the docker container: Dev 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

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: 3 days ago

Total Commits: 2,369
Total Committers: 18
Avg Commits per committer: 131.611
Development Distribution Score (DDS): 0.742

Commits in past year: 436
Committers in past year: 6
Avg Commits per committer in past year: 72.667
Development Distribution Score (DDS) in past year: 0.608

Name Email Commits
Conor Brady c****d@g****m 612
renovate[bot] 2****] 470
dgboss d****s@g****a 278
Sybrand Strauss s****s@g****a 211
Brett Edwards b****s@g****a 201
dependabot[bot] 4****] 165
bcgov-wps B****s@g****a 154
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
ShuChen217 1****7 1

Committer domains:


Issue and Pull Request metadata

Last synced: 3 days ago

Total issues: 2,248
Total pull requests: 3,469
Average time to close issues: 7 months
Average time to close pull requests: 3 days
Total issue authors: 31
Total pull request authors: 19
Average comments per issue: 3.65
Average comments per pull request: 2.04
Merged pull request: 2,280
Bot issues: 121
Bot pull requests: 968

Past year issues: 78
Past year pull requests: 176
Past year average time to close issues: 28 days
Past year average time to close pull requests: 4 days
Past year issue authors: 8
Past year pull request authors: 5
Past year average comments per issue: 0.6
Past year average comments per pull request: 2.27
Past year merged pull request: 75
Past year bot issues: 10
Past year bot pull requests: 105

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

Top Issue Authors

  • NicolasLivanos (315)
  • jakemorr (314)
  • conbrad (299)
  • Sybrand (281)
  • tessmgood (234)
  • nealmcloughlin (122)
  • github-actions[bot] (100)
  • andrea-williams (97)
  • dgboss (96)
  • DerekRoberts (82)
  • jowand (66)
  • bradyholliday (44)
  • brettedw (35)
  • rajpersram (32)
  • BAAlexK (23)

Top Pull Request Authors

  • conbrad (913)
  • renovate[bot] (664)
  • dgboss (528)
  • dependabot[bot] (303)
  • bcgov-wps (299)
  • brettedw (270)
  • Sybrand (237)
  • andrea-williams (134)
  • Kyubinhan (31)
  • jmetev1 (31)
  • JulianForeman (27)
  • DerekRoberts (21)
  • NicolasLivanos (3)
  • compscidr (3)
  • PolpOnline (1)

Top Issue Labels

  • Task (1,080)
  • User Story (524)
  • Ready (429)
  • 4Refinement (334)
  • Bug (211)
  • UX/Research (171)
  • User Requested (94)
  • Epic (76)
  • Duplicate (69)
  • Declined (56)
  • Decision (39)
  • OCP4 (33)
  • Spike (23)
  • Good First Issue (17)
  • UX-Design (14)
  • SM (13)
  • ASA GO MVP = July 23 (10)
  • UX-Research (8)
  • Dumping Ground (7)
  • Urgent (7)
  • Collaboration Required (7)
  • ASA MVP (6)
  • Blocked (4)
  • javascript (3)
  • Architecture (3)
  • Keep - Do not Discard (3)
  • enhancement (1)
  • dependencies (1)

Top Pull Request Labels

  • dependencies (303)
  • python (177)
  • javascript (124)
  • Task (11)
  • github_actions (2)
  • Bug (2)
  • Ready (1)
  • hacktoberfest-accepted (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.151863442217206