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 1 hour 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: 6 days ago

Total Commits: 2,409
Total Committers: 19
Avg Commits per committer: 126.789
Development Distribution Score (DDS): 0.743

Commits in past year: 455
Committers in past year: 6
Avg Commits per committer in past year: 75.833
Development Distribution Score (DDS) in past year: 0.615

Name Email Commits
Conor Brady c****d@g****m 620
renovate[bot] 2****] 485
dgboss d****s@g****a 278
Brett Edwards b****s@g****a 215
Sybrand Strauss s****s@g****a 211
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
Gabriel Dalton 8****n 3
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: about 3 hours ago

Total issues: 2,279
Total pull requests: 3,543
Average time to close issues: 7 months
Average time to close pull requests: 3 days
Total issue authors: 32
Total pull request authors: 20
Average comments per issue: 3.61
Average comments per pull request: 2.05
Merged pull request: 2,338
Bot issues: 125
Bot pull requests: 1,003

Past year issues: 94
Past year pull requests: 221
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 3 days
Past year issue authors: 10
Past year pull request authors: 5
Past year average comments per issue: 0.63
Past year average comments per pull request: 2.38
Past year merged pull request: 117
Past year bot issues: 13
Past year bot pull requests: 127

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

Top Issue Authors

  • NicolasLivanos (326)
  • jakemorr (314)
  • conbrad (302)
  • Sybrand (281)
  • tessmgood (234)
  • nealmcloughlin (126)
  • github-actions[bot] (103)
  • andrea-williams (97)
  • dgboss (97)
  • DerekRoberts (82)
  • jowand (66)
  • bradyholliday (44)
  • rajpersram (37)
  • brettedw (36)
  • BAAlexK (23)

Top Pull Request Authors

  • conbrad (931)
  • renovate[bot] (699)
  • dgboss (528)
  • dependabot[bot] (303)
  • bcgov-wps (299)
  • brettedw (285)
  • Sybrand (237)
  • andrea-williams (134)
  • Kyubinhan (31)
  • jmetev1 (31)
  • JulianForeman (27)
  • DerekRoberts (21)
  • Gabriel-Dalton (6)
  • NicolasLivanos (3)
  • compscidr (3)

Top Issue Labels

  • Task (1,098)
  • User Story (523)
  • Ready (429)
  • 4Refinement (348)
  • Bug (211)
  • UX/Research (171)
  • User Requested (101)
  • Epic (76)
  • Duplicate (69)
  • Declined (56)
  • Decision (39)
  • OCP4 (33)
  • Spike (24)
  • Good First Issue (18)
  • UX-Design (18)
  • UX-Research (14)
  • SM (13)
  • ASA GO MVP = July 23 (10)
  • Urgent (7)
  • Collaboration Required (7)
  • Dumping Ground (7)
  • ASA MVP (6)
  • javascript (3)
  • Architecture (3)
  • Keep - Do not Discard (3)
  • Blocked (2)
  • 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/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/zap_scan.yml actions
  • actions/checkout v3 composite
  • zaproxy/action-baseline v0.7.0 composite
Dockerfile docker
  • ${DOCKER_IMAGE} latest build
.github/actions/gwa-setup/action.yml actions
.github/workflows/asa_go_integration.yml actions
  • ./.github/actions/asa-go-setup * composite
  • actions/checkout v7 composite
  • actions/setup-java v5 composite
  • codecov/codecov-action fb8b3582c8e4def4969c97caa2f19720cb33a72f composite
  • gradle/actions/setup-gradle 9c971963bec38e04b3d30dcc455b5382be2fdbfb composite
  • maxim-lobanov/setup-xcode ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 composite
.github/workflows/build_openshift_manual.yml actions
  • ./.github/actions/oc-login * composite
  • ./.github/actions/oc-setup * composite
  • actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
.github/workflows/deploy_wps_weather.yml actions
  • ./.github/actions/oc-login * composite
  • ./.github/actions/oc-setup * composite
  • actions/checkout 3d3c42e5aac5ba805825da76410c181273ba90b1 composite
  • bcgov/actions/builder-ghcr 4ad61a784f1c17765b03d8d6de9737c1d3f4c0f2 composite
.github/actions/asa-go-setup/action.yml actions
  • actions/cache v6 composite
  • actions/setup-node v7 composite
.github/actions/gwa-apply/action.yml actions
.github/actions/oc-setup/action.yml actions
  • redhat-actions/openshift-tools-installer e3b32c2ab7b064b2ce189121c4a49f509a99a7b4 composite
.github/workflows/asa_go_android_build.yml actions
  • ./.github/actions/asa-go-setup * composite
  • ./.github/actions/asa-go-validate-mui-license * composite
  • actions/checkout v7 composite
  • actions/setup-java v5 composite
  • actions/upload-artifact v7 composite
  • gradle/actions/setup-gradle 9c971963bec38e04b3d30dcc455b5382be2fdbfb composite
.github/workflows/publish_docker_base.yml actions
  • actions/checkout v7 composite
  • docker/login-action v4 composite
backend/packages/cffdrs-vec/pyproject.toml pypi
  • cffdrs >=0,<1
  • numba >=0,<1
  • numpy >=1,<3
backend/packages/wps-api/pyproject.toml pypi
  • affine >=3,<4
  • aiobotocore ==2.15.1
  • aiodns >=4,<5
  • aiofiles >=25.0.0,<26
  • aiohttp >=3,<4
  • alembic >=1,<2
  • asyncpg >=0.30.0,<1
  • cffdrs *
  • cffdrs-vec *
  • cryptography >=50,<51
  • earthaccess >=0.15.1
  • fastapi >=0,<1
  • firebase-admin >=7.3.0
  • gdal ==3.13.1
  • geoalchemy2 >=0,<1
  • geopandas >=1.0.1,<2
  • greenlet >=3.0.0,<4
  • gunicorn >=26,<27
  • hiredis >=3.0.0,<4
  • httpx >=0.27.0,<1
  • jinja2 >=3,<4
  • nats-py >=2.1.7,<3
  • numba ==0.66.*
  • numpy ==2.3.*
  • orjson >=3.9.0,<4
  • pandas >=2,<3
  • pdfkit >=1.0.0,<2
  • postgres >=4,<5
  • psycopg2 >=2,<3
  • pyjnius >=1.3.0,<2
  • pyjwt >=2,<3
  • python-decouple >=3,<4
  • python-multipart >=0.0.18,<1
  • redis >=8,<9
  • requests >=2,<3
  • requests-ntlm >=1,<2
  • scikit-learn >=1.1.3,<2
  • scipy >=1,<2
  • sentry-sdk [fastapi]>=2.0.1,<3
  • setuptools >=84,<85
  • shapely >=2.0.5,<3
  • sqlalchemy >=2,<3
  • uvicorn >=0,<1
  • wps-sfms *
  • wps-shared *
  • wps-wf1 *
.github/actions/aps-publish/action.yml actions
  • ./.github/actions/gwa-publish * composite
  • actions/upload-artifact v7 composite
.github/actions/asa-go-validate-mui-license/action.yml actions
.github/actions/gwa-publish/action.yml actions
.github/actions/oc-login/action.yml actions
.github/actions/python-setup/action.yml actions
  • actions/cache v6 composite
  • astral-sh/setup-uv v9.0.0 composite
.github/actions/sfms-fwi-aps-apply/action.yml actions
  • ./.github/actions/gwa-apply * composite
  • actions/upload-artifact v7 composite
.github/workflows/asa_go_ios_build_deploy.yml actions
  • ./.github/actions/asa-go-setup * composite
  • ./.github/actions/asa-go-validate-mui-license * composite
  • actions/checkout v7 composite
  • actions/upload-artifact v7 composite
.github/workflows/issue-metrics.yml actions
  • github/issue-metrics v5 composite
  • peter-evans/create-issue-from-file v6 composite
.github/workflows/setup_mac_test.yml actions
  • actions/checkout v7 composite
backend/packages/wps-api/Dockerfile docker
  • ubuntu 22.04 build
backend/packages/wps-jobs/pyproject.toml pypi
  • affine >=3,<4
  • aiofiles >=25.0.0,<26
  • asyncpg >=0.30.0,<1
  • gdal ==3.13.1
  • geoalchemy2 >=0,<1
  • herbie-data >=2025.11.1,<2026
  • numpy ==2.3.*
  • psycopg2-binary >=2.9.10,<3
  • redis >=8,<9
  • scikit-learn >=1.6.1,<2
  • scipy >=1.15.2,<2
  • shapely >=2.0.5,<3
  • sqlalchemy >=2.0.38,<3
  • wps-shared *
  • wps-wf1 *
  • xarray >=2025.3.1,<2026

Score: 9.21542741102474