Sign inSign up

scl3/task_hii_landuse

By scl3

•Updated over 4 years ago

Earth Engine task for calculating land use driver

Image
Machine learning & AI
Data science
Monitoring & observability
0

358

scl3/task_hii_landuse repository overview

⁠HII LAND USE DRIVER

⁠What does this task do?

This task calculates the impact of anthropogenic land use on the terrestrial surface as one of the key drivers for a combined Human Impact Index⁠. "Impact" is a pressure score based on a combination of land use/land cover and population density. Land cover classes associated with human-altered land uses are given unique weights representing the human pressure associated with each land use, comparable to the logic followed by Venter et al. 2016⁠). Natural land cover classes are only given weights if the population density in a given cell is greater than 0. The output HII driver calculated by this task is, like all other HII drivers, unitless; it refers to an absolute 0-10 scale but is not normalized to it, so the actual range of values may be smaller than 0-10.

The source landcover data are from the ESA CCI Landcover Dataset⁠. The source population density cells are derived from the WoldPop Population Data dataset developed by WorldPop⁠. This dataset models the distribution of the global human population annually beginning in 2000 at a spatial resolution of 100 m. As a class property of HIITask the original dataset values are converted from the number of people per 100m x 100m grid cell to actual population density of people/sq km.

landuse_weighting = {
      "altered_landcover": [
          {"lc_category": "Cropland, rainfed", "lc_class": 10, "weight": 7,},
          {
              "lc_category": "Cropland, rainfed - Herbaceous cover",
              "lc_class": 11,
              "weight": 7,
          },
          {
              "lc_category": "Cropland, rainfed - Tree or shrub cover",
              "lc_class": 12,
              "weight": 7,
          },
          {
              "lc_category": "Cropland, irrigated or post-flooding",
              "lc_class": 20,
              "weight": 8,
          },
          {
              "lc_category": "Mosaic cropland (>50%) / natural vegetation (tree, shrub, herbaceous cover) (<50%)",
              "lc_class": 30,
              "weight": 6,
          },
          {"lc_category": "Urban areas", "lc_class": 190, "weight": 10,},
      ],
      "natural_landcover": [
          {
              "lc_category": "Mosaic natural vegetation (tree, shrub, herbaceous cover) (>50%) / cropland (<50%)",
              "lc_class": 40,
              "weight": 4,
          },
          {
              "lc_category": "Tree cover, broadleaved, evergreen, closed to open (>15%)",
              "lc_class": 50,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, broadleaved, deciduous, closed to open (>15%)",
              "lc_class": 60,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, broadleaved, deciduous, closed (>40%)",
              "lc_class": 61,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, broadleaved, deciduous, open (15‐40%)",
              "lc_class": 62,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, evergreen, closed to open (>15%)",
              "lc_class": 70,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, evergreen, closed (>40%)",
              "lc_class": 71,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, evergreen, open (15‐40%)",
              "lc_class": 72,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, deciduous, closed to open (>15%)",
              "lc_class": 80,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, deciduous, closed (>40%)",
              "lc_class": 81,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, needleleaved, deciduous, open (15‐40%)",
              "lc_class": 82,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, mixed leaf type (broadleaved and needleleaved)",
              "lc_class": 90,
              "weight": 0,
          },
          {
              "lc_category": "Mosaic tree and shrub (>50%) / herbaceous cover (<50%)",
              "lc_class": 100,
              "weight": 4,
          },
          {
              "lc_category": "Mosaic herbaceous cover (>50%) / tree and shrub (<50%)",
              "lc_class": 110,
              "weight": 4,
          },
          {"lc_category": "Shrubland", "lc_class": 120, "weight": 4,},
          {
              "lc_category": "Shrubland - Evergreen shrubland",
              "lc_class": 121,
              "weight": 4,
          },
          {
              "lc_category": "Shrubland - Deciduous shrubland",
              "lc_class": 122,
              "weight": 4,
          },
          {"lc_category": "Grassland", "lc_class": 130, "weight": 4,},
          {
              "lc_category": "Lichens and mosses",
              "lc_class": 140,
              "weight": 0,
          },
          {
              "lc_category": "Sparse vegetation (tree, shrub, herbaceous cover) (<15%)",
              "lc_class": 150,
              "weight": 0,
          },
          {
              "lc_category": "Sparse tree (<15%)",
              "lc_class": 151,
              "weight": 0,
          },
          {
              "lc_category": "Sparse shrub (<15%)",
              "lc_class": 152,
              "weight": 0,
          },
          {
              "lc_category": "Sparse herbaceous cover (<15%)",
              "lc_class": 153,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, flooded, fresh or brakish water",
              "lc_class": 160,
              "weight": 0,
          },
          {
              "lc_category": "Tree cover, flooded, saline water",
              "lc_class": 170,
              "weight": 0,
          },
          {
              "lc_category": "Shrub or herbaceous cover, flooded, fresh/saline/brakish water",
              "lc_class": 180,
              "weight": 0,
          },
          {"lc_category": "Bare areas", "lc_class": 200, "weight": 4,},
          {
              "lc_category": "Consolidated bare areas",
              "lc_class": 201,
              "weight": 0,
          },
          {
              "lc_category": "Unconsolidated bare areas",
              "lc_class": 202,
              "weight": 0,
          },
          {"lc_category": "Water bodies", "lc_class": 210, "weight": 4,},
          {
              "lc_category": "Permanent snow and ice",
              "lc_class": 220,
              "weight": 0,
          },
      ],
  }

Values are multiplied by 100 and converted to integer for efficient exporting to and storage in the Earth Engine HII Land Use Driver image collection (projects/HII/v1/driver/land_use).

⁠Variables and Defaults

⁠Environment variables
SERVICE_ACCOUNT_KEY=<GOOGLE SERVICE ACCOUNT KEY>
⁠Class constants
scale = 300
POPULATION_DENSITY_THRESHOLD = 1

⁠Usage

All parameters may be specified in the environment as well as the command line.

app # python task.py --help
usage: task.py [-h] [-d TASKDATE] [--overwrite]

optional arguments:
  -h, --help            show this help message and exit
  -d TASKDATE, --taskdate TASKDATE
  --overwrite           overwrite existing outputs instead of incrementing
⁠License

Copyright (C) 2022 Wildlife Conservation Society The files in this repository are part of the task framework for calculating Human Impact Index and Species Conservation Landscapes (https://github.com/SpeciesConservationLandscapes⁠) and are released under the GPL license: https://www.gnu.org/licenses/#GPL⁠ See LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

Size

96.5 MB

Last updated

over 4 years ago

docker pull scl3/task_hii_landuse