View source: R/make_ice_mask.R
make_ice_mask | R Documentation |
Downscaling the ice mask presents some issues. The mask is a binary raster, so any standard downscaling approach will still look very blocky. We can smooth the contour by applying a Gaussian filter. How strong that filter should be is very much a matter of personal opinion, as we do not have any data to compare to. This function attempts to use as sensible default value, but it is worth exploring alternative values to find a good solution.
make_ice_mask(ice_mask_low_res, land_mask_high_res, d = c(0.5, 3))
ice_mask_low_res |
a |
land_mask_high_res |
a |
a terra::SpatRaster
of the ice mask (1's), with the rest of the
world (sea and land) as NA's
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.