Create sf object of moist forest according to FAO's criteria. MAP >=1500 mm <5 months where precipitations < 100 mm

create_sf_moist_forest(EPSG = 3163, forest, monthly_precipitation)

Arguments

EPSG

int. target EPSG, default 3163

forest

sf object. output of "read_sf" of "sf" library with boolean values of forest.

monthly_precipitation

multilayers stars object. output of "read_stars" of "stars" library with montly mean of precipitation in mm.

Value

sf object. with only moist forest area.