Description Usage Arguments Details Value Examples
A function that extract a ETP time series of MODIS
1 |
to, from |
the starting and final range of date. |
by |
two types of increment of the sequence by month and year. |
band |
name of band. |
region |
region and object sf. |
fun |
function for extract statistic zonal ('count','kurtosis','max','mean','median','min','mode','percentile','std','sum','variance','first'). |
Name of some bands.
ETP: Total evapotranspiration.
LE: Average latent heat flux.
PET: Total potential evapotranspiration.
PLE: Average potential latent heat flux.
ET_QC: Evapotranspiration quality control flags
a sf object with the new variables.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
library(tidyverse)
library(rgee)
library(lis)
library(sf)
ee_Initialize()
# 1. Reading a sf object
region <- import_db("Peru_shp")
region_ee <- pol_as_ee(region, simplify = 1000)
# 2. Extracting climate information
data <- region_ee %>% get_etp(
to = "2001-02-01", from = "2002-12-31",
by = "month", band = "tmmx", fun = "max"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.