Skip to contents

This function calculates the total area of the global surface water time series data, separated by the following classes:

This function constructs the necessary data URLs for a given data set, version and polygon and downloads them for further processing with the mapme.biodiversity package.

Usage

calc_gsw_time_series(years = 1984:2021)

get_gsw_time_series(years, version = "LATEST")

Format

A function returning a tibble with time series of global surface water data classes.

Arguments

years

Numeric vector of years to process between 1984 and 2021. Default: 1984:2021.

version

Version of the data set to process. Available options are (VER1-0, VER2-0, VER3-0, VER4-0, VER5-0 and LATEST) Default: LATEST. Choosing LATEST will result in the latest available version.

Value

A function that returns a character vector of file paths.

Details

  • No Observation: It was not possible to determine whether a pixel was water (this may be the case for frozen areas or during the polar night in extreme latitudes).

  • Permanent Water: Water was detected in twelve months per year or in a combination of permanent and no observation.

  • Seasonal Water: Water and no water was detected.

  • No Water: No Water was detected.

The required resources for this indicator are:

  • gsw_time_series

The available surface water classes for a given pixel are the following:

  • No Observation: It was not possible to determine whether a pixel was water (this may be the case for frozen areas or during the polar night in extreme latitudes).

  • Permanent Water: Water was detected in twelve months per year or in a combination of permanent and no observation.

  • Seasonal Water: Water and no water was detected.

  • No Water: No Water was detected.