MyNixOS website logo
Description

Calculation of SSEBI and Evaporative Fraction from Raster Data.

Calculates a modified Simplified Surface Energy Balance Index (SSEBI) and the Evaporative Fraction (EF) using geospatial raster data such as albedo and surface-air temperature difference (TS–TA). The SSEBI is computed from albedo and TS–TA to estimate surface moisture and evaporative dynamics, providing a robust assessment of surface dryness while accounting for atmospheric variations. Based on Roerink, Su, and Menenti (2000) <doi:10.1016/S1464-1909(99)00128-8>.

ssebiEF Package

The ssebiEF package provides tools to calculate the Simplified Surface Energy Balance Index (SSEBI) and the Evaporative Fraction (EF) from raster data. It utilizes albedo and surface-air temperature difference (TS-TA) to generate the SSEBI or EF raster.

Installation

You can install the development version of ssebiEF directly from your local folder:

Requirements

  • The input rasters (TS and TA) must have the same unit of measurement (Kelvin preferably) to ensure accurate calculations of TS-TA and Simplified Surface Energy Balance Index (SSEBI) or the Evaporative Fraction (EF).

  • The input rasters (albedo and TS-TA) must:

    • Have the same Coordinate Reference System (CRS).
    • Cover the same geographic extent.
  • If these conditions are not met, the function attempt to align the rasters automatically (with warnings).

Dependencies

The ssebiEF package automatically manages the following dependencies: - terra for raster manipulation. - dplyr for data manipulation. - stats for statistical calculations.

You do not need to load these packages manually; they are handled internally by ssebiEF

Examples Usage of the ssebiEF Package

To use the ssebiEF package, start by loading the necessary library in R.

  • Define the paths to the input files (albedo and TS-TA rasters) and the output path for the calculated SSEBI raster.

    Load the necessary package

    library(ssebEF)

    Input raster paths

    albedo_path <- "path/to/albedo.tif" TS_TA_path <- "path/to/TS_TA.tif"

    Output raster path

    output_path <- "path/to/SSEBI.tif"

    Calculate SSEBI

    calculate_SSEBI( albedo_path = albedo_path, TS_TA_path = TS_TA_path, output_path = output_path, n_intervals = 20, percentile = 0.01 )

    Check the output

    SSEBI <- terra::rast(output_path) plot(SSEBI)

  • Define the paths to the input files (albedo and TS-TA rasters) and the output path for the calculated EF raster.

    Load the necessary package

    library(ssebiEF)

    Input raster paths

    albedo_path <- "path/to/albedo.tif" TS_TA_path <- "path/to/TS_TA.tif"

    Output raster path

    output_path <- "path/to/EF.tif"

    Calculate EF

    calculate_EF( albedo_path = albedo_path, TS_TA_path = TS_TA_path, output_path = output_path, n_intervals = 20, percentile = 0.01 )

    Check the output

    EF <- terra::rast(output_path) plot(EF)

Metadata

Version

1.0.1

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows