make_Draft_GSO_inputs: Calculate the species in each EFG in given area for GSO...

View source: R/make_Draft_GSO_Inputs.R

make_Draft_GSO_inputsR Documentation

Calculate the species in each EFG in given area for GSO calculations.

Description

works by using the indices of the standard dimensions raster that are in the supplied shapefile region boundary (via function cropNAborder )

Usage

make_Draft_GSO_inputs(
  REG_NO,
  RasterRes = 225,
  PUBLIC_LAND_ONLY,
  myPoly = clipPoly,
  generalRasterDir = "./InputGeneralRasters",
  TaxonList = "D:/FAMEshiny/ReferenceTables/FAME_TAXON_LIST.csv",
  myResultsDir = ResultsDir,
  TFI_LUT = TFI_LUT
)

Arguments

REG_NO

integer DELWP fire region number 1:6 ,99 for Statewide analysis, or 7 for ad hoc boundary polygon default =7 (see look up table REG_LUT for values)

RasterRes

integer 225 - raster resolution is always 225 for this function for speed

PUBLIC_LAND_ONLY

logical whether to restrict analysis to public land only or the whole polygon

myPoly

default clipPoly sf polygon data frame of LF_REGIONs (default) or ad hoc polygon - used in conjunction with REG_NO

generalRasterDir

relative path to directory containing rasters of FIRE_REG, and PUBLIC LAND (PLM_GEN)

TaxonList

path to species attribute table containing paths to HDMs default is "./ReferenceTables/FAME_TAXON_LIST.csv"

myResultsDir

path of directory where output will be saved

TFI_LUT

data.frame lookup table for EFG loaded in setup

Value

list of three data frames LMU_EFG_AREA, Spp_EFG_LMU, and LMU_Scenario used as draft inputs to aspatial GSO calculations


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.