Functions that access Copernicus Marine raster files stored in the ZARR format generally require BLOSC decompression. This package uses the features provided by the GDAL library as ported by the sf package.
Not all sf builds come with BLOSC support. If you
receive a warning about missing BLOSC support, you need to reinstall
sf with BLOSC. Below you will find instructions to get
BLOSC support on your OS.
Windows
The tool chain for building R packages on Windows includes BLOSC support by default. You just need to install the latest version of sf from CRAN. If this doesn’t work, you can build sf from source with RTools >= 4.5.
MacOS
On MacOS you can build the sf package from source, but
ensure that you have the GDAL library installed first using the homebrew
formula (which contains BLOSC support)
install.packages("sf", type = "source", configure.args = "--with-proj-lib=$(brew --prefix)/lib/")