Adds the latitude and longitude, or checks if they are formatted correctly. Then, splits the prefix into the directory and base name, appends the suffix to the base name (adding a starting dot, if necessary), and returns the filename as a character.

prepare_ed_veg_filename(path_prefix, suffix, latitude = NULL,
  longitude = NULL)

Arguments

path_prefix

Desired path and prefix (without latitude and longitude)

suffix

Character string of filename suffix.

latitude

Site latitude coordinate (default = NULL)

longitude

Site longitude coordinate (default = NULL)

Value

Character string of full formatted file path