Learn R Programming

rdwd (version 1.1.0)

readRadarFile: read binary radolan radar file

Description

Read a single binary DWD Radolan file. To be used in readDWD.binary. If any files ar not read correctly, please let me know. So far, tests have only been conducted for daily SF files. Optimally, check the Kompositformatbeschreibung at https://www.dwd.de/DE/leistungen/radolan/radolan.html and let me know what needs to be changed. Binary bits are converted to decimal numbers with Fortran routines, see https://github.com/brry/rdwd/tree/master/src. They are called in an unexported function called bin2num.

Usage

readRadarFile(binfile, na = NA, clutter = NA)

Arguments

binfile

Name of a single binary file

na

Value to be set for missing data (bit 14). DEFAULT: NA

clutter

Value to be set for clutter data (bit 16). DEFAULT: NA

Value

A list with dat (matrix) and meta (list with elements from header, see Kompositformatbeschreibung)

See Also

readDWD.binary

Examples

Run this code
# NOT RUN {
# see readDWD.binary
# }

Run the code above in your browser using DataLab