Skip to contents

This function is not intended to be called directly, but rather is specified as a postprocess option in bb_source.

Usage

bb_copernicus_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 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.