Skip to content

Commit

Permalink
no more srtm
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed May 28, 2024
1 parent c05df99 commit d9852ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: raadfiles
Title: File Database Management for 'raadtools'
Version: 0.1.4.9004
Version: 0.1.4.9005
Authors@R: c(
person("Michael D.","Sumner", role = c("aut", "cre"), email = "[email protected]"),
person("Ben", "Raymond", role = "ctb"),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# raadfiles dev

* `srtm_files()` now defunct, use opentopography or similar (one example is in gh:hypertidy/sds::cop30()).

* Bumped required version of fs to dev, see https://github.com/r-lib/fs/issues/447.

* GHRSST now uses our own COGs.
Expand Down
1 change: 1 addition & 0 deletions R/srtm-files.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#' }
srtm_files <- function() {
pattern <- c("srtm.csi.cgiar.org", ".*\\.tif$", "srtm_5x5/TIFF/srtm")
.Defunct(msg = "srtm_files() now defunct, better to use standard sources like 'sds::cop30()' see gh:hypertidy/sds")
files <- .find_files_generic(pattern)
if (nrow(files) < 1)
stop("no smap files found")
Expand Down

0 comments on commit d9852ca

Please sign in to comment.