This function is not intended to be called directly, but rather is specified as a postprocess
option in bb_source
.
Usage
bb_oceandata_cleanup(...)
Arguments
- ...
: extra parameters passed automatically by bb_sync
Value
a list, with components status
(TRUE on success) and deleted_files
(character vector of paths of files that were deleted)
Details
This function will remove near-real-time (NRT) files from an oceandata collection that have been superseded by their non-NRT versions.