readDWD.hyras: read dwd hyras netcdf data

View source: R/readDWD.R

readDWD.hyrasR Documentation

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(), ...)

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()

Value

terra::rast() object.

Author(s)

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

See Also

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

Examples

## Not run:  # 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)

## End(Not run)

brry/rdwd documentation built on April 18, 2024, 4:16 a.m.