FindFileLine: Find the location in a SORTIE base parameter file from...

findFileLineR Documentation

Find the location in a SORTIE base parameter file from variable name

Description

findFileLine() finds the line within the base SORTIE parameter file that the new values (file or dataframe) identifies is a variable to be modified. This file line applies only to the base parameter file and is passed to replaceInfo().

Usage

findFileLine(rf, itype, varname, vargroup, varmaster)

Arguments

rf

character() Base XML parameter file to be modified

itype

integer() File type

varname

character() variable codename

vargroup

character() variable group name

varmaster

character() variable master group

Examples

samplebasexml[1:4]
VariableNames[1:4,]
gmf_time_new
findFileLine(rf=samplebasexml,itype=1,varname="timesteps")


aclason/rsortie documentation built on Sept. 14, 2022, 8:06 p.m.