get_ice_mask function

Get the ice mask for a dataset.