Skip to contents

Number of Days in InfoWorks Result CSV File

Usage

hsDaysInFile(bytesFile, bytesHeader, bytesRow, timestep)

Arguments

bytesFile

file length in bytes

bytesHeader

length of header line in bytes

bytesRow

length of data row in bytes

timestep

result timestep in seconds

Value

number of days “contained” in an InfoWorks result CSV file of size bytesFile with a header line of bytesHeader bytes length, each data row being bytesRow bytes long and a result timestep of timestep seconds.