diff --git a/DESCRIPTION b/DESCRIPTION index f23ef9d..af0c338 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: raadfiles Title: File Database Management for 'raadtools' -Version: 0.1.4.9008 +Version: 0.1.4.9009 Authors@R: c(person("Michael D.","Sumner", role = c("aut", "cre"), email = "michael.sumner@aad.gov.au"), person("Ben", "Raymond", role = "ctb"), person("Kimberlee", "Baldry", role = c("ctb"), comment = c(ORCID = "0000-0003-3286-8624"))) diff --git a/NAMESPACE b/NAMESPACE index 5a6fea8..e58374d 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -25,6 +25,7 @@ export(gebco08_files) export(gebco14_files) export(gebco19_files) export(gebco21_files) +export(gebco23_files) export(geoid_files) export(george_v_terre_adelie_1000m_files) export(george_v_terre_adelie_100m_files) @@ -33,6 +34,7 @@ export(george_v_terre_adelie_500m_files) export(get_raad_data_roots) export(get_raad_filenames) export(ghrsst_daily_files) +export(ghrsst_daily_files_netcdf) export(ibcso_background_files) export(ibcso_bed_files) export(ibcso_digital_chart_files) diff --git a/NEWS.md b/NEWS.md index a72c3bc..961b224 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # raadfiles dev +* New function `gebco23_files()` for our local copy. + * `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. diff --git a/R/topography-files.R b/R/topography-files.R index 8e12ec9..34c4dd6 100644 --- a/R/topography-files.R +++ b/R/topography-files.R @@ -14,9 +14,9 @@ topo_files_generic <- function(pattern, ...) { #' #' There's no single format, there are GeoTIFFs, ArcInfo binary, ERStorage, NetCDF, NetCDF GMT, (Geo) PDF, and some VRT #' wrappers for handling raw binary files. -#' + #' @section GEBCO General Bathymetric Chart of the Oceans: -#' Versions 2008, 2014, 2019, 2021. +#' Versions 2008, 2014, 2019, 2021, 2023. #' @section IBCSO International Bathymetric Chart of the Southern Ocean: #' 'is' ('is_PS71' tif, or grd), 'background_hq', 'bed' ('bed_PS71'), 'digital_chart', 'sid' ('sid_PS71') #' @section ETOPO: @@ -36,9 +36,19 @@ topo_files_generic <- function(pattern, ...) { #' #' @examples #' \dontrun{ -#' gebco21_files() +#' gebco23_files() #' } #' +gebco23_files <- function(all = FALSE, ...) { + ## there's no "all" + out <- topo_files_generic(c("gebco", "idea.public/gebco/gebco_2023_land_cog\\.tif")) + + out +} + +#' @name topography +#' @rdname topography-files +#' @export gebco21_files <- function(all = FALSE, ...) { if (all) { out <- topo_files_generic("www.bodc.ac.uk/.*gebco/gebco_2021.*") diff --git a/man/amsr_daily_files.Rd b/man/amsr_daily_files.Rd index e97e222..1e53018 100644 --- a/man/amsr_daily_files.Rd +++ b/man/amsr_daily_files.Rd @@ -7,7 +7,7 @@ \alias{amsr2_daily_files} \title{AMSR daily sea-ice concentration} \usage{ -amsr2_3k_daily_files() +amsr2_3k_daily_files(type = c("tif", "hdf")) amsre_daily_files() @@ -15,6 +15,9 @@ amsr2_daily_files() amsr_daily_files() } +\arguments{ +\item{type}{tif or hdf} +} \value{ tibble data frame of file names } diff --git a/man/topography-files.Rd b/man/topography-files.Rd index 08b9ac7..c9ede11 100644 --- a/man/topography-files.Rd +++ b/man/topography-files.Rd @@ -2,6 +2,7 @@ % Please edit documentation in R/topography-files.R \name{topography} \alias{topography} +\alias{gebco23_files} \alias{gebco21_files} \alias{gebco19_files} \alias{gebco14_files} @@ -31,6 +32,8 @@ \alias{macquarie100m_58S_files} \title{Topographic data files} \usage{ +gebco23_files(all = FALSE, ...) + gebco21_files(all = FALSE, ...) gebco19_files(all = FALSE, ...) @@ -106,7 +109,7 @@ wrappers for handling raw binary files. } \section{GEBCO General Bathymetric Chart of the Oceans}{ -Versions 2008, 2014, 2019, 2021. +Versions 2008, 2014, 2019, 2021, 2023. } \section{IBCSO International Bathymetric Chart of the Southern Ocean}{ @@ -136,7 +139,7 @@ George V Terre Adelie, Kerguelen, Macquarie 100m \examples{ \dontrun{ - gebco21_files() + gebco23_files() } }