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

View source: R/get_df_era5.R

get_df_era5R Documentation

get_df_era5 - Generate DF from ERA5 raw (netcedf) data

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

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/fdClassify documentation built on Sept. 15, 2023, 3:46 a.m.