checkData1NavigationVars: checkData1NavigationVars

Description Usage Arguments Value

View source: R/checkData1NavigationVars.R

Description

Checks for excessively large integer values (maximum>1M) for the sparrowNames waterid, tnode, fnode, hydseq to avoid array storage problems in R and Fortran subroutines. Exceedence of the threshold causes a renumbering of the 'waterid' and node numbers.

Executed By: dataInputPrep.R
Executes Routines: errorOccurred.R

Usage

1
checkData1NavigationVars(data1, if_reverse_hydseq, batch_mode)

Arguments

data1

input data (data1)

if_reverse_hydseq

yes/no indicating whether hydseq in the DATA1 file needs to be reversed from sparrow_control

batch_mode

yes/no character string indicating whether RSPARROW is being run in batch mode

Value

data1 data1 input file as dataframe with large interger values replaced and hydseq


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.