Skip to contents

A function that extract a time series of Aerosol index variables.

Usage

get_aero(from, to, band, region, fun = "count", 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.

  • absorbing_aerosol_index (mol/m²): A measure of the prevalence of aerosols in the atmosphere, calculated by this equation using the 354/388 wavelength pair.

  • sensor_altitude (mol/m²): Altitude of the satellite with respect to the geodetic sub-satellite point (WGS84).

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

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

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

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

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_aero(
  from = "2019-02-01", to = "2019-12-31",
  band = "absorbing_aerosol_index", fun = "max")
}