get_df_era5: get_df_era5 - Generate DF from ERA5 raw (netcedf) data

Description Usage Arguments Value

View source: R/get_df_era5.R

Description

The ERA5 provides 4 soil water content layers: Layer 1: 0 - 7cm, Layer 2: 7 - 28cm, Layer 3: 28 - 100cm, Layer 4: 100 - 289cm.

Usage

1
get_df_era5(list_files, lat, lon, soil_layers = c(1))

Arguments

list_files

vector containing the name of file(s)

lat

latitude of study area (decimal degrees)

lon

longitude of study area (decimal degrees)

soil_layers

vector with on or more values between 1 and 4. This indicates which are the soil layers desired in the analysis. More information in the function description.

Value

The function returns a data frame with all variables of interest: Precipitation (tp) Temperature (t2m) Potential evapotranspiration (pev) actual evapotranspiration (e) volumetric soil water content (vswl1, vswl2, vswl3, vswl4)


pedroalencar1/fdClassify2 documentation built on Dec. 22, 2021, 7:38 a.m.