Description Usage Arguments Details Value Bin interpolation Examples
dsd_integrate
reads raw disdrometer data and computes a series of
integrated variables.
1 | psvd_integrate(indir, script = NULL, outfile = NULL, interp = "linear")
|
indir |
A character vector with the url of the directory tree that contains the raw disdrometric data. |
script |
A character vector with the url of the Perl script. Defaults
to the installation directory of the |
outfile |
A character vector with the url of the output file. Defaults to a random file name in the session's temporary directory. |
interp |
A character vector indicating the interpolation method to use for inputing particle sizes and velocities within the bins of the PSVD matrix. One of 'middle', 'uniform', and 'linear', defaulting to 'middle'. |
Currently, this is done via an external Perl script, so you need to have Perl installed and working in your system. Beware: some users have reported issues for running the Perl script in Windows. It might be translated into a native R script in the future, if I find time to do it.
A data frame with the following items:
Disdrometer type, currently one of 'Thies' or 'Parsivel' (Factor)
Sensor serial number (Numeric)
Date and time of the record (POSIXct)
Number of seconds since 1970-01-01 00:00:00 (Numerica)
Synop code (Factor)
Precipitation intensity computed from the PSVD matrix, mm h−1 (Numeric)
Precipitation amount computed from the PSVD matrix, mm (Numeric)
Liquid water content computed from the PSVD matrix, g m-3 (Numeric)
Radar reflectivity computed from the PSVD matrix, dB mm6 m−3 (Numeric)
Kinetic energy computed from the PSVD matrix, J m−2 mm−1 (Numeric)
Visibility computed from the PSVD matrix, m (Numeric)
Precipitation intensity as reported by the disdrometer, mm h−1 (Numeric)
Radar reflectivity as reported by the disdrometer, dB mm6 m−3 (Numeric)
Kinetic energy as reported by the disdrometer, J m−2 h−1 (Numeric)
Visibility as reported by the disdrometer, m (Numeric)
Data quality reported by the distrometer, 0-100 (Numeric)
Air temperature, ºC (Numeric)
Relative humidity, 0-100 (Numeric)
Wind speed, m s-1 (Numeric)
Wind direction, degrees (Numeric)
Number of particles detected computed from the PSVD matrix (Numeric)
Number of particles detected as reported by the disdrometer (Numeric)
Laser control output, 1/100 mA (Numeric)
Optical control output, mV (Numeric)
Sensor power supply, V (Numeric)
Internal sensor temperature, ºC (Numeric)
Particle diameter’s 10th percentile, mm (Numeric)
Particle diameter’s 25th percentile, mm (Numeric)
Particle diameter’s 50th percentile, mm (Numeric)
Particle diameter’s 75th percentile, mm (Numeric)
Particle diameter’s 90th percentile, mm (Numeric)
Mean particle diameter, mm (Numeric)
Particle velocity’s 10th percentile, m s−1 (Numeric)
Particle velocity’s 25th percentile, m s−1 (Numeric)
Particle velocity’s 50th percentile, m s−1 (Numeric)
Particle velocity’s 75th percentile, m s−1 (Numeric)
Particle velocity’s 90th percentile, m s−1 (Numeric)
Mean particle velocity, m s−1 (Numeric)
Telegram shift time, s (Numeric)
Telegram number of rows (Numeric)
Error status (Numeric)
Number of fields in the telegram (Numeric)
Since the particle size and velocity distribution is not linear within the bins of the PSVD matrix, different imputation methods exist. 'middle' will assing the middle bin size and velocity to all the particles in the bin; 'uniform' assumes an uniform distribution of sizes and velocities within the bin limits; and 'linear' assumes a linear distribution between the bin limits.
1 2 3 4 | f <- system.file('extdata/rawDataParsivel', package='disdRo')
x <- dsd_integrate(f)
head(x)
summary(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.