parse_block: Parse individual blocks of data from lines

View source: R/readResultDST.R

parse_blockR Documentation

Parse individual blocks of data from lines

Description

Internal function called by readResultDXT to read individual data chunks from file.

Usage

parse_block(block_lines, tz = "UTC")

Arguments

block_lines

A bunch of lines read from an RSMinerve .dst simulation output file.

tz

Time zone string to be passed to lubridate::as_datetime. Defaults to "UTC".

Value

A tibble with the data from the block.


hydrosolutions/riversCentralAsia documentation built on Feb. 7, 2023, 4:50 p.m.