A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

DiversiTree

Help urban foresters, planners, greeners, and ecologists in quantifying tree ecosystem diversity in cities.
https://github.com/diversitree/treediversity

Category: Biosphere
Sub Category: Forest Observation and Management

Keywords

ecology forestry urban-planning

Last synced: about 23 hours ago
JSON representation

Repository metadata

Notebooks to calculate tree diversity indices (Shannon and Simpson) for planners, foresters, and ecologists!

README.md

DiversiTree Notebooks

About

These Python notebooks are intended to help urban foresters, planners, greeners, and ecologists in quantifying tree ecosystem diversity in cities. Our recent study (citation) explored street tree diversity contrasted between the city center and outer areas, and we made these notebooks to compute tree diversity in these areas across two major dimensions:

  1. Diversity Indices: Using two entropy indices, the Shannon Index and Simpson Index, we can measure how evenly diversity exists in your tree inventory.

  2. 10/20/30 rule: Urban foresters have long used the 10/20/30 benchmark to measure diversity. The rule suggests no more than 10% of an urban tree ecosystem should be made up of the same species, 20% of the same genus, and 30% of the same family.

These notebooks calculate these measures based on boths tree stem count (the raw number of trees) and the basal area of the tree, estimated from the diameter at breast height value.

How To Use These Notebooks

The two notebooks in this repository conduct a simple sensitivity analysis to check if the number of trees is sufficient to calculate these diversity indices, and then calculates the city center and outer area results. Simple plots along the way will be provided!

To get started, gather the data as described below and open the first notebook. You'll need to add the file path to your data and input the column names needed in the notebook, and the rest of the notebook will run as you progress through the cells.

What You'll Need

Here's the data you'll need to use these notebooks:

  1. City Center geography: To specify which trees are in the city center, you'll need a geospatial data file (geopackage, geojson, shapefile) with just the geometry of your city center. If multiple districts or geometries make up your city center area, we recommend dissolving these into a single feature.

  2. Tree data: You'll need tree inventory data with the following data attached:

    • Geographic location
    • Diameter at breast height (DBH)
    • Scientific or species name
    • Genus name
    • Family name (Some ways to add this data to your tree inventory include Open Tree of Life or Encyclopedia of Life)
  3. Jupyter Notebook: You'll need a Python 3 equipped Jupyter Notebook to run these analyses! The dependency packages needed are listed in requirements.txt and listed below:

  • pandas
  • geopandas
  • matplotlib
  • descartes
  • tqdm
  • numpy

Sample Data

Cleaned sample data for Paris, France is provided in this repository.

Publication

Galle, N., Halpern, D., Nitoslawski, S., Duarte, F., Ratti, C., & Pilla, F. (2021). Mapping the diversity of street tree inventories across eight cities internationally using open data. Urban Forestry and Urban Greening.

Website

Want to learn more? Check out DiversiTree's Website!

DiversiTree is a project of:

    


This research received partial funding from the Connecting Nature project (Grant Agreement No. 730222) under the European Community’s Framework Program Horizon 2020.


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 12
Total Committers: 3
Avg Commits per committer: 4.0
Development Distribution Score (DDS): 0.5

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Dylan d****h@m****u 6
DiversiTree 7****e 3
Dylan d****n@u****u 3

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 0
Total pull requests: 3
Average time to close issues: N/A
Average time to close pull requests: less than a minute
Total issue authors: 0
Total pull request authors: 1
Average comments per issue: 0
Average comments per pull request: 0.0
Merged pull request: 3
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

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

Top Issue Authors

Top Pull Request Authors

  • DiversiTree (3)

Top Issue Labels

Top Pull Request Labels


Dependencies

requirements.txt pypi
  • descartes *
  • geopandas *
  • matplotlib *
  • numpy *
  • pandas *
  • tqdm *

Score: 3.737669618283368