
Postprocessing: remove redundant Copernicus files
Source:R/copernicus_handler.R
bb_copernicus_cleanup.RdThis function is not intended to be called directly, but rather is specified as a postprocess option in bb_source.
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 files from a Copernicus collection that have been superseded by a more recently-processed version. You might see, for example, the file nrt_global_allsat_phy_l4_20250910_20250910.nc which is then superseded by nrt_global_allsat_phy_l4_20250910_20250913.nc at a later date.