Functions that access Copernicus
Marine raster files stored in the ZARR
format (cms_download_subset() and
cms_zarr_proxy()) 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 an error about missing BLOSC support, you need to reinstall
sf with BLOSC. Below you will find instructions to get
BLOSC support on your OS.
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.
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)
First run:
Then reinstall sf to make sure it compiles with BLOSC
support