Learn R Programming

SticsRFiles (version 1.7.0)

upgrade_sta_xml_9_10: Upgrade _sta.xml file(s) from STICS version 9 to 10

Description

Upgrade _sta.xml file(s) from STICS version 9 to 10

Usage

upgrade_sta_xml_9_10(file, out_dir, param_gen_file, overwrite = FALSE)

Value

None

Arguments

file

Path of a station (*_sta.xml) file or a vector of

out_dir

Output directory path of the generated files

param_gen_file

Path of the param_gen.xml file corresponding to the file version

overwrite

logical (optional), TRUE for overwriting file if it exists, FALSE otherwise

Details

See SticsRFiles::get_stics_versions_compat() for listing versions

Examples

Run this code
if (FALSE) {
dir_path <- get_examples_path(file_type = "xml", stics_version = "V9.2")

upgrade_sta_xml_9_10(
  file = file.path(dir_path, "file_sta.xml"),
  out_dir = tempdir(),
  param_gen_file = file.path(dir_path, "param_gen.xml")
)
}

Run the code above in your browser using DataLab