Learn R Programming

rdwd (version 1.9.3)

readDWD.hyras: read dwd hyras netcdf data

Description

Read hyras netcdf data. Intended to be called via readDWD().
Note that terra must be installed to read the .nc files.

Usage

readDWD.hyras(file, quiet = rdwdquiet(), ...)

Value

terra::rast() object.

Arguments

file

Name of file on harddrive, like e.g. DWDdata/monthly_hyras_de_humidity_hurs_hyras_5_2020_v5-0_de_monmean.nc

quiet

Currently not used. DEFAULT: FALSE through rdwdquiet()

...

Further arguments passed to terra::rast()

Author

Berry Boessenkool, berry-b@gmx.de, Jun 2023

See Also

readDWD.nc() for packed .nc.gz files, readDWD()

Examples

Run this code
if (FALSE)  # Excluded from CRAN checks, but run in localtests
link <- "monthly/hyras_de/humidity/hurs_hyras_5_2020_v5-0_de_monmean.nc"
hyras <- dataDWD(link, gridbase, joinbf=TRUE) # 0.9MB
plotRadar(hyras, proj="nc", extent=NULL, 
          main=substr(terra::time(hyras),1,7), layer=1:2)

Run the code above in your browser using DataLab