Skip to contents

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

Usage

get_o3(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.

  • O3_column_number_density (mol/m²): Total atmospheric column of O3 between the surface and the top of atmosphere, calculated with the DOAS algorithm.

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

  • O3_slant_column_number_density (mol/m²): O3 ring corrected slant column number density.

  • O3_effective_temperature (K): Ozone cross section effective temperature.

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

  • 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.

  • solar_azimuth_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
region <- Peru
region_ee <- pol_as_ee(region , id = 'distr' , simplify = 1000)
# 2. Extracting climate information
data <- region_ee %>% get_o3(
  from = "2019-02-01", to = "2019-12-31",
  band = "CO_column_number_density", fun = "max")
}