diff --git a/.Rbuildignore b/.Rbuildignore index 98316ccfd13a0286857a3ce70b87bc08517f8cb6..d79d3e82545358eb4f0d2d60205fabcd8eb6014a 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -9,11 +9,12 @@ ^inst/doc$ ^\.gitlab-ci\.yml$ ## unit tests should be ignored when building the package for CRAN -#^tests$ +^tests$ ^inst/PlotProfiling\.R$ ^.gitlab$ # Suggested by http://r-pkgs.had.co.nz/package.html ^.*\.Rproj$ # Automatically added by RStudio, ^\.Rproj\.user$ # used for temporary files. ^cran-comments\.md$ # Comments for CRAN submission +^CONTRIBUTING\.md$ #^NEWS\.md$ # A news file written in Markdown diff --git a/DESCRIPTION b/DESCRIPTION index 35bb1b9f57c6d28367f2e1ad3933cb76a66c3c9b..83303e670f70813e68b96ab62cff23e1b509bf75 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: startR Title: Automatically Retrieve Multidimensional Distributed Data Sets -Version: 2.4.0 +Version: 2.5.0 Authors@R: c( person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = c("aut")), person("An-Chi", "Ho", , "an.ho@bsc.es", role = c("aut"), comment = c(ORCID = "0000-0002-4182-5258")), @@ -33,6 +33,7 @@ Imports: s2dv, ClimProjDiags, PCICt, + stringr, methods Suggests: stats, diff --git a/NAMESPACE b/NAMESPACE index c6bca724ce7efa965d4ca5f203d9fceb2228300a..a0578085731917b06b9327dbf575eca03c9a3fa5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -23,6 +23,7 @@ import(easyNCDF) import(future) import(multiApply) import(parallel) +import(stringr) importFrom(ClimProjDiags,Subset) importFrom(methods,is) importFrom(s2dv,CDORemap) diff --git a/NEWS.md b/NEWS.md index ad8b0957497246722f2ac438f6720c4b18267ead..674a9365ec00b31c17b02851f7b5835c4cb0aa48 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,16 @@ +# startR v2.5.0 (Release date: 2025-04-23) +- Compute(): New `special_setup = 'nord4'`; update outdated examples to run on Nord4 +- Compute(): Add support for conda environments +-Compute(): Meaningful error message when trying to chunk along 'dat' +- Start(): Improve error message about dimensions not found in files +- Bugfix: Start() sometimes returns different latitudes for different variables +- Bugfix inByChunks(): Make 'autosubmit expid' command consistent with 'autosubmit create' and 'autosubmit run' +-Documentation: Correct Use Case 1.3: update file paths and Compute() instructions +- Documentation:Correct Use Cases 1.13 and 2.6: fix error in generation of sdate and time arrays +- Documentation: Update practical guide and use case examples to run on Nord4 +-Add CONTRIBUTING.Md file + + # startR v2.4.0 (Release date: 2024-09-10) - Allow chunking along inner dimensions that go across file dimensions - Allow more than one file dimension to be specified in "metadata_dims" diff --git a/R/ByChunks_autosubmit.R b/R/ByChunks_autosubmit.R index bf63878d861ab1c77f9f1f16073be9052d83cb34..10cb89994481bc075dd44adbe310e911ef6f9e9e 100644 --- a/R/ByChunks_autosubmit.R +++ b/R/ByChunks_autosubmit.R @@ -81,6 +81,7 @@ #' #ByChunks_autosubmit(step, data) #' #'@import multiApply +#'@import stringr #'@importFrom methods is #'@noRd ByChunks_autosubmit <- function(step_fun, cube_headers, ..., chunks = 'auto',