Skip to content

Commit

Permalink
data(kostra_dwd_2010r): license
Browse files Browse the repository at this point in the history
fixes #60
  • Loading branch information
dimfalk committed Aug 1, 2024
1 parent 6f2add2 commit 08fa5ba
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 59 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Package: kostra2010R
Title: R Interface for KOSTRA-DWD-2010R Dataset
Version: 0.13.1
Date: 2024-05-28
Version: 0.13.2
Date: 2024-08-01
Authors@R:
person("Dimitri", "Falk", , "[email protected]", role = c("aut", "cre"))
Description: Extract cell-specific precipitation statistics from KOSTRA-DWD-2010R.
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Depends: R (>= 4.2.0)
Imports:
checkmate,
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version 0.13.1
# version 0.13.2

## features

Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
#' @source <https://opendata.dwd.de/climate_environment/CDC/grids_germany/return_periods/precipitation/KOSTRA/KOSTRA_DWD_2010R/gis/>
#' @note Last access: 2022-10-20
#' @description <https://www.dwd.de/DE/leistungen/kostra_dwd_rasterwerte/kostra_dwd_rasterwerte.html>
#' @note License: Data licence Germany – attribution – version 2.0
#' @note License: CC BY 4.0
#' @note Copyright: Deutscher Wetterdienst 2022 (format modified)
"kostra_dwd_2010r"
6 changes: 0 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,3 @@ plot_idf(stats, log10 = TRUE)
## Contributing

See [here](https://github.com/dimfalk/kostra2010R/blob/main/.github/CONTRIBUTING.md) if you'd like to contribute.

## Legal information

According to the [terms of use](https://opendata.dwd.de/climate_environment/CDC/Terms_of_use.pdf) for data on the CDC-OpenData area, freely accessible data may be re-used without any restrictions provided other than the source is referenced, as laid down in the [GeoNutzV](http://www.gesetze-im-internet.de/geonutzv/index.html) ordinance.

Copyright \@ [Deutscher Wetterdienst](https://www.dwd.de/EN/service/copyright/templates_dwd_as_source.html)
48 changes: 1 addition & 47 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ and load the package via

``` r
library(kostra2010R)
#> 0.13.0
#> 0.13.2
```

## Getting started
Expand Down Expand Up @@ -94,9 +94,6 @@ p1
#> Bounding box: xmin: 6.09 ymin: 50.46 xmax: 6.09 ymax: 50.46
#> Geodetic CRS: WGS 84
#> POINT (6.09 50.46)
```

``` r

p2 <- get_centroid(c(367773, 5703579), crs = "epsg:25832")
p2
Expand All @@ -121,9 +118,6 @@ p3
#> Bounding box: xmin: 6.785413 ymin: 51.23875 xmax: 6.785413 ymax: 51.23875
#> Geodetic CRS: WGS 84
#> POINT (6.785413 51.23875)
```

``` r

p4 <- get_centroid("Freiburg im Breisgau")
p4
Expand All @@ -133,9 +127,6 @@ p4
#> Bounding box: xmin: 7.8494 ymin: 47.99609 xmax: 7.8494 ymax: 47.99609
#> Geodetic CRS: WGS 84
#> POINT (7.8494 47.99609)
```

``` r

p5 <- get_centroid("Kronprinzenstr. 24, 45128 Essen")
p5
Expand All @@ -154,24 +145,12 @@ relevant grid index.
# Get indices by topological intersection between location point and grid cells.
get_idx(p1)
#> [1] "61002"
```

``` r
get_idx(p2)
#> [1] "49011"
```

``` r
get_idx(p3)
#> [1] "51008"
```

``` r
get_idx(p4)
#> [1] "94016"
```

``` r
get_idx(p5)
#> [1] "49010"
```
Expand Down Expand Up @@ -217,19 +196,10 @@ Some describing attributes have been assigned to the tibble.
``` r
attr(stats, "id")
#> [1] "42016"
```

``` r
attr(stats, "period")
#> [1] "1951-01-01 +01" "2010-12-31 +01"
```

``` r
attr(stats, "returnperiods_a")
#> [1] 1 2 3 5 10 20 30 50 100
```

``` r
attr(stats, "source")
#> [1] "KOSTRA-DWD-2010R"
```
Expand Down Expand Up @@ -267,9 +237,6 @@ helper function.
``` r
as_yield(62.1, d = 240)
#> 43.1 [L/ha/s]
```

``` r

as_depth(43.1, d = 240)
#> 62.1 [mm]
Expand Down Expand Up @@ -344,16 +311,3 @@ plot_idf(stats, log10 = TRUE)
See
[here](https://github.com/dimfalk/kostra2010R/blob/main/.github/CONTRIBUTING.md)
if you’d like to contribute.

## Legal information

According to the [terms of
use](https://opendata.dwd.de/climate_environment/CDC/Terms_of_use.pdf)
for data on the CDC-OpenData area, freely accessible data may be re-used
without any restrictions provided other than the source is referenced,
as laid down in the
[GeoNutzV](http://www.gesetze-im-internet.de/geonutzv/index.html)
ordinance.

Copyright @ [Deutscher
Wetterdienst](https://www.dwd.de/EN/service/copyright/templates_dwd_as_source.html)
2 changes: 1 addition & 1 deletion man/kostra_dwd_2010r.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 08fa5ba

Please sign in to comment.