Skip to content

Commit

Permalink
start picking up v03 ccmp which sort desc in preference to v02
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Dec 17, 2024
1 parent 65f625d commit 336ae3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
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.9012
Version: 0.1.4.9013
Authors@R: c(person("Michael D.","Sumner", role = c("aut", "cre"), email = "[email protected]"),
person("Ben", "Raymond", role = "ctb"),
person("Kimberlee", "Baldry", role = c("ctb"), comment = c(ORCID = "0000-0003-3286-8624")))
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

* Begin ccmp v03.

* Fix problematic old UTC flush (thanks Dale Maschette #33).

* Avoid oldformat in Copernicus altimetry files.
Expand Down
4 changes: 2 additions & 2 deletions R/ccmpwind-files.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ ccmp_6hourly_files <- function() {

## put all NRT last before distinct by date
files <- files[nrow(files):1, ]
files <- dplyr::arrange(dplyr::distinct(files, .data$date, .keep_all = TRUE), date) %>%
dplyr::select(.data$date, .data$fullname, .data$root)
files <- dplyr::arrange(dplyr::distinct(files, .data$date, .keep_all = TRUE), desc(fullname), date) %>%
dplyr::select(.data$date, .data$fullname, .data$root) |> dplyr::arrange(date)

files
}

0 comments on commit 336ae3a

Please sign in to comment.