read.tob1: Read Table Oriented Binary 1 file

Description Usage Arguments Value Examples

View source: R/read.tob1.R

Description

Read Table Oriented Binary 1 file

Usage

1
read.tob1(file, digits = 6, endian = "little")

Arguments

file

the name of the file which the data are to be read from. It has to be a character string and cannot be a connection as mixed text & binary operations are involved.

digits

Number of significant digits to round floating point values to. Helpful if csdf is to be written into text based format like TOA5. See signif. Use NULL or NA if no rounding is necessary.

endian

Endianness for binary data. Should be always "little".

Value

an S4 class csdf

Examples

1
2
3
4
5
6
7
Sys.setenv(TZ='GMT')
fpath <- system.file("extdata", "TOB1_Station_Daily.dat", package="csdf")
obj <- read.tob1(fpath)
## Not run: 
write.toa5(obj, "somewhere.dat")

## End(Not run)

mlt/csdf documentation built on May 23, 2019, 4:06 a.m.

Related to read.tob1 in mlt/csdf...