Documentation ¶
Overview ¶
Package toa5 provides a reader for TOA5 files. The TOA5 file format is used as an output format by the CR1000 data loggers of Campbell Scientific.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoTOA5File = errors.New("no TOA5 file") ErrEmptyRecord = errors.New("empty record name") ErrNoOptions = errors.New("no options provided") ErrEnvironmentLength = errors.New("environment line has missing fields") )
General errors.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { Filetype string Station string Model string Serial string OSVersion string Program string Signature string Table string }
Environment denotes the first header line in a TOA5 file.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is a reader for TOA5 files and wraps and csv.Reader.
func (*Reader) Aggregation ¶
Aggregation returns the aggregation header line of the TOA5.
func (*Reader) Environment ¶
func (r *Reader) Environment() *Environment
Environment returns the environment header line of the TOA5.
Click to show internal directories.
Click to hide internal directories.