Skip to content

Commit

Permalink
Merge pull request #63 from stineb/master
Browse files Browse the repository at this point in the history
speciying full name for search
  • Loading branch information
stineb authored Jun 26, 2024
2 parents 9a67b88 + 6e85130 commit 24998cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ingest_globalfields.R
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ ingest_globalfields <- function(

} else if (source == "etopo1"){

filename <- list.files(dir, pattern = ".tif")
filename <- list.files(dir, pattern = "ETOPO1_Bed_g_geotiff.tif")
if (length(filename) > 1) stop("ingest_globalfields(): Found more than 1 file for source 'etopo1'.")
if (length(filename) == 0) stop("ingest_globalfields(): Found no files for source 'etopo1' in the directory provided by argument 'dir'.")

Expand Down

0 comments on commit 24998cb

Please sign in to comment.