Skip to content

SINTEF-9012/biodiv-data

Repository files navigation

Some Biodiversity Covariates

This repository contains scripts to download (or remotely access) globally available covariates to help scale biodiversity predictions from https://github.com/gjearevoll/BioDivMapping.

For now (testing phase), soil properties and canopy height for Trøndelag region is provided.

Overview

Prerequisites

  1. Install uv from https://docs.astral.sh/uv/.
  2. Sync packages
$ uv sync

Soilgrids

Run as

$ uv run soilgrids_trondelag.py

This generates the following files (in soilgrids_trondelag_output)

File Variable Unit Depth
bdod_0-5cm_mean_trondelag_utm33n.tif Bulk Density cg/cm3 0-5cm
cec_0-5cm_mean_trondelag_utm33n.tif Cation Exchange Capacity at pH7 mmol(c)/kg 0-5cm
cfvo_0-5cm_mean_trondelag_utm33n.tif Coarse Fragments Volume cm3/dm3 0-5cm
clay_0-5cm_mean_trondelag_utm33n.tif Clay Content g/kg 0-5cm
nitrogen_0-5cm_mean_trondelag_utm33n.tif Nitrogen Content cg/kg 0-5cm
ocd_0-5cm_mean_trondelag_utm33n.tif Organic Carbon Density hg/m3 0-5cm
ocs_0-30cm_mean_trondelag_utm33n.tif Organic Carbon Stock t/ha 0-30cm
phh2o_0-5cm_mean_trondelag_utm33n.tif pH in Water ph*10 0-5cm
sand_0-5cm_mean_trondelag_utm33n.tif Sand g/kg 0-5cm
silt_0-5cm_mean_trondelag_utm33n.tif Silt g/kg 0-5cm
soc_0-5cm_mean_trondelag_utm33n.tif Soil Organic Carbon dg/kg 0-5cm

See also https://docs.isric.org/globaldata/soilgrids/SoilGrids_faqs_01.html#sec-faq2.

ETH Canopy Height

First, download tiles containing Trøndelag

$ ./canopy_trondelag_download_tiles.sh

Then clip to Trøndelag boundary

$ uv run canopy_trondelag_local.py

This generates the file canopy_trondelag_output/canopy_height_trondelag_10m.tif

You can also use canopy_trondelag.py which runs on the (remotely) hosted global raster, but it's very slow to avoid being rate limited.

Contact

About

Some Biodiversity Covariates

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages