readDWD.asczip | R Documentation |
Read gridded asc data.
Intended to be called via readDWD()
.
readDWD.asczip(file, ascmeta = FALSE, quiet = rdwdquiet(), ...)
file |
Name of file on harddrive, like e.g. DWDdata/annual/radiation_global/grids_germany_annual_radiation_global_2024.zip |
ascmeta |
Logical: return meta data from asc file as a vector with ca 20 string elements? DEFAULT: FALSE |
quiet |
Ignored.
DEFAULT: FALSE through |
... |
Further arguments passed to |
terra::rast
object
Berry Boessenkool, berry-b@gmx.de, Jan 2025
readDWD()
## Not run: # Excluded from CRAN checks, but run in localtests
link <- "annual/radiation_global/grids_germany_annual_radiation_global_2022.zip" # 0.1 MB
file <- dataDWD(link, base=gridbase, joinbf=TRUE, read=FALSE)
meta <- readDWD(file, ascmeta=TRUE)
str(meta)
grid <- readDWD(file)
plotRadar(grid, proj="seasonal", extent="seasonal")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.