psvd_read: Read raw disdrometer data

Description Usage Arguments Value Examples

Description

Retrieves (usually minutal) particle size and velocity distribution (PSVD) data, that is the matrix of particle counts arranged by size and velocity bins, from a list of raw disdrometer data files.

Usage

1
psvd_read(files, type = "Thies")

Arguments

files

A list of files to be processed.

type

Character vector designing the type of disdrometer, currently one of 'Thies' or 'Parsivel' Defaults to 'Thies'.

Value

An array containing, for each minute, a particle size velocity distribution (PSVD) matrix, i.e. a matrix of size (rows) vs. velocity (columns) particle counts.

Examples

1
2
3
4
5
f <- system.file('extdata', 'rawDataThies', package='disdRo')
files <- list.files(f, '.txt', full.names=TRUE, recursive=TRUE)
dsd <- psvd_read(files, type='Thies')
dim(dsd)
dimnames(dsd)

sbegueria/disdRo documentation built on May 14, 2019, 2:39 p.m.