uwg
:city_sunrise: The Urban Weather Generator (uwg) is a Python application for modeling the urban heat island effect.
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.7%) to scientific vocabulary
Keywords from Contributors
Repository
:city_sunrise: The Urban Weather Generator (uwg) is a Python application for modeling the urban heat island effect.
Basic Info
- Host: GitHub
- Owner: ladybug-tools
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Homepage: https://www.ladybug.tools/uwg/docs/
- Size: 29 MB
Statistics
- Stars: 65
- Watchers: 6
- Forks: 27
- Open Issues: 24
- Releases: 27
Metadata Files
README.md
uwg
The Urban Weather Generator (uwg) is a Python application for modeling the urban heat island effect. Specifically, it morphs rural EnergyPlus weather (.epw) files to reflect average conditions within the urban canyon using a range of properties including:
- Building geometry (including building height, ground coverage, window:wall area, and facade:site area)
- Building use (including program type, HVAC systems, and occupancy/equipment scheduling)
- Cooling system heat rejection to the outdoors (for Summer)
- Indoor heat leakage to the outdoors (for Winter)
- Urban materials (including the thermal mass, albedo and emissivity of roads, walls, and roofs)
- Anthropogenic heat from traffic (including traffic schedules)
- Vegetation coverage (both trees and shrubs)
- Atmospheric heat transfer from urban boundary and canopy layers
The original Urban Weather Generator was developed by Bruno Bueno for his PhD thesis at MIT. Since this time, it has been validated 3 times and has been enhanced by Aiko Nakano. In 2016, Joseph Yang also improved the engine and added a range of building templates.
This repository is a Python translation of the original MATLAB Urban Weather Generator.
Example
Here is a Python example that shows how to create and run an Urban Weather Generator object.
```python from uwg import UWG
Define the .epw, .uwg paths to create an uwg object.
epwpath = "resources/SGPSingapore.486980_IWEC.epw" # available in resources directory.
Initialize the UWG model by passing parameters as arguments, or relying on defaults
model = UWG.fromparamargs(epwpath=epwpath, bldheight=10, blddensity=0.5, vertohor=0.8, grasscover=0.1, treecover=0.1, zone='1A')
Uncomment these lines to initialize the UWG model using a .uwg parameter file
parampath = "initializesingapore.uwg" # available in resources directory.
model = UWG.fromparamfile(parampath, epwpath=epw_path)
model.generate() model.simulate()
Write the simulation result to a file.
model.write_epw() ```
Installation
console
pip install uwg
QuickStart
```python import uwg
```
API Documentation
Local Development
- Clone this repo locally ```console git clone git@github.com:ladybug-tools/uwg
or
git clone https://github.com/ladybug-tools/uwg
2. Install dependencies:
console
cd uwg
pip install -r dev-requirements.txt
pip install -r requirements.txt
```
Run Tests:
console python -m pytest tests/Generate Documentation:
console sphinx-apidoc -f -e -d 4 -o ./docs ./uwg sphinx-build -b html ./docs ./docs/_build/docs
Owner
- Name: Ladybug Tools
- Login: ladybug-tools
- Kind: organization
- Email: info@ladybug.tools
- Location: Worldwide
- Website: ladybug.tools
- Twitter: ladybug_tools
- Repositories: 89
- Profile: https://github.com/ladybug-tools
Ladybug Tools is a collection of free computer applications that support environmentally-conscious design and simulation.
GitHub Events
Total
- Issues event: 1
- Watch event: 14
- Issue comment event: 2
- Push event: 2
- Pull request event: 3
- Fork event: 2
Last Year
- Issues event: 1
- Watch event: 14
- Issue comment event: 2
- Push event: 2
- Pull request event: 3
- Fork event: 2
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Saeran Vasanthakumar | s****v@g****m | 373 |
| dependabot-preview[bot] | 2****] | 101 |
| Chris Mackey | c****s@l****s | 35 |
| AntoineDao | a****1@g****m | 13 |
| semantic-release | s****e | 9 |
| ladybugbot | l****t | 3 |
| AntoineDao | a****e@m****m | 1 |
| jumpyapple | 7****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 68
- Total pull requests: 222
- Average time to close issues: 5 months
- Average time to close pull requests: 2 days
- Total issue authors: 23
- Total pull request authors: 7
- Average comments per issue: 3.6
- Average comments per pull request: 0.89
- Merged pull requests: 199
- Bot issues: 1
- Bot pull requests: 119
Past Year
- Issues: 2
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: about 1 hour
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- saeranv (26)
- chriswmackey (7)
- simonmarti1992 (5)
- gianlucamaracchini (5)
- sercrp (2)
- HibaHamdi09 (2)
- AntoineDao (2)
- aleksandraradecka1 (2)
- frank984 (2)
- Betterbuilt00 (2)
- maririvo (1)
- hughesdespond (1)
- elelac (1)
- danieldjewell (1)
- biglimp (1)
Pull Request Authors
- dependabot-preview[bot] (117)
- saeranv (67)
- chriswmackey (25)
- AntoineDao (9)
- dependabot[bot] (2)
- mostaphaRoudsari (1)
- jumpyapple (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 5,464 last-month
-
Total dependent packages: 2
(may contain duplicates) -
Total dependent repositories: 1
(may contain duplicates) - Total versions: 54
- Total maintainers: 1
proxy.golang.org: github.com/ladybug-tools/uwg
- Documentation: https://pkg.go.dev/github.com/ladybug-tools/uwg#section-documentation
- License: gpl-3.0
-
Latest release: v5.8.13+incompatible
published almost 3 years ago
Rankings
pypi.org: uwg
Python application for modeling the urban heat island effect.
- Homepage: https://github.com/ladybug-tools/uwg
- Documentation: https://uwg.readthedocs.io/
- License: GNU General Public License v3 (GPLv3)
-
Latest release: 5.8.13
published almost 3 years ago
Rankings
Maintainers (1)
Dependencies
- click ==7.1.2
- uwg-schema ==0.2.10
- Sphinx ==3.3.1 development
- Sphinx ==1.8.5 development
- click ==7.1.2 development
- coverage ==5.5 development
- coveralls ==1.7.0 development
- coveralls ==2.2.0 development
- importlib-metadata ==2.0.0 development
- importlib-metadata ==4.3.1 development
- pytest ==6.2.4 development
- pytest ==4.6.9 development
- pytest-cov ==2.12.0 development
- setuptools ==44.1.0 development
- setuptools ==57.0.0 development
- sphinx-bootstrap-theme ==0.7.1 development
- sphinx-click ==2.7.1 development
- sphinxcontrib-fulltoc ==1.2.0 development
- sphinxcontrib-websupport ==1.1.2 development
- sphinxcontrib-websupport ==1.2.4 development
- twine ==3.4.1 development
- twine ==1.13.0 development
- uwg-schema ==0.2.8 development
- wheel ==0.36.2 development
- actions/checkout v2 composite
- actions/setup-node v2.1.2 composite
- actions/setup-python v2 composite
- peaceiris/actions-gh-pages v3 composite
- actions/checkout v2 composite