Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare new release #42

Open
wants to merge 156 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
f22482c
Add quiet parameter to read_monthly_over_shape()
mrustl Sep 20, 2022
4404369
Extract transform_coords(), add arg "use_sf"
hsonne Sep 20, 2022
67a83b7
Allow to pass spatial object or no shape at all
hsonne Sep 20, 2022
350efa4
Update Rd file
hsonne Sep 20, 2022
183cbfe
Use raster::getValues() instead of @data@values
hsonne Sep 20, 2022
c3653b9
Extend example script, download rain Bezirke Bln
hsonne Sep 20, 2022
5a73cc2
Remove non-working code, extract to temp folder
hsonne Sep 20, 2022
564eace
Merge pull request #43 from KWB-R/add-shape-arg
mrustl Sep 21, 2022
6a10328
Simplify get_berlin_dwd_mask()
hsonne Sep 28, 2022
639f193
Simplify getting URL to example file
hsonne Sep 28, 2022
d35e3f7
Try to fix "gdal" installation on Linux
mrustl Sep 28, 2022
a31bbd2
Check input type, add test for raster_stats()
hsonne Sep 29, 2022
68e6983
DRY: extract summarise_over_all_grids()
hsonne Sep 29, 2022
8c21077
Fix typo, improve comment
hsonne Sep 29, 2022
c175612
Merge branch 'dev' of https://github.com/kwb-r/kwb.dwd into dev
hsonne Mar 13, 2023
14a6845
Replace master with v2
hsonne Mar 14, 2023
5c0581c
Use version 2 of setup-r-dependencies
hsonne Mar 14, 2023
0da9207
Add vignette with overview of package functions
hsonne Apr 26, 2023
5ca0de9
Merge branch 'add-overview-vignette' of https://github.com/kwb-r/kwb.…
hsonne Apr 26, 2023
74ae087
Update versions of GitHub actions
hsonne Apr 27, 2023
1981c66
Merge pull request #46 from KWB-R/add-overview-vignette
hsonne Apr 27, 2023
38c9543
Set version numbers when using GitHub actions
hsonne Apr 27, 2023
2b4c36f
Update dataset "dwd_files"
hsonne Apr 27, 2023
23890a3
Move list...grids_germany...() to extra file
hsonne Apr 27, 2023
079c855
Set LazyDataCompression in DESCRIPTION
hsonne Apr 27, 2023
ff3e08e
Update Rd files [skip actions]
hsonne Apr 27, 2023
3e5bddc
Reduce level of abstraction
hsonne May 3, 2023
4f368cc
Provide all unzip functions in unzip.R
hsonne May 4, 2023
0aaa737
Add download_dir(), allow to set "mode"
hsonne May 4, 2023
1241f99
Add remove_(left|protocol|right)()
hsonne May 4, 2023
a578e95
Use new function download_dir()
hsonne May 4, 2023
9e0dcce
Set new argument "mode" to "binary writing"
hsonne May 4, 2023
8c8ea53
Set argument by name (to simplify debugging)
hsonne May 4, 2023
a145dfd
Cosmetics
hsonne May 4, 2023
34901ff
Add get_relative_path()
hsonne May 4, 2023
4e9edf1
Make more clear what is removed
hsonne May 5, 2023
24d7422
Add arg "target_dir" to download_if_not_there()
hsonne May 5, 2023
5a5032a
Let unzip_zip_file() return full file paths
hsonne May 5, 2023
ce70924
Plot raster object that was read from .asc.gz
hsonne May 5, 2023
59f5feb
Add separator lines
hsonne May 5, 2023
f0759ea
Use new function and argument "target_dir"
hsonne May 5, 2023
b0b548c
Set download mode to "write binary"
hsonne May 5, 2023
b5f3cea
Simplify extract_radolan_zip_files()
hsonne May 5, 2023
c5f5e10
Use path.expand() in unzip_tar_gz_file()
hsonne May 5, 2023
1eb809d
Add and use download_into_folder_structure()
hsonne May 5, 2023
2a53d9c
Add functions to list URLs to Radolan files
hsonne May 5, 2023
61857f1
Add utility function copy_file()
hsonne May 5, 2023
9939fab
Refactor provide_projection_file()
hsonne May 5, 2023
c23ec0b
Add arg "dbg" to read_binary_radolan_header()
hsonne May 8, 2023
9ce8912
Add functions related to Radolan data
hsonne May 9, 2023
c105739
Add read_asc_file()
hsonne May 9, 2023
df774c6
Improve output of select_shapes()
hsonne May 9, 2023
b5a38dd
Consider flags in read_binary_radolan_file()
hsonne May 9, 2023
8c09872
Simplify output
hsonne May 10, 2023
94915f4
Extend function for further case
hsonne May 10, 2023
47716c3
Extract get_regional_stats_from_radolan_files()
hsonne May 10, 2023
20723eb
Add read_hourly_radolan_hist._bin_for_region()
hsonne May 10, 2023
4edce59
Add download_and_extract_hourly_radolan_...()
hsonne May 10, 2023
7a0170f
Create extraction directory
hsonne May 10, 2023
2ca7a82
Do not use "kwb.dwd:::" for your own functions
hsonne May 11, 2023
9b0623e
Reduce output by setting "dbg = FALSE"
hsonne May 11, 2023
4471c79
Try two slightly different methods
hsonne May 11, 2023
b63be01
Remove test of removed function
hsonne May 11, 2023
9827abf
Add utility function on_windowd()
hsonne May 11, 2023
42443c9
Consider operating system in download_dir()
hsonne May 11, 2023
09d7736
Do not use ::: for your own objects
hsonne May 11, 2023
284d1f2
Comment out rm command to hopefully fix Github action
hsonne May 11, 2023
4b662de
Set projection by copy of projection file
hsonne May 11, 2023
fd6e60c
Add argument "pattern" and use ... arguments
hsonne May 11, 2023
dfaf5bc
Update NAMESPACE
hsonne May 11, 2023
1c2113a
Allow to read from zipped binary file
hsonne May 12, 2023
cda7b94
Extract download_and_extract_radolan()
hsonne May 12, 2023
c997cfc
Update .Rd file
hsonne May 12, 2023
5f76d0d
Merge branch 'dev' of https://github.com/kwb-r/kwb.dwd into dev
hsonne May 12, 2023
d8cf255
Update Roxygen import directives
hsonne May 15, 2023
5db3bfa
Add arg. "timeout" to download_if_not_there()
hsonne May 15, 2023
281ffb7
Improve get_full_extension()
hsonne May 15, 2023
f0adbc2
Unzip .tar file within .tar.gz file
hsonne May 15, 2023
9660668
Let download_and_extract_radolan() accept "daily"
hsonne May 15, 2023
cd44ed6
Remove setup_package.R (not needed any more)
hsonne May 15, 2023
c1793e6
Rename "time_resolution" to "resolution"
hsonne May 15, 2023
577d5fb
Give deprecated warning, name file as function
hsonne May 15, 2023
d0f3c42
Improve readability of output
hsonne May 15, 2023
49d66aa
Extract month_range_pattern()
hsonne May 15, 2023
386d5f3
Let list_zipped_files() check tar return status
hsonne May 15, 2023
83b3c94
Use wrapper around untar(): list_zipped_files()
hsonne May 15, 2023
ac0dda6
Fix error in get_radolan_..._from_filenames()
hsonne May 15, 2023
04577bf
Use configuration to specify Radolan download
hsonne May 15, 2023
7353b27
Extract list_extracted_radolan_files()
hsonne May 15, 2023
384b95b
Rename arguments, document, export temp_dir()
hsonne May 16, 2023
09a5d7b
Document, export list_extracted_radolan_files()
hsonne May 16, 2023
ba77e4e
Fix test (no more warning)
hsonne May 16, 2023
968d5f7
Remove old code
hsonne May 16, 2023
0c83927
Add documentation file for temp_dir()
hsonne May 16, 2023
4dfeb83
Return URLs in attribute "url"
hsonne May 16, 2023
373cd3d
Remove month_numbers()
hsonne May 16, 2023
7682101
Add arg "simple" to month_sequence()
hsonne May 16, 2023
6959bb2
Rename last_month_as_yyyymm() to last_month()
hsonne May 16, 2023
2ac518d
Rename assert_ending_gz()
hsonne May 16, 2023
38187d8
Remove frequency_prefix(), decrease complexity
hsonne May 16, 2023
2a82d29
Remove extract_yyyymm()
hsonne May 16, 2023
e368d48
(Re-)integrate main_columns_first()
hsonne May 16, 2023
eaba84c
Remove extract_metadata_from_files_...()
hsonne May 16, 2023
e14d554
Update NAMESPACE
hsonne May 16, 2023
afbc720
Remove ftp_path_(daily|monthly)_grids()
hsonne May 16, 2023
9583c59
Add more general function list_grids_germany()
hsonne May 16, 2023
a917963
Improve error handling
hsonne May 17, 2023
89d36ec
Improve error handling, reuse assert_url()
hsonne May 17, 2023
adb3edb
Improve error reporting
hsonne May 17, 2023
822e24a
Improve outdated comment
hsonne May 17, 2023
53bb2e0
Document argument "extension"
hsonne May 19, 2023
92db874
Correct test calls
hsonne May 19, 2023
98a1cb1
Merge branch 'dev' of https://github.com/kwb-r/kwb.dwd into dev
hsonne May 19, 2023
6429820
Indicate integer constant with "L"
hsonne May 19, 2023
339a42e
Fix :bug: in download_daily_grids_germany()
hsonne May 19, 2023
cd8a974
Adapt/fix/improve tests
hsonne May 19, 2023
84fdbdb
Use one more folder level for download
hsonne May 19, 2023
1008885
Suppress debug message by default
hsonne May 19, 2023
0b2bfeb
Provide shapes of Germany as package datasets
hsonne May 19, 2023
594e80f
Move read_shape_file() to its own file
hsonne May 19, 2023
3895109
Read all shape files, shorten list entry names
hsonne May 19, 2023
4726504
Return the datasets as stored in the package
hsonne May 19, 2023
dbe6039
Improve check_or_download_shapes_germany()
hsonne May 19, 2023
1a30558
Require higher R version
hsonne May 19, 2023
6bb5921
Add package specifier "kwb.dwd::"
hsonne May 19, 2023
8cf4dae
Correct test
hsonne May 20, 2023
0fe5307
Suppress warning in test
hsonne May 22, 2023
a8c607b
Consider locally available shape file in test
hsonne May 22, 2023
a572cb7
Adapt shape filter configs to new shape list
hsonne May 23, 2023
31512ee
Use markdown syntax in Roxygen comments
hsonne May 23, 2023
c621186
Convert Roxygen comments to Markdown syntax
hsonne May 23, 2023
3e3f9db
Use markdown enumerations, reflow comments
hsonne May 23, 2023
d3b5851
Link to related functions unsing script
hsonne May 23, 2023
98a0aec
Add script that created the seealso sections
hsonne May 23, 2023
5a5f5ce
Remove deprecated functions
hsonne May 24, 2023
8d7bad6
Slightly improve filter_month_by_range()
hsonne May 24, 2023
fde728b
Set "use_sf" to TRUE if x inherits from "sf"
hsonne May 25, 2023
c9e0768
Rename functions, add argument
hsonne May 28, 2023
1363eab
Merge branch 'dev' of https://github.com/kwb-r/kwb.dwd into dev
May 28, 2023
2ffd027
Remove looks_like_file_extension()
hsonne May 28, 2023
560430a
Add read_data_over_shape()
hsonne May 29, 2023
9115d73
Reuse read_asc_file()
hsonne May 29, 2023
70cc081
Document that argument is currently not used!
hsonne May 29, 2023
7e32b24
Reuse read_asc_file()
hsonne May 29, 2023
0ee1aed
Improve extract_metadata_from_files()
hsonne May 29, 2023
b7b5787
Bugfix due to archived "rgdal" dependency
mrustl Apr 8, 2024
3c95839
Merge pull request #52 from KWB-R/read-data-over-shape
mrustl Apr 8, 2024
1828846
Add test scripts to inst/extdata
hsonne Apr 8, 2024
305d956
try to install versioned "rgdal" from CRAN
mrustl Apr 8, 2024
b83a84d
Merge branch 'dev' of https://github.com/KWB-R/kwb.dwd into dev
mrustl Apr 8, 2024
05c38a0
Bump version back and rollback "rgdal"
mrustl Apr 8, 2024
d533f97
try with versioned CRAN installation from archive
mrustl Apr 9, 2024
d216f99
use GitHub again, parsing of (cran|version)::
mrustl Apr 9, 2024
6a5e7cf
Try with alternative approach using POSIT
mrustl Apr 9, 2024
1678dcb
Fix undefined CRS bug
mrustl Apr 15, 2024
5fd9d72
Implement two simple tests
hsonne Apr 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: windows-latest, r: 'devel'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: windows-latest, r: 'devel'}
- {os: windows-latest, r: 'oldrel'}
- {os: windows-latest, r: 'release'}

Expand All @@ -35,18 +35,23 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
- uses: r-lib/actions/setup-pandoc@master
- name: Install spatial dependencies
if: runner.os != 'Windows'

- uses: r-lib/actions/setup-pandoc@v2

- name: Install spatial dependencies on macOS
if: runner.os == 'macOS'
run: |
brew install gdal proj


- name: Install spatial dependencies on Linux
if: runner.os == 'Linux'
run: |
sudo apt-get install gdal-bin

- name: Query dependencies
run: |
install.packages('remotes')
Expand All @@ -55,7 +60,7 @@ jobs:

- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r }}-3-${{ hashFiles('depends.Rds') }}
Expand All @@ -81,7 +86,7 @@ jobs:

- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
8 changes: 4 additions & 4 deletions .github/workflows/R-CMD-check2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
- uses: r-lib/actions/check-r-package@v2
8 changes: 4 additions & 4 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-pandoc@master

- name: Install spatial dependencies
run: |
rm '/usr/local/bin/gfortran'
#rm '/usr/local/bin/gfortran'
brew install gdal proj

- name: Query dependencies
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@master
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: Rscript -e 'install.packages(c("remotes", "roxygen2"))' -e 'remotes::install_deps(dependencies = TRUE)'
- name: Document
Expand All @@ -23,7 +23,7 @@ jobs:
run: |
git add man/\* NAMESPACE
git commit -m 'Document'
- uses: r-lib/actions/pr-push@master
- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
style:
Expand All @@ -34,10 +34,10 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@master
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: Rscript -e 'install.packages("styler")'
- name: Style
Expand All @@ -46,6 +46,6 @@ jobs:
run: |
git add \*.R
git commit -m 'Style'
- uses: r-lib/actions/pr-push@master
- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@master
- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@master
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
Expand All @@ -30,7 +30,7 @@ jobs:
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
Expand Down
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: kwb.dwd
Title: Access Information from Deutscher Wetterdienst (DWD)
Version: 0.2.0
Version: 0.3.0
Authors@R:
c(person(given = "Hauke",
family = "Sonnenberg",
Expand Down Expand Up @@ -32,7 +32,7 @@ License: MIT + file LICENSE
URL: https://github.com/KWB-R/kwb.dwd
BugReports: https://github.com/KWB-R/kwb.dwd/issues
Depends:
R (>= 3.0)
R (>= 3.5.0)
Imports:
archive,
bitops (>= 1.0.6),
Expand All @@ -55,7 +55,11 @@ VignetteBuilder:
knitr
Remotes:
github::kwb-r/kwb.utils
Additional_repositories:
https://packagemanager.posit.co/cran/2023-09-20/
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.1
LazyDataCompression: bzip2
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
Config/testthat/edition: 3
12 changes: 11 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Generated by roxygen2: do not edit by hand

export(calculate_masked_grid_stats)
export(check_or_download_shapes_germany)
export(convert_bin_to_raster_file)
export(coordinates_to_EPSG_4326)
export(crop_radolan_radial)
export(download_radolan)
export(download_shapes_germany)
export(extract_radolan_zip_files)
export(get_berlin_dwd_mask)
export(get_dwd_urls_metadata)
Expand All @@ -14,6 +14,7 @@ export(get_radolan_extension)
export(get_radolan_projection_string)
export(get_radolan_urls)
export(get_shapes_of_germany)
export(list_extracted_radolan_files)
export(list_url)
export(load_potential_evaporation_berlin)
export(load_potential_evaporation_berlin_2)
Expand All @@ -23,8 +24,10 @@ export(radolan_raw_to_raster)
export(read_asc_gz_file)
export(read_binary_radolan_file)
export(read_daily_data_over_shape)
export(read_data_over_shape)
export(read_monthly_data_over_shape)
export(read_relevant_years_radolan)
export(temp_dir)
export(unzip_asc_gz_file)
export(write_raster_to_file)
importFrom(RCurl,curlOptions)
Expand All @@ -39,9 +42,11 @@ importFrom(kwb.utils,callWith)
importFrom(kwb.utils,catAndRun)
importFrom(kwb.utils,catIf)
importFrom(kwb.utils,clearConsole)
importFrom(kwb.utils,commonNames)
importFrom(kwb.utils,createDirectory)
importFrom(kwb.utils,expandGrid)
importFrom(kwb.utils,extractSubstring)
importFrom(kwb.utils,fileExtension)
importFrom(kwb.utils,getAttribute)
importFrom(kwb.utils,left)
importFrom(kwb.utils,listToDepth)
Expand All @@ -51,6 +56,7 @@ importFrom(kwb.utils,pasteColumns)
importFrom(kwb.utils,removeColumns)
importFrom(kwb.utils,removeExtension)
importFrom(kwb.utils,replaceFileExtension)
importFrom(kwb.utils,resetRowNames)
importFrom(kwb.utils,resolve)
importFrom(kwb.utils,right)
importFrom(kwb.utils,safePath)
Expand All @@ -65,6 +71,7 @@ importFrom(lubridate,month)
importFrom(lubridate,rollback)
importFrom(lubridate,ymd)
importFrom(magrittr,"%>%")
importFrom(raster,`crs<-`)
importFrom(raster,cellStats)
importFrom(raster,crop)
importFrom(raster,extent)
Expand All @@ -73,9 +80,12 @@ importFrom(raster,raster)
importFrom(raster,stack)
importFrom(raster,writeRaster)
importFrom(rgdal,readOGR)
importFrom(sf,as_Spatial)
importFrom(sf,st_as_sf)
importFrom(sf,st_buffer)
importFrom(sf,st_read)
importFrom(sf,st_transform)
importFrom(sf,st_zm)
importFrom(sp,CRS)
importFrom(stats,sd)
importFrom(stats,setNames)
Expand Down
99 changes: 98 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,106 @@
# kwb.dwd 0.3.0 (2023-05-23)

* update/improve/fix GitHub actions workflow files
* depend on R >= 3.5.0 (Required by R CMD check)
* use Markdown syntax in roxygen comments
* update dataset `dwd_files`
* add new datasets
- `shapes_germany_0`,
- `shapes_germany_1`,
- `shapes_germany_2`
* add new functions (exported)
- `list_extracted_radolan_files`
* export functions that were private before
- `temp_dir`
* add new functions (not exported)
- `assert_all_ending_with`
- `check_binary_radolan_files`
- `configure_radolan`
- `consider_flags`
- `contains_file`
- `copy_file`
- `download_and_extract_radolan`
- `download_and_extract_radolan_url`
- `download_dir`
- `download_into_folder_structure`
- `ftp_path_radolan`
- `ftp_path_radolan_all`
- `get_full_extension`
- `get_radolan_format_description`
- `get_radolan_header_patterns`
- `get_radolan_metadata`
- `get_radolan_metadata_from_header`
- `get_radolan_timestamps`
- `get_radolan_timestamps_from_filenames`
- `get_radolan_timestamps_from_headers`
- `get_regional_stats_from_radolan_asc_files`
- `get_regional_stats_from_radolan_bin_files`
- `get_regional_stats_from_radolan_files`
- `get_relative_path`
- `list_grids_germany`
- `month_range_pattern`
- `on_windows`
- `open_for_reading_in_binary_mode`
- `read_asc_file`
- `read_hourly_radolan_historical_bin_for_region`
- `remove_left`
- `remove_protocol`
- `remove_right`
- `split_radolan_header`
- `unzip_tar_file`
- `unzip_tar_gz_file`
- `unzip_zip_file`
- `url_to_relative_path`
* modify functions
- `check_or_download_shapes_germany`: add arguments "url", "timeout", report
about "timeout" error, rename to `download_shapes_germany`
- `default_projection_file`: add argument "quiet"
- `download_if_not_there`: add arguments "target_dir", "mode", "timeout",
rename to `download`
- `extract_radolan_zip_files`: refactor
- `filter_shapes`: use accessor function, check that one row is selected
- `get_berlin_dwd_mask`: simplify
- `get_shapes_of_germany`: add argument "use_sf", return shapes that are
provided as datasets in the package
- `last_month_as_yyyymm`: rename to "last_month", add argument "format"
- `list_zip_files`: refactor
- `month_sequence`: add argument "simple"
- `provide_projection_file`: refactor
- `raster_stats`: use raster`::getValues
- `read_binary_radolan_file`: add argument "consider_flags"
- `read_binary_radolan_header`: add argument "dbg"
- `read_monthly_data_over_shape`: add argument "quiet", "shape", "use_sf"
- `read_shape_file`: merge two functions (function was defined twice!)
- `select_shapes`: improve output
- `temp_dir`: rename arguments (remove dot) and export
- `transform_coords`: ?
* remove functions
- `assert_ending_gz` (use `assert_all_ending_with`)
- `extract_metadata_from_files_daily` (use `extract_metadata_from_files`)
- `extract_metadata_from_files_monthly` (use `extract_metadata_from_files`)
- `extract_yyyymm` (integrated where it was used)
- `filter_by_extension_asc_gz` (use `filter_by_extension`)
- `filter_by_extension_tgz` (use `filter_by_extension`)
- `frequency_prefix` (integrated where it was used)
- `ftp_path_daily_grids` (use `ftp_path_grids_germany`)
- `ftp_path_monthly_grids` (use `ftp_path_grids_germany`)
- `list_daily_grids_germany_tgz` (use `list_grids_germany`)
- `list_monthly_grids_germany_asc_gz` (use `list_grids_germany`)
- `main_columns_first` (integrated where it was used)
- `month_sequence_simple` (use `month_sequence_simple`)
- `url_projection`

# kwb.dwd 0.2.1 (2024-04-08)

* Install `rgdal` dependency from CRAN`s GitHub account (as it has been archived
since 2023-10-16, see [here](https://cran.r-project.org/web/packages/rgdal/index.html)).

# kwb.dwd 0.2.0 (2022-09-20)

* add contributors Michael Rustler, Lukas Guericke
* use GitHub actions instead of Travis and Appveyor
* add tests
* update dataset [dwd_files](../reference/dwd_files.html)
* update dataset `dwd_files`
* modify functions
- `get_radolan_url()`: add arg "ftp_root"
- `get_radolan_urls()`: add args "..."
Expand Down
Loading
Loading