f_change_id {htsr}R Documentation

Change Station id or Sensor id in a hts file

Description

The function changes the station and/or the sensor id of a hts file. The new file is renamed with the new ids and a prefix n_: nw_<sensor.id>_<station.id>.hts, BUT the eventual prefixes or suffixes of the original name are not conserved. The original file is not removed.

Usage

f_change_id(file, sta = NA, sen = NA, overwrite = FALSE)

Arguments

file

file to proceed

sta

new station id (default: NA)

sen

new sensor id (default: NA)

overwrite

TRUE / FALSE (default) if the output file exists

Author(s)

P. Chevallier - Nov 2017-Jan 2019


[Package htsr version 2.1.5 Index]