Land mask
land_mask.RdThe function measures the distance between any location and to a coastline, using the package ‘distancetocoast’ and a high-resolution coastline from Natural Earth ("10"). Land and ocean location can be removed surpassing a specified distance in km. To avoid this function, apply very far (e.g '10000' km) or infinite ('Inf') distance.