Skip to contents

A function that extract a time series of Sulphur Dioxide (2018-07-10T11:17:44Z - 2022-05-15T00:00:00).

Usage

get_so2(from, to, band, region, fun = "max", scale = 1000)

Arguments

to, from

it's a string object,starting and final date.

band

name of band.

region

is a feature or feature collection.

fun

function for extract statistic zonal (count, kurtosis, max, mean, median, min, mode, percentile, std, sum, variance, first).

scale

A nominal scale in meters of the projection to work in.

Value

a tibble object with the new variables.

Details

Name of some bands.

  • SO2_column_number_density (mol/m²): SO2 vertical column density at ground level, calculated using the DOAS technique.

  • SO2_column_number_density_amf (mol/m²): Weighted mean of cloudy and clear air mass factor (amf) weighted by intensity-weighted cloud fraction.

  • SO2_slant_column_number_density (mol/m²): SO2 ring corrected slant column number density.

  • cloud_fraction: Effective cloud fraction. See the Sentinel 5P L2 Input/Output Data Definition Spec, p.220.

  • sensor_azimuth_angle (degree): Azimuth angle of the satellite at the ground pixel location (WGS84); angle measured East-of-North.

  • sensor_zenith_angle (degree): Zenith angle of the satellite at the ground pixel location (WGS84); angle measured away from the vertical.

  • solar_azimuth_angle (degree): Azimuth angle of the Sun at the ground pixel location (WGS84); angle measured East-of-North.

  • solar_zenith_angle (degree): Zenith angle of the satellite at the ground pixel location (WGS84); angle measured away from the vertical.

  • SO2_column_number_density_15km (mol/m²): SO2 vertical column density at 15km, calculated using the DOAS technique.

Examples

if (FALSE) {

library(tidyverse)
library(rgee)
library(innovar)
library(sf)
ee_Initialize()

# 1. Reading a sf object
data("Peru")
region <- Peru
region_ee <- pol_as_ee(region , id = 'distr' , simplify = 1000)
# 2. Extracting climate information
data <- region_ee %>% get_so2(
  from = "2019-02-01", to = "2019-12-31",
  band = "SO2_column_number_density", fun = "max")
}