digital-twins
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 17 committers (5.9%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.5%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: GeospatialResearch
- License: agpl-3.0
- Language: Python
- Default Branch: master
- Homepage: https://geospatialresearch.github.io/Digital-Twins/
- Size: 29.1 MB
Statistics
- Stars: 19
- Watchers: 4
- Forks: 13
- Open Issues: 29
- Releases: 4
Metadata Files
README.md
Copyright © 2021-2025 Geospatial Research Institute Toi Hangarau
Flood Resilience Digital Twin (FReDT)
Introduction
According to the National Emergency Management Agency, flooding is the greatest hazard in New Zealand, in terms of frequency, losses and civil defence emergencies. With major flood events occurring on average every 8 months (New Zealand – FloodList), it is necessary to produce high precision flood models and in order to do better planning, risk assessment and response to flood events.
The Flood Resilience Digital Twin can provide a better understanding of the degree of impact flood events can have on physical assets like buildings, roads, railways, transmission lines, etc. The digital twin not only represents the current status of the visualised assets but also how they will perform/react to future situations. The digital twin, when used to run flood models combined with other sources of information can allow us to make predictions.
Data for analysis and modelling are collected from open data portals provided by multiple organisations or data providers such as LINZ, StatsNZ, opentopography, NIWA, MFE, and more.
See our draft paper for Journal of Open Source Software for more details.
Basic running instructions
The following list defines the basic steps required to set up and run the digital twin.
Requirements
Officially Supported Operating Systems
- Windows 10/11
- Ubuntu 22.04
Note: Other Linux-based operating systems are likely to work but have not been as thoroughly tested.
Unsupported Operating Systems
We unfortunately do not support MacOS. Please see #358 for updates or to contribute.
Required Credentials:
Create API keys for each of these services. You may need to create an account and log in * Stats NZ API Key * LINZ API Key * MFE API Key * NIWA Application API Key - Create an app that has the Tide API enabled. * Cesium Ion Access Token
Starting the Digital Twin application (localhost)
Clone this repository to your local machine.
Create a file called
api_keys.env, copy the contents ofapi_keys.env.templateand fill in the blank values with API credentials from the above links.Create a file called
.envin the project root, copy the contents of.env.templateand fill in all blank fields unless a comment says you can leave it blank. Blank fields to fill in include fields such asCESIUM_ACCESS_TOKENandPOSTGRES_PASSWORD.POSTGRES_PASSWORDcan be a password of your choosing. You may modify other configuration variables if needed to suit particular deployment environemnts.From project root, run the command
docker compose up -dto run the database, backend web servers, and helper services.You may inspect the logs of the backend using
docker compose logs -f backend celery_worker
Using the Digital Twin application
- With the docker compose application running, the default web address is http://localhost:3001 to view the web application.
- To perform custom modelling, "Explore map data" has configurable models.
- The API is available by default on http://localhost:5000. Visit https://geospatialresearch.github.io/Digital-Twins/swagger for API documentation.
Contributing
If you are interested in contributing to this project, please see our contributing page here.
Support
If you run into an issue, bug, or need help with the software, please consider opening an issue or discussion, this will be the best way to reach us.
Setup for FReDT project software developers
Visit our wiki for some instructions on how to set up your development machine to work with on the FReDT project.
Owner
- Name: Geospatial Research Institute | Toi Hangarau
- Login: GeospatialResearch
- Kind: organization
- Email: gri-enquiries@canterbury.ac.nz
- Location: New Zealand
- Website: https://geospatial.ac.nz
- Twitter: GeospatialNZ
- Repositories: 3
- Profile: https://github.com/GeospatialResearch
GitHub Events
Total
- Fork event: 5
- Create event: 47
- Release event: 2
- Issues event: 97
- Watch event: 4
- Delete event: 55
- Member event: 3
- Issue comment event: 94
- Push event: 241
- Gollum event: 3
- Pull request review event: 73
- Pull request review comment event: 63
- Pull request event: 81
Last Year
- Fork event: 5
- Create event: 47
- Release event: 2
- Issues event: 97
- Watch event: 4
- Delete event: 55
- Member event: 3
- Issue comment event: 94
- Push event: 241
- Gollum event: 3
- Pull request review event: 73
- Pull request review comment event: 63
- Pull request event: 81
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Casey Li | c****i@c****z | 1,331 |
| Luke Parkinson | l****n@c****z | 564 |
| Pooja3894 | 8****4 | 139 |
| Pooja Khosla | p****a@c****z | 123 |
| Rose Pearson | R****n@n****z | 37 |
| Flame1190 | s****0@g****m | 21 |
| Xander Cai | x****i@g****m | 20 |
| Martin Nguyen | t****2@u****z | 14 |
| Martin Nguyen | m****4@g****m | 13 |
| GRI Admin | 1****n | 13 |
| Luke Parkinson | l****n | 8 |
| Angus L | a****8@u****z | 3 |
| Alistair McIntyre | g****t@a****z | 2 |
| anirudh1117 | a****7@g****m | 2 |
| anirudh | a****h@U****g | 1 |
| Alistair McIntyre | a****r@o****z | 1 |
| Pooja3894 | 8****4 | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 181
- Total pull requests: 151
- Average time to close issues: 5 months
- Average time to close pull requests: 28 days
- Total issue authors: 11
- Total pull request authors: 12
- Average comments per issue: 0.91
- Average comments per pull request: 0.87
- Merged pull requests: 117
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 66
- Pull requests: 68
- Average time to close issues: 29 days
- Average time to close pull requests: 3 days
- Issue authors: 5
- Pull request authors: 5
- Average comments per issue: 0.62
- Average comments per pull request: 0.26
- Merged pull requests: 54
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- LukeParky (133)
- caseyli92 (30)
- rosepearson (8)
- changliao1025 (4)
- Flame1190 (2)
- MatthewDWilson (2)
- Pooja3894 (2)
- Martin20494 (2)
- pritamd47 (1)
- GRI-Admin (1)
- xandercai (1)
Pull Request Authors
- LukeParky (130)
- caseyli92 (43)
- Martin20494 (28)
- Pooja3894 (11)
- GRI-Admin (10)
- Flame1190 (6)
- alistairjmcintyre (5)
- xandercai (3)
- rosepearson (2)
- 0xkon1 (2)
- anirudh1117 (2)
- prasannav98 (1)
- jjm148 (1)
- A-Load-Of-c0de (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
- Total downloads: unknown
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 0
(may contain duplicates) - Total versions: 8
proxy.golang.org: github.com/GeospatialResearch/Digital-Twins
- Documentation: https://pkg.go.dev/github.com/GeospatialResearch/Digital-Twins#section-documentation
- License: agpl-3.0
-
Latest release: v2.0.0+incompatible
published 9 months ago
Rankings
proxy.golang.org: github.com/geospatialresearch/digital-twins
- Documentation: https://pkg.go.dev/github.com/geospatialresearch/digital-twins#section-documentation
- License: agpl-3.0
-
Latest release: v2.0.0+incompatible
published 9 months ago
Rankings
Dependencies
- actions/add-to-project v0.4.0 composite
- Levi-Lesches/blocking-issues v2 composite
- SonarSource/sonarcloud-github-action master composite
- actions/cache v2 composite
- actions/checkout v2 composite
- conda-incubator/setup-miniconda v2 composite
- continuumio/miniconda3 latest build
- postgis/postgis latest
- actions/checkout v2 composite
- nginx stable build
- node lts-slim build
- 1635 dependencies
- @typescript-eslint/eslint-plugin ^4.18.0 development
- @typescript-eslint/parser ^4.18.0 development
- @vue/cli-plugin-babel ~4.5.0 development
- @vue/cli-plugin-eslint ~4.5.0 development
- @vue/cli-plugin-typescript ~4.5.0 development
- @vue/cli-service ~4.5.0 development
- @vue/eslint-config-standard ^5.1.2 development
- @vue/eslint-config-typescript ^7.0.0 development
- eslint ^6.7.2 development
- eslint-plugin-import ^2.20.2 development
- eslint-plugin-node ^11.1.0 development
- eslint-plugin-promise ^4.2.1 development
- eslint-plugin-standard ^4.0.0 development
- eslint-plugin-vue ^6.2.2 development
- raw-loader ^4.0.2 development
- typescript ~4.1.5 development
- vue-template-compiler ^2.6.11 development
- axios ^0.21.4
- bootstrap-vue ^2.22.0
- core-js ^3.6.5
- geo-visualisation-components 0.0.5-alpha
- vue ^2.6.11
- vue-router ^3.6.0
- celery ==5.2.7
- geovoronoi ==0.4.0
- gunicorn ==20.1.0
- sphinx-autoapi *
- sphinx_rtd_theme *