Skip to content

AlpoTurunen/FinBIF_heatmaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinBIF_heatmaps

FinBIF data to heatmaps

This Python script generates a biodiversity heatmap based on species occurrence data from Finnish Biodiversity Information Facility (FinBIF). It queries the REST API, processes the data, calculates the Shannon Diversity Index for grid cells within a specified municipality, and produces a heatmap as an JSON format.

How to use

  1. Install requirements 'pip install requirements.txt'

  2. Run the code

  • Valid input values can be found from api.laji.fi (Area and InformalTaxonGroup endpoints).
  • Note, the output heatmap can be more or less empty depending on our input parameters. Include enough taxas, use bigger municipality or bigger timescale or grid size.

Example output

With parameters:

  • Municipal ID: ML.399
  • Informal Taxon IDs: MVL.343,MVL.1100,MVL.1102
  • Time: 2010-01-01
  • Grid size: 100

image

About

FinBIF data to heatmaps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages